label {
    margin-bottom: 0px;
}
.panel-body {
    background-color: white;
}
.el-form {
    padding-top: 20px;
}

.flex-box {
    display: flex;
}

.flex-vertical-center {
    justify-content: center;
    align-items: center;
}

.el-row:last-child {
    margin-bottom: 0;
}
.pay-type-box {
    margin-top: 10px;
}
.pay-type-box > .el-tag {
    margin-bottom: 5px;
}

/*弹框样式*/
.dialog-content-box {
    display: flex;
    flex-direction: column;
    padding: 15px;
    box-sizing: content-box;
    font-size: 14px;
    line-height: 2;
    min-height: 300px;
    max-height: 500px;
    overflow-y: auto;
}

.dialog-content-title {
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 16px;
}

.dialog-content-boby {
    margin: 15px 0;
}

.dialog-footer {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}
#commonWarningVue .el-dialog__wrapper .el-dialog__footer,
#commonWarningVue .el-dialog__wrapper .el-dialog__header,
.el-dialog__wrapper .component-resultdata-dialog-box .el-dialog__footer,
.el-dialog__wrapper .component-resultdata-dialog-box .el-dialog__header,
#deleteUnitWarning .el-dialog__wrapper .el-dialog__footer,
#deleteUnitWarning .el-dialog__wrapper .el-dialog__header {
    border-top: none;
    border-bottom: none;
}
.flex-row-reverse {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}

.flex-column-reverse {
    display: flex;
    flex-direction: row-reverse;
}

.flex-column-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.el-form-item label {
    font-weight: normal;
}

.el-date-editor .el-range-separator {
    padding: 0;
}

.qrcode-size {
    width: 250px;
    height: 250px;
}

.el-table thead {
    color: #2c3f50 !important;
}

.text-indent-2 {
    text-indent:2em
}

.single-line {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
/*微生活优惠券样式*/
.couponsdialog {
    height: 580px;
    border-radius: 10px!important;
}
.width-300 .el-input__inner{
    width: 300px;
}
.coupon-dialog-content {
    height: 330px;
}
.coupons-list {
    margin: 20px 0;
    height: 330px;
    overflow-y: auto;
}
.coupons-list:after {
    content: '';
    display: block;
    clear: both;
}
.coupons-list .item-coupon {
    width: 200px;
    box-sizing: border-box;
    margin-right: 20px;
    margin-bottom: 20px;
    cursor: pointer;
    float: left;
    overflow: hidden;
}

.coupons-list .item-coupon .coupon {
    position: relative;
    width: 180px;
    height: 90px;
    float: left;
    border-style: solid dashed solid solid;
    border-color: #DCDFE6;
    border-width: 1px;
    padding: 15px 20px;
}
.coupons-list .item-coupon .coupon .coupon-name {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 16px;
    padding: 0;
    margin: 0;
}
.icon-position {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-color:  transparent #20d120;
    border-width: 0 0 35px 30px ;
    z-index: 1;
}

.coupons-list .item-coupon i {
    font-size: 18px;
    color: #fff;
    font-weight: bold;
    position: absolute;
    top: 2px;
    left: 1px;
    z-index: 2;
}
.no-coupon {
    text-align: center;
    margin: 20px 0;
    padding: 60px 0;
}
.coupons-list .item-coupon .coupon-style {
    float: left;
    width: 20px;
    height: 90px;
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: solid;
    border-color: #DCDFE6;
    border-width: 1px;
    position: relative;
}
.coupons-list .item-coupon .coupon-style:before {
    content: '';
    display: block;
    position: absolute;
    left: -7px;
    top: -6px;
    width: 14px;
    height: 10px;
    background-color: #fff;
    z-index: 2;
    border: 1px solid #DCDFE6;
    border-radius: 50%;
}
.coupons-list .item-coupon .coupon-style:after {
    content: '';
    display: block;
    position: absolute;
    left: -7px;
    bottom: -6px;
    width: 14px;
    height: 10px;
    background-color: #fff;
    z-index: 2;
    border: 1px solid #DCDFE6;
    border-radius: 50%;
}
.cash-coupon-content {
    margin-top: 60px;
}

/*针对Mac 自动隐藏滚动条问题处理*/
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    transition: all 1s;
    background-color: lightgrey;
    border: 2px solid transparent;
    background-clip: padding-box;
    -webkit-background-clip: padding-box;
}
::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 11px;
    height: 11px;
}
::-webkit-scrollbar-thumb:hover {
    background-color: lightgrey !important;
}
::-webkit-scrollbar:hover {
    width: 11px;
    height: 11px;
}

.group-order-line {
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgb(232, 234, 238);
}

.group-order-line:hover {
    cursor: pointer;
}

.group-line-left {
    flex-shrink: 0;
    margin-left: 20px;
}

.group-line-auto {
    flex: 1;
    margin-left: 20px;
}

.group-line-right {
    flex-shrink: 0;
    margin-left: 20px;
    margin-right: 20px;
}

.right-btn {
    float: right;
    color: #0079ff;
    cursor: pointer;
    font-size: 14px;
}

.right-btn:hover {
    color: #4096ff;
}

/*拖拽排序样式*/
tr.group-row-class-name>td {
    background-color: #fff !important;
}
tr.group-row-class-name:hover>td{
    background-color: #fff !important;
}
tr.sortable-chosen.sortable-ghost>td {
    background-color: #F5F7FA !important;
}

div.sortable-chosen.sortable-ghost {
    background-color: #F5F7FA !important;
}

/*大屏共用样式*/
.label-title-box {
    font-weight: 500;
    font-size: 14px;
    height: 30px;
    display: flex;
    align-items: center;
    color: #333333;
}

.label-title-top {
    margin-top: 10px;
}

.color-select-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 15px 0;
    border-bottom: 1px solid #DBDBDB;
}

.color-select-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 10px;
}

.color-select-box .color-box {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.color-box:hover {
    cursor: pointer;
}

.color-box-disable:hover {
    cursor: not-allowed;
}

.color-select-box span {
    margin-top: 7px;
    font-size: 12px;
    color: #333333;
}

.color-selected-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: white;
}

.color-selected-box > img {
    width: 17px;
    height: 15px;
}

.color-box-border {
    border: 1px solid #d5d5d5;
}
.select-color-input {
    position: relative;
    z-index: -10;
    top: -50px;
}
.select-color-input2 {
    position: relative;
    top: 16px;
    z-index: -10;
}

/*批量操作按钮样式*/
.batch-btns-box {
    position: relative;
}
.batch-btns-box:hover .batch-btns{
    display: block;
}
.batch-btns-box .batch-btns {
    position: absolute;
    top: 34px;
    left: 0;
    right: 0;
    z-index: 2;
    border: 1px solid #ccc;
    padding: 10px 0;
    text-align: center;
    background-color: #fff;
    display: none;
    z-index: 11;
}
.batch-btns-box .batch-btns button {
    margin-bottom: 5px;
    width: 82px;
    padding: 6px 0;
    box-sizing: border-box;
    text-align: center;
}
.batch-btns-box button {
    margin-left: 0;
}

/*常用字号样式*/
.f14 {
    font-size: 14px;
}
.f15 {
    font-size: 15px;
}
.f16 {
    font-size: 16px;
}
.f18 {
    font-size: 18px;
}
.f20 {
    font-size: 20px;
}
/*弹框字体样式统一调整*/
.el-dialog__title {
    font-size: 16px;
}
/*弹框居中对齐*/
.el-dialog__wrapper .component-resultdata-dialog-box {
    margin-top: 0;
    top: 50vh;
    transform: translateY(-50%);
}
.dp-qrcode-container {
    position: absolute; right: 100px;bottom: 10px; color: white;display: flex; flex-direction: column; align-items: center
}
.dp-qrcode-box {
    width: 85px;
    height: 85px;
    border-radius: 5px;
    padding: 5px;
    background-color: white;
}

.dishes-performance-bg {
    width: 100vw;
    height: 100vh;

    background-size: cover; /* Ensures the image covers the element without stretching */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    position: relative; /* Required for the overlay */

    /* Create a pseudo-element for the overlay */
    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.4); /* Black with 40% opacity */
        pointer-events: none; /* Ensures the overlay doesn't interfere with interactions */
    }
}