@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");
/* v-cloak 必須搭配這條規則才會生效：在 Vue 掛載完成前，隱藏尚未編譯的 {{ }} 樣板與畫面閃爍 */
[v-cloak] {
    display: none !important;
}
:root {
    --p-main-color: #2b559d;
    --p-dark-color: #000;
    --p-second-color: #007bff;
    --p-focus-color: #f091a0;
    --p-red-color: #e6002d;
    --p-danger-color: #ea5455;
    --p-warning-color: #ff9f43;
    --p-gray-color: #b0b8c4;
    --p-text-color: #222;
    --p-light-gray: #dedbd8;
    --p-line-color: #e8e8e8;
    --primary: #005745;
}
.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 300,
  'GRAD' 0,
  'opsz' 28
}
.color-red, .error{
    color: var(--p-red-color) !important;
}
.color-blue{
    color: #008fcc !important;
}
.color-green{
    color: #005745 !important;
}
.color-light-green{
    color: #8fc31f !important;
}
.color-focus, .focus-color{
    color: var(--p-focus-color) !important;
}
.color-gray{
    color: #777 !important;
}
.main-color, .text-primary,
a.text-primary:hover, a.text-primary:focus {
    color: var(--p-main-color) !important;
}
.second-color{
    color: var(--p-second-color) !important;
}
.warning-color{
    color: var(--p-warning-color) !important;
}
.bg-light-focus{
    background-color: rgb(240 145 160 / 70%);
}
.bg-light-gray{
    background-color: rgb(179 174 169 / 50%);
}
.bg-light-secondary{
    background-color: #85cbbf !important;
    color: #fff !important;
}
.tips {
    color: #222;
    cursor:pointer;
}
.font-md{
    font-size: 1.4rem !important;
}
.img-xs {
    width: 40px;
    min-width: 40px;
}
.img-sm {
    width: 80px;
    min-width: 80px;
}
.img-md {
    width: 100px;
    min-width: 100px;
}
.img-lg{
    width: 200px;
    min-width: 200px;
}
.img-xl{
    width: 350px;
    min-width: 350px;
}
img {
    max-width: 100%;
}
.mb-6, .my-6 {
    margin-bottom: 5rem !important;
}
.header-navbar .navbar-nav .nav-item {
    margin: 0 5px;
}
.header-navbar .navbar-nav.bookmark-icons{
    display: none;
}
.header-navbar .navbar-nav .nav-item .cart-item-count {
    background-color: #f2a0a8;
}
.feather, [data-feather] {
    height: 1.2rem;
    width: 1.2rem;
}
hr{
    border: 1px solid #ced4da;
}
.avatar i {
    width: 30px;
    height: 30px;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
}
.avatar i::before {
    font-size: 17px !important;
    height: auto !important;
}
.navbar-light{
    background-color: #fff;
    box-shadow: 0 0 15px 0 rgba(34, 41, 47, 0.05);
}
.navbar-container {
    display: flex;
    flex: 1;
    justify-content: space-between;
    padding-left: 1rem;
    padding-right: 1rem;
}

.header-navbar ul.navbar-nav li a.dropdown-user-link .user-nav {
    margin-left: 0.5rem;
    margin-right: 0;
    color: var(--p-main-color);
}
.header-navbar.navbar-dark ul.navbar-nav li a.dropdown-user-link .user-nav {
    color: #fff;
}
.header-navbar[class*='bg-'] .navbar-nav .nav-item > a span.avatar{
    background-color: #fff;
}
.header-navbar[class*='bg-'] .navbar-nav .nav-item > a span.avatar i{
    color: var(--p-main-color) !important;
}
.header-navbar ul.navbar-nav li a.menu-toggle i{
    font-size: 28px;
}
.navbar-floating .content-header .content-header-title {
    color: #fff;
    font-size: 24px;
    line-height: 1;
}
@media (max-width: 479px){
    .navbar-floating .content-header .content-header-title {
        font-size: 21px;
    }
    .header-navbar .navbar-container {
    padding: 0.5rem 1rem;
}
}

.scroll-y::-webkit-scrollbar-track,
.modal-body .card.right-card::-webkit-scrollbar-track,
.customizer .customizer-content .customizer-body::-webkit-scrollbar-track {
    border-radius: 6px;
    background-color: #f5f5f5;
}
.scroll-y::-webkit-scrollbar,
.modal-body .card.right-card::-webkit-scrollbar,
.customizer .customizer-content .customizer-body::-webkit-scrollbar {
    width: 6px;
    background-color: #F5F5F5;
}
.scroll-y::-webkit-scrollbar-thumb,
.modal-body .card.right-card::-webkit-scrollbar-thumb,
.customizer .customizer-content .customizer-body::-webkit-scrollbar-thumb {
    background-color: #999;
    border-radius: 6px;
}

.right-card .form-action, .modal-footer .form-action, .customizer-footer .form-action{
    justify-content: space-around;
    display: flex;
    margin: 1rem 0 0 0;
    width: 100%;
}
.right-card .form-action .btn, .modal-footer .form-action .btn{
    min-height: 85px;
    width: 49%;
    min-width: auto;
    align-items: center;
    font-size: 17px;
    font-weight: bold;
}
.right-card .form-action .btn.btn-action, .modal-footer .form-action .btn.btn-action{
    width: 80%;
}

/** Dashboard **/
.dashboard .card-body {
    flex: initial;
}
.dashboard .orders-setting > div {
    /* justify-content: space-between; */
    font-size: 15px;
}
.dashboard .orders-setting strong {
    font-size: 17px;
}
.dashboard .orders-setting .form-control {
    font-size: 17px;
    width: 55px;
}
.dashboard .card .card-header {
    align-items: flex-start;
}
@media (max-width: 1366px){
    .dashboard > .row {
        margin-right: -0.5rem;
        margin-left: -0.5rem;
    }
    .dashboard > .row > div{
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }
    .dashboard > .row > div > .card {
        margin-bottom: 1rem;
    }
}

.data-items {
    display: flex;
    flex-flow: row wrap;
    margin: 0 -0.5rem;
}
.data-item {
    text-align: center;
    width: calc(25% - 0.5rem);
    margin: 0 0.25rem;
}
.data-item.today {
    padding: 1rem;
    width: calc(50% - 1rem);
    border-radius: 0.428rem;
    position: relative;
    background-color: #f4f4f4;
}
.data-item.today .img-right,
.data-item.today .img-left  {
    width: 130px;
    position: absolute;
    top: 0;
    right: 0;
}
.data-item.today .img-left {
    left: 0;
    right: auto;
}
.data-item{
    border: 1px solid #ddd;
    display: block;
    padding: 1rem;
    color: #000;
    border-radius: 0.428rem;
}
.data-item .avatar {
    background-color: var(--p-second-color);
    margin-bottom: 0.25rem;
    padding: 0.5rem;
}
.data-item .avatar i::before {
    font-size: 25px !important;
}
.data-item .avatar i.fa-coffee::before {
    font-size: 21px !important;
}
.data-item small{
    font-size: 14px;
}
.data-item.color1 .avatar {
    background-color: #0dcaf0;
}

.data-item.color2 .avatar {
    background-color: #3841b0;
}

.data-item.color3 .avatar {
    background-color: #8fc31f;
}

.data-item.color4 .avatar {
    background-color: #127032;
}

.data-item.color5 .avatar {
    background-color: #169442;
}
.data-item.color5 a:hover{
    border-color: #169442;
}
.data-item.color6 .avatar {
    background-color: #85cbbf;
}
.data-item.color6 a:hover{
    border-color: #85cbbf;
}

.data-item .avatar .avatar-content {
    width: 40px;
    height: 40px;
}
.dataTables_length {
    display: flex;
    align-items: center;
}
ul.closed-item {
    padding: 0;
    margin: 0 -0.5rem;
    list-style: none;
    display: flex;
    flex-flow: row wrap;
}
ul.closed-item li{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: calc(50% - 1rem);
    margin: 0.5rem;
    border: 1px solid var(--p-second-color);
    border-radius: 0.428rem;
    padding: 0.5rem;
}
ul.closed-item li strong{
    color: var(--p-second-color);
    font-size: 16px;
}
ul.closed-item li small{
    display: block;
    color: #000;
}
ul.closed-item li .custom-switch {
    width: 3rem;
}
ul.closed-item .setting-time {
    margin: 0.25rem 0 0 0;
    color: var(--p-focus-color);
    font-size: 13px;
}


@media (max-width: 992px){
    .data-item.today {
        width: calc(100% - 1rem);
    }
}
@media (max-width: 767px){
    .data-item {
        width: calc(50% - 0.5rem);
        margin-bottom: 0.5rem;
    }

}


.custom-switch {
    padding-left: 0 !important;
    line-height: 1.7rem;
    min-height: 1.7rem;
    /* width: 3rem; */
}
.form-check-input, .form-check-label{
    cursor: pointer;
}
.form-check-input {
    width: 1.25em;
    height: 1.25em;
    margin-top: 0;
}
.form-check-inline {
    white-space: nowrap;
}
.d-flex .form-check-label {
    margin-left: 0.25em;
}
.form-check-input:checked {
    background-color: var(--p-main-color);
    border-color: var(--p-main-color);
}
.form-switch .form-check-input {
    width: 2.5em;
    height: 1.25em;
}

.admin-posts .media {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #edeceb;
    padding: 1rem 0;
}
.admin-posts .media h6{
    font-weight: bold;
}


/** Dashboard-admin **/

.dashboard-admin .data-item {
    width: auto;
    margin: 0;
}
.dashboard-admin .data-item .avatar .avatar-content {
    width: 30px;
    height: 30px;
}
.dashboard-admin.data-item .avatar i::before {
    font-size: 19px !important;
}
.dashboard-admin .data-item strong {
    white-space: nowrap;
    font-size: 21px;
    display: block;
}
.dashboard-admin .data-card {
    border-top: 1px solid #efeeed;
}

.dashboard-admin .data-card .card-body.all-area {
    display: flex;
    justify-content: space-around;
}

.dashboard-admin .data-card .card-body + .card-body {
    padding-top: 0;
    padding-bottom: 1rem;
}
 ul.center-list {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    left: 0;
    top: 0;
}
ul.center-list i {
    display: inline-block;
    width: 25px;
    text-align: center;
}
.dashboard-admin .card .card-title, .dashboard-admin .card .card-title span{
    display: block;
}
.dashboard-admin .card .card-title{
    min-height: 35px;
    font-size: 1.35rem;
}

@media (max-width: 767px){
.dashboard-admin .data-item strong{
   font-size: 19px !important;
}
}

.bookmark-icons i{
    font-size: 1.4rem;
    height: 1.4rem;
    width: 1.4rem;
}
.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    min-height: 48px;
    gap: 4px;
}
.content-header span[class*="material-symbols"] {
    color: #b0b8c4;
    font-size: 30px;
}
.breadcrumb-wrapper {
    position: fixed;
    top: 23px;
    left: 320px;
    z-index: 999;
    padding-left: 1rem;
    border-left: 1px solid #ccc;
}
.breadcrumb{
    margin-bottom: 0;
}
.breadcrumb .breadcrumb-item a{
    color: var(--p-main-color);
}
.breadcrumb .breadcrumb-item i{
    font-size: 17px;
}
.breadcrumb .breadcrumb-item.active{
    color: #777;
}
/* .breadcrumb .breadcrumb-item a{
    color: #333;
} */
@media (max-width: 992px) {
    .breadcrumb-wrapper {
        position: initial;
        border: 0;
        padding: 0;
        margin-bottom: 0.5rem;
    }
}
.form-block {
    position: relative;
    overflow: hidden;
    padding: 2rem 5rem 1rem 2rem;
    border: 1px solid rgb(0 164 141 / 30%);
    margin: auto;
    margin-bottom: 1rem;
    width: 920px;
    max-width: 100%;
    overflow: initial;
}
.form-block .btn-delete {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
    padding: 1rem;
    border-radius: 0;
    min-width: auto;
}
.form-block .btn-delete i{
    font-size: 19px;
}
.form-block.package {
    width: 100%;
    padding: 2rem 2rem 1rem 2rem;
    border: 1px solid var(--p-gray-color);
}
.package-title {
    background-color: var(--p-gray-color);
    color: #fff;
    padding: 0.5rem 1rem;
    margin-bottom: 0;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.package-title .status {
    background-color: #fff;
    color: var(--p-focus-color);
    padding: 3px 7px;
    border-radius: 3px;
    font-size: 15px;
    position: relative;
}
.package-title .status::before {
    content: '';
    display: block;
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: -10px;
    margin-left: -5px;
    border: 5px solid transparent;
    width: 5px;
    height: 5px;
    border-top-color: #fff;
}
.form-group {
    position: relative;
    align-items: baseline;
    margin-bottom: 1rem;
}
.card-view .form-group {
    margin-bottom: 0;
}
.form-group > .controls{
    height: fit-content;
    font-size: 16px;
}
.form-group > .controls .action-group{
   display: flex;
   flex-flow: row wrap;
}
.form-group > .controls .action-group .btn{
    margin-left: 0 !important;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
 }
.form-group > .col-form-label, .form-group > label{
    font-size: 16px;
    white-space: nowrap;
    margin-bottom: 0;
}
.form-group > .col-form-label i, 
.card .card-header .card-title i{
    font-size: 16px;
    color: #c5c3cc;
}
.form-group > .col-form-label i.tips{
    color: #222;
}
.form-floating>.form-control .tagify__input {
    margin: 2px;
}
.form-floating>.form-control:focus~label, .form-floating>.form-control:not(:placeholder-shown)~label, .form-floating>.form-select~label {
    opacity: 1;
    padding: 0 4px;
    top: -4px;
    left: 6px;
    height: auto;
    background: #fff;
    transform: scale(.9) translateY(-.5rem) translateX(.15rem);
}
.form-floating.form-tag .tagify__tag{
    margin: 0;
    font-size: 12px;
}
.form-floating.form-tag .tagify.form-control {
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 0;
    height: auto;
}
.form-floating>.form-control:focus, .form-floating>.form-control:not(:placeholder-shown),.form-floating>.form-select {
    padding-top: .625rem;
    padding-bottom: .625rem;
}
.form-floating>.form-select {
    padding-right: 2.25rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23212529' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-position: right .75rem center;
    background-size: 18px 14px;
    background-repeat: no-repeat;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
/* label ��鞱身銝齿筑韏� */
/* .form-floating.form-tag .form-control:placeholder-shown:not(:focus) ~ label {
    transform: none;
    opacity: 1;
    top: 16px;
    left: 4px;
} */

/* placeholder ��鞱身銝漤＊蝷� */
.form-floating.form-tag .form-control::placeholder {
  color: transparent;
  transition: color 0.2s;
}

/* �𡁶�行� placeholder ��滚枂�𣶹 */
.form-floating.form-tag .form-control:focus::placeholder {
  color: #6c757d; /* Bootstrap 甈∟�����𡑒𠧧 */
}

.multiselect-floating .multiselect {
    min-height: calc(3.5rem + 2px);
    position: relative;
}

.multiselect-floating .multiselect__tags {
    display: flex;
    align-items: center;
    position: relative;
    min-height: calc(3.5rem + 2px);
    height: calc(3.5rem + 2px);
    padding: 1rem 40px .5rem .75rem;
    border: 1px solid #d8d6de;
    border-radius: .357rem;
    overflow: hidden;
    flex-wrap: nowrap;
}

.multiselect-floating .multiselect__tags-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    scrollbar-width: none;
    white-space: nowrap;
}

.multiselect-floating .multiselect__tags-wrap::-webkit-scrollbar {
    display: none;
}

.multiselect-floating .multiselect__tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin: 0;
    padding: 5px 24px 5px 8px;
    border-radius: .25rem;
    background: #dcecff;
    color: var(--p-main-color);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.25;
}

.multiselect-floating .multiselect__tag span {
    white-space: nowrap;
}

.multiselect-floating .multiselect__tag-icon {
    line-height: 26px;
}

.multiselect-floating .multiselect__tag-icon::after {
    color: var(--p-main-color);
}

.multiselect-floating .multiselect__tag-icon:focus,
.multiselect-floating .multiselect__tag-icon:hover {
    background: #cae2ff;
}

.multiselect-floating .multiselect:not(.multiselect--active) .multiselect__tag:nth-of-type(3) {
    position: relative;
    max-width: 42px;
    overflow: hidden;
    padding-right: 8px;
    opacity: .75;
}

.multiselect-floating .multiselect:not(.multiselect--active) .multiselect__tag:nth-of-type(3)::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 24px;
    background: linear-gradient(90deg, rgba(233, 246, 239, 0), #ffffff 70%);
}

.multiselect-floating .multiselect:not(.multiselect--active) .multiselect__tag:nth-of-type(3) .multiselect__tag-icon {
    display: none;
}

.multiselect-floating .multiselect:not(.multiselect--active) .multiselect__tag:nth-of-type(n+4) {
    display: none;
}

.multiselect-floating .multiselect--active {
    z-index: 4;
}

.multiselect-floating .multiselect--active .multiselect__tags {
    align-items: flex-start;
    height: auto;
    min-height: calc(3.5rem + 2px);
    overflow: visible;
    padding-bottom: .625rem;
}

.multiselect-floating .multiselect--active .multiselect__tags-wrap {
    flex-wrap: wrap;
    height: auto;
    overflow: visible;
    padding-top: 2px;
    white-space: normal;
}

.multiselect-floating .multiselect__select {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    height: calc(3.5rem + 2px);
    width: 2.25rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23212529' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-position: right .75rem center;
    background-size: 18px 14px;
    background-repeat: no-repeat;
    pointer-events: none;
    transform: none;
    transition: none;
}

.multiselect-floating .multiselect--active .multiselect__select {
    transform: none;
}

.multiselect-floating .multiselect__select::before {
    display: none;
}

.multiselect-floating .multiselect__placeholder {
    margin: 0;
    padding: 0;
}

.multiselect-floating .multiselect__input {
    width: 0px !important;
}

.multiselect-floating .multiselect--active .multiselect__tags {
    border-color: var(--p-main-color);
    box-shadow: none;
}

.multiselect-floating .multiselect__option--selected {
    background: #f2f4f7;
    color: var(--p-main-color);
    font-weight: 600;
}

.multiselect-floating .multiselect__option--highlight,
.multiselect-floating .multiselect__option--selected.multiselect__option--highlight {
    background: var(--p-main-color);
    color: #fff;
}

.multiselect-floating .multiselect__option--highlight::after,
.multiselect-floating .multiselect__option--selected.multiselect__option--highlight::after {
    background: var(--p-main-color);
    color: #fff;
}

.form-floating.multiselect-floating>label {
    opacity: 1;
    padding: 0 4px;
    top: -4px;
    left: 6px;
    height: auto;
    background: #fff;
    transform: scale(.9) translateY(-.5rem) translateX(.15rem);
    z-index: 99;
}

@media (max-width: 991.98px) {
    .multiselect-floating .multiselect__tags {
        align-items: flex-start;
        height: auto;
        overflow: visible;
        padding-bottom: .625rem;
    }

    .multiselect-floating .multiselect__tags-wrap {
        flex-wrap: wrap;
        height: auto;
        overflow: visible;
        padding-top: 2px;
        white-space: normal;
    }

    .multiselect-floating .multiselect:not(.multiselect--active) .multiselect__tag:nth-of-type(3) {
        max-width: none;
        overflow: visible;
        padding-right: 24px;
        opacity: 1;
    }

    .multiselect-floating .multiselect:not(.multiselect--active) .multiselect__tag:nth-of-type(3)::after {
        display: none;
    }

    .multiselect-floating .multiselect:not(.multiselect--active) .multiselect__tag:nth-of-type(3) .multiselect__tag-icon {
        display: block;
    }

    .multiselect-floating .multiselect:not(.multiselect--active) .multiselect__tag:nth-of-type(n+4) {
        display: inline-flex;
    }
}

.controls > .invalid-tooltip, .row > div > .invalid-tooltip{
    left: 1rem;
}
.invalid-tooltip::before {
    content: '';
    display: block;
    position: absolute;
    z-index: 1;
    top: -10px;
    left: 50%;
    margin-left: -3px;
    border: 5px solid transparent;
    width: 5px;
    height: 5px;
    border-bottom-color: var(--p-red-color);
}
.is-invalid~.invalid-feedback{
    text-align: left;
}
#captcha{
    margin-bottom: 1rem;
}
#captcha + .invalid-tooltip {
    left: 50%;
    margin-left: -175px;
    z-index: 2;
}
button.btn + .invalid-tooltip {
    position: inherit;
    top: 5px;
    left: 0;
    width: fit-content;
}
.text-center button.btn + .invalid-tooltip {
    margin: auto;
    position: relative;
}
.form label .required{
    color: var(--p-red-color);
    margin-left: 5px;
}
.form-group > .controls .value, td .value, .auth-login-form .form-group .value, .value-list .value {
    font-size: 17px;
    color: #223d86;
    display: inline-flex;
    padding: 0.5rem 0;
    /* align-content: center; */
    align-items: center;
}
.form-group > .controls .value small{
    color: #666;
}
td .value  {
    padding: 0.438rem 0;
}
.form-group > .controls ul.value,
.search-criteria,
.record-list  {
    list-style: none;
    padding: 0 !important;
    margin: 0;
}
.form-group > .controls ul.value li,
.search-criteria li,
.record-list li{
    margin-bottom: 0.25rem;
}
.form-group > .controls ul.value li span{
    margin-right: 0.25rem;
}
.search-criteria {
    display: flex;
    flex-flow: row wrap;
    font-size: 15px;
    color: var(--p-second-color);
}
.search-criteria li {
    margin-right: 1rem;
}
.search-criteria li span{
    color: #333;
}
.record-list {
    display: flex;
    flex-flow: column;
    font-size: 16px;
}
.form-group > .controls .third-party{
    margin-top: 0.5rem;
}
.form-group > .controls .third-party > div{
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}
.form-group > .controls .third-party .value{
    padding: 0;
    width: 90px;
}
.form .divider {
    margin-top: 0;}
.form .divider .divider-text h5{
    font-size: 1.3rem;
    padding: 0 1rem;
}
.form-group .controls .input-group-text {
    font-size: 0.9rem;
    background-color: #f7f7f7;
    min-width: 50px;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    height: 100%;
}
.text-counter-value {
    padding: 5px;
    font-size: 0.9rem;
}
.form-group .controls .input-group-text small, .text-counter-value small{
    margin-right: 0.25rem;
    color: var(--p-focus-color);
    font-size: 100%;
}
.form-group .controls .custom-control{
    margin: 0.25rem 0;
    padding: 0.25rem 0.5rem 0.25rem 2rem;
}
.form-group .controls .custom-control.modify{
    background-color: #ffe1e6;
}
.form-group .controls .custom-control.modify .custom-control-label::before{
    left: 0.25rem !important;
}
.custom-checkbox.modify .custom-control-input:checked ~ .custom-control-label::after {
    left: 0.15rem;
}
.form-group .controls .custom-control.d-flex {
    align-items: center;
    justify-content: flex-start;
    flex: 1;
}
.form-group .controls .custom-control.d-flex .custom-control-label{
    width: auto;
    margin-right: 0.5rem;
}
.form-group .controls .custom-control.d-flex .custom-control-label::before {
    top: 14px;
}
.form-group .controls .custom-control.d-flex .invalid-tooltip {
    right: 0.5rem;
    left: auto;
}

.form-group .controls .control-group {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    /* margin-right: 0.5rem; */
    white-space: nowrap;
    flex-flow: row wrap;
}
.form-group .controls .control-group.form-check-group {
    align-items: center;
}

.form-group .controls .control-group.row {
    --bs-gutter-x: 0.5rem;
}
.form-group .controls .control-group.row-wrap {
    flex-flow: row wrap;
}
.form-group .controls .control-group.flex-row{
    flex-flow: row;
}
.form-group .controls .control-group .form-control + .form-control{
    margin-left: 0.25rem;
}
.form-group .controls .control-group .input-group {
    margin-right: 0.25rem;
}
.form-group .controls .control-group.short-group{
    width: fit-content;
}
.form-group .controls .control-group.short-group .input-group {
    width: 160px;
    margin-left: 0.5rem;
    margin-right: 0;
}
.form-group .controls .control-group.short-group .input-group.date-group {
    width: 335px;
}
.form-group .controls .control-group.short-group .invalid-tooltip{
    left: auto;
    right: 80px;
}
.form-group .controls .control-group.short-group .date-group + .invalid-tooltip{
    left: 105px;
    right: auto;
}
.short-group{
    position: relative;
}
.form-group .controls .control-group.list-city {
    width: 450px;
    max-width: 100%;
}
.form-group .controls .control-group.list-city > div{
    width: 50%;
}
@media (max-width: 767px) {
    .form-group .controls .control-group.short-group .input-group.date-group {
        width: 225px;
    } 
    .form-group .controls .short-group .date-group .input-group-text {
        min-width: 30px;
    }
}
@media (max-width: 479px) {
    .form-group .controls .control-group.short-group .input-group.date-group {
        width: 250px;
    } 
    .form-group .controls .short-group .date-group .input-group-text {
        min-width: 15px;
    }
    .form-group .controls .short-group .date-group .input-group-text i{
        display: none;
    }
    
}
@media (max-width: 379px) {
    .form-group .controls .control-group.short-group .input-group.date-group {
        width: 220px;
    }   
}
@media (max-width: 320px) {
    
    .form-group .controls .control-group.short-group .input-group.date-group {
        width: 180px;
    }
    .form-group .controls .short-group .date-group .form-control {
        font-size: 15px;
    }
}

.form-group .controls .control-group + .control-group, .form-group .controls .control-group + .form-control{
    margin-top: 0.5rem;
}
.form-group .controls .control-group .btn, table.inputTable .btn {
    /* margin-left: 0.25rem; */
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3rem;
}
.form-group .controls .control-group.spec .form-control {
    margin-right: 0.25rem;
    margin-left: 0;
}
.form-group .controls .control-group.spec > div{
    position: relative;
    margin-right: 0.25rem;
}
.form-group .controls .control-group.spec > div .invalid-tooltip {
    position: absolute;
    left: 0;
    top: 45px;
    bottom: auto;
}
.Multiselect-group{
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    height: 200px;
}
.Multiselect-group select {
    margin-left: -1px;
    border-radius: 0;
}
.Multiselect-group select:first-child {
    border-radius: 0.357rem 0 0 0.357rem;
}
.Multiselect-group select:last-child {
    border-radius: 0 0.357rem 0.357rem 0;
}
.Multiselect-group select option:checked {
    background-color: var(--p-main-color) !important;
    color: #fff !important;
}

.form-group > .controls .form-txt, .card-body .form-txt {
    margin: 10px 0;
    font-size: 15px;
    color: #777;
}
.form-group > .controls .form-txt.red{
    color: var(--p-focus-color);
}
.form-group > .controls ul.form-txt{
    padding-left: 20px;
}
.dropzone {
    min-height: 200px;
    border: 2px dashed #ccc;
    border-radius: 0.357rem;
}

.dropzone .dz-message {
    font-size: 1.1rem;
    color: var(--p-second-color);
    flex-direction: column;
}
.dropzone .dz-message:before {
    display: none;
}
.dropzone .dz-message > svg, .dropzone .dz-message i {
    font-size: 30px;
    top: 1rem;
    width: 30px;
    height: 30px;
    color: var(--p-second-color);
    position: initial;
}
.form-control{
    font-size: 16px;
    height: 3rem;
    min-width: 80px;
}

.form-control.select2-hidden-accessible,
.select2-search__field {
    height: 3rem !important;
}
.select2-container--bootstrap-5 .select2-selection{
    min-height: 3rem;
}
.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
    background-color: var(--bs-gray-200);
    border: 0;
}
.select2-container--bootstrap-5 .select2-selection--multiple .select2-search .select2-search__field {
    margin-top: 5px;
}
.flatpickr-input[readonly]{
    background-color: #fff;      
}
.form-control::placeholder {
    color: #8a8d90;
    opacity: 1;
}
input::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
}
.form-control.control-inline {
    width: auto;
    display: inline-block;
}
.form-control.control-sm {
    width: 150px;
}
select.form-control.control-inline {
    background-position: calc(100% - 3px) 10px, calc(100% - 20px) 13px, 100% !important;
}
div.form-control{
    position: relative;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}
div.form-control input {
    border: 0;
    padding: 0;
    height: auto;
}
div.form-control > a {
    color: #6e6b7b;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    padding: 0.438rem 1rem;
    line-height: 2;
}
div.form-control.add-tag {
    background: none;
    padding: 0.438rem;
    height: auto;
    flex-flow: row wrap;
}
div.form-control.add-tag input {
    width: auto;
    flex: 1;
}
.custom-radio .custom-control-input:checked ~ .custom-control-label::before {
    border: 6px solid var(--p-second-color);
    background-color: #fff;
}
.custom-radio .custom-control-input:disabled:checked ~ .custom-control-label::before {
    background-color: #fff;
}
.btn {
    white-space: nowrap;
    font-size: 16px;
    font-weight: bold;
    padding: 0 1rem;
    width: fit-content;
    min-width: fit-content;
    align-items: baseline;
    justify-content: center;
    height: 3rem;
    min-width: 140px;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    gap: 5px;
    align-items: center;
    border-radius: 0.5rem;
}
@media (max-width: 576px) {
    .btn {
        min-width: 110px;
    }
}
.btn.w-auto {
    min-width: auto;
}
.btn.btn-file {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;

}
.btn.btn-file input {
    width: 100%;
    height: 175%;
    position: absolute;
    top: -30px;
    left: 0;
    cursor: pointer;
    background-color: transparent !important;
    border: 0;
}
.btn.btn-file p {
    display: flex;
    margin-bottom: 0;
    align-items: center;
    justify-content: center;
}
.btn span + span {
    margin-left: 0.25rem;
}
.btn-primary {
    border-color:  var(--p-main-color) !important;
    background-color:  var(--p-main-color) !important;
    color: #fff !important; 
}
.btn-primary:focus, .btn-primary:active, .btn-primary.active {
    color: #fff;
}
.btn-outline-primary {
    border: 1px solid  var(--p-main-color) !important;
    background-color: transparent !important;
    color:  var(--p-main-color) !important;
    box-shadow:  none !important;
}
.btn-outline-primary:hover {
    background-color: var(--p-main-color) !important;
    color:  #fff !important;
}
.btn-outline-primary.dropdown-toggle::after {
    background-image: url(../images/icons/arrow-down.svg); 
}
.btn-secondary {
    border-color: var(--p-second-color) !important;
    background-color: var(--p-second-color) !important;
    color: #fff !important;
}
.btn-secondary:focus, .btn-secondary:active, .btn-secondary.active {
    color: #fff;
    background-color: var(--p-second-color) !important;
}
.btn-gray {
    border-color: var(--p-gray-color) !important;
    background-color: var(--p-gray-color) !important;
    color: #fff !important;
}

.btn.btn-circle {
    font-size: 12px;
    width: 60px;
    height: 60px;
    min-width: fit-content;
    padding: 0;
    border-radius: 100%;
    display: flex;
    flex-direction: column;
}
.btn.btn-circle i {
    font-size: 23px;
    width: fit-content;
    height: fit-content;
    line-height: normal;
}
.btn.btn-block {
    width: 100%;
}
.btn.btn-block + .btn.btn-block{
    margin-left: 0;
}
.btn-lg, .btn-group-lg > .btn {
    padding: 1.5rem 1rem;
    font-size: 16px !important;
    line-height: 1.6rem;
    min-width: 150px;
    max-height: fit-content;
    /* font-weight: bold; */
}
.btn-sm, .btn-group-sm > .btn {
    padding: 0 0.5rem;
    font-size: 14px;
    height: 1.75rem;
    min-width: fit-content;
}
.btn-xs, .btn-group-xs > .btn {
    padding: 0.3rem 0.5rem;
    font-size: 0.9rem;
    border-radius: 0.25rem;
}
.btn > svg, .btn i{
    line-height: 1.1rem;
}
.btn.btn-lg > svg, .btn.btn-lg i{
    width: 1.6rem;
    height: 1.6rem;
    line-height: 1.6rem;
}
.btn + .btn{
    margin-left: 0.5rem;
}
.txt-link {
    color: var(--p-main-color);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}
.txt-link i, .txt-link > svg{
    width: 1rem;
    height: 1rem;
    line-height: 1rem;
    margin: 0 0.25rem;
}
small i, .small > svg{
    font-size: 0.857rem;
    width: 0.857rem;
    height: 0.857rem;
    color: #b5b9bd;
}
td .btn {
    /* font-size: 1rem;
    line-height: 1.1rem; */
}
/* .btn i + span, .btn > svg + span, .txt-link i + span, .txt-link > svg + span{
   margin-left: 0.25rem;
} */
.card .card-title, .card .card-title a {
    font-size: 21px;
    color: #000;
    white-space: initial;
}
.card .card-title span, .package-title span{
    font-size: 15px;
}
.card-title.d-flex {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
}
.card .card-header{
    flex-wrap: nowrap;
}
.card .card-header select{
    max-width: 120px;
}
.card .card-header.center{
    justify-content: center
}
.card h3.card-title{
    font-size: 28px;
    font-weight: normal;
}
.card .card-header p{
    font-size: 16px;
}
.card-header .heading-elements {
    margin-left: 10px;
}
.card-header .heading-elements a {
    display: inline-block;
    background-color: var(--p-second-color);
    padding: 5px;
    border-radius: 6px;
    text-align: center;
    color: #fff !important;
}
.card-header .heading-elements a i{
    display: flex !important;
    align-items: center;
    justify-content: center;
}
.card .card-header .heading-elements a i, .card .card-header .heading-elements a svg {
    height: 1.2rem !important;
    width: 1.2rem !important;
    font-size: 1.2rem;
}
.card.card-action.card-fix {
    z-index: 1;
    margin-bottom: 0;
}
/* @media (min-width: 1600px) {
  .card.card-action.card-fix {
        width: calc(100% - 230px - 20rem);
  }
} */
@media (max-width: 992px) {
    .card.card-action.card-fix {
        position: fixed;
        bottom: 0;
        z-index: 10;
        width: calc(100% - 4rem);
    }
  }
.card-action{
    text-align: center;
}
.card-action .form-group {
    margin-bottom: 0;
    display: flex;
}
.card-action .form-group > .col-form-label {
    padding-right: 0.25rem;
}
.card-action .form-group > .controls{
    text-align: left;
    padding-left: 0;
}

.is-invalid > .form-control, .error.form-control{
    border-color: #ea5455 !important;
}
.card .card-header a.overlay{
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
}
.card .card-header a.overlay{
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
}

.card .card-header .custom-checkbox .custom-control-label::before, .card .card-header .custom-checkbox .custom-control-label::after {
    top: 0;
}

.search-block.card .card-header {
    /* padding: 0.8rem 1rem; */
    border-radius: 6px;
    justify-content: flex-start;
}
.search-block .card-header .heading-elements {
    margin: 0 10px 0 0;
}

/* .search-block.card .card-title {
    color: var(--p-main-color);
} */
.search-block > .row {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: flex-start;
}
.search-block form > .row .row{
    margin-right: -0.5rem;
    margin-left: -0.5rem;
}
.search-block form > .row .row > div{
    padding-right: 0.5rem;
    padding-left: 0.5rem;
}
.search-block form > .row .row > div.col-12{
    padding-right: 0;
    padding-left: 0;
}
.search-block .form-group{
    display: flex;
    align-items: center;
    min-height: 45px;
    align-items: center;
    margin-bottom: 0.5rem;
}
.search-block .form-control {
    padding: 0.438rem 0.75rem;
}
.search-block .form-control.col-4 {
    width: 40%;
}
.search-block .form-control.col-8 {
    width: 60%;
}
.search-block .form-group > label{
    font-size: 1rem;
    white-space: inherit;
    margin-right: 0.5rem;
    width: 100px;
    text-align: right;
    font-weight: bold;
}
.search-block .form-group .controls{
    width: calc(100% - 80px);
    position: relative;
}
.search-block .form-group .controls .input-group-text {
    min-width: 35px;
}

.input-group:not(.bootstrap-touchspin):focus-within,
.form-control:focus:valid, .form-control:focus.is-valid{
    box-shadow: none !important;
}
.form-control:focus {
    border-color: var(--p-main-color);
}
.search-block .invalid-tooltip {
    left: 0;
}

.search-block ul.tag-list{
    font-size: 13px;
}
.search-block ul.tag-list li a {
    padding: 2px 3px;
}
.search-block .form-action {
    margin-top: 2rem;
    }
@media (min-width: 992px){
    .search-block .form-field {
        width: calc(100% - 150px);
    }
    .search-block .form-action {
        width: fit-content;
    }
}
@media (max-width: 992px) {
    .search-block .form-action {
        text-align: center;
        margin-top: 1rem;
    }
    .search-block .form-action::before {
        content: "";
        height: 1px;
        background-color: #eeeff3;
        width: 100%;
        display: block;
        margin: 0.5rem 0 0.75rem 0;
    }
    .search-block .form-group > label{
    text-align: left;
    }
}
@media (max-width: 767px) {
    .search-block .card-header {
        padding: 1rem 1.5rem;
    }
    .search-block .card-body {
        padding: 1rem 1.5rem;
    }
    .search-block .form-group {
        margin-bottom: 0.8rem;
    }
    
}
@media (max-width: 479px) {
    /* .search-block .form-group {
        flex-direction: column;
        align-items: baseline;
    }
    .search-block .form-group > label{
        text-align: left;
        font-weight: bold;
        width: 100%;
        padding: 0 0 0.5rem 0;
    }
    .search-block .form-group .controls{
        width: 100%;
    } */
    .search-block .form-action {
        flex-direction: inherit;
    }
    
}

.pickergroup-r, .input-group-merge .form-control.pickergroup-r:not(:last-child) {
    border-top-right-radius: 0.357rem;
    border-bottom-right-radius: 0.357rem;
    border-right: 1px solid #d8d6de;
}

.main-menu .navigation li a{
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
   align-items: center;
}

.main-menu .navigation li.nav-item a:hover > *,
.main-menu .navigation li.nav-item ul.menu-content li a:hover > * {
    transform: none;
}

.main-menu.menu-organized {
    background: #1e2635;
    border-right: 0;
    box-shadow: none !important;
}

.main-menu.menu-organized .main-menu-content {
    padding: 16px 0px;
}

.main-menu.menu-organized .navigation {
    background: transparent;
}

.main-menu.menu-organized .navigation .navigation-header {
    margin: 14px 0 10px;
    padding: 0 10px;
    color: #a9a9a9;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
}

.main-menu.menu-organized .navigation .navigation-header:not(:first-child) {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.main-menu.menu-organized .navigation .navigation-header span {
    font-weight: 700;
}

.main-menu.menu-organized .navigation > li.nav-item {
    margin: 0;
}

.main-menu.menu-organized .navigation li a {
    min-height: 46px;
    padding: 8px 10px;
    border-radius: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
}
.main-menu.menu-organized .navigation > li > a > i {
    width: 28px;
    height: 28px;
    margin-right: 12px;
    color: #DCDCDC;
    font-size: 21px;
    line-height: 28px;
}

.main-menu.menu-organized .navigation > li.active > a > i,
.main-menu.menu-organized .navigation > li.open > a > i,
.main-menu.menu-organized .navigation > li.sidebar-group-active > a > i {
    color: #DCDCDC;
}

.main-menu.menu-organized .navigation > li ul {
    margin: 4px 0 6px;
    padding: 0;
}

.main-menu.menu-organized .navigation > li ul li > a {
    min-height: 38px;
    padding: 8px 12px 8px 54px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.main-menu.menu-organized .navigation > li ul .active {
    background: transparent;
}

.main-menu.menu-organized .navigation > li ul .active > a {
    color: #fff;
    background: #090D22;
    font-weight: 700;
}

.vertical-layout.vertical-menu-modern.menu-expanded .main-menu.menu-organized .navigation li.has-sub > a::after,
.vertical-layout.vertical-menu-modern.menu-expanded .main-menu.menu-organized .navigation li.sidebar-group-active > a::after,
.vertical-layout.vertical-menu-modern.menu-collapsed .main-menu.menu-organized.expanded .navigation li.has-sub > a::after,
.vertical-layout.vertical-menu-modern.menu-collapsed .main-menu.menu-organized.expanded .navigation li.sidebar-group-active > a::after,
.vertical-overlay-menu .main-menu.menu-organized .navigation li.has-sub > a::after {
    top: 12px;
    right: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' viewBox='0 0 24 24' stroke='%238a8a8a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E");
    opacity: 1;
}
/* .table:not(.table-dark):not(.table-light) thead:not(.thead-dark) th, .table:not(.table-dark):not(.table-light) tfoot:not(.thead-dark) th {
    background-color: #e6e6e7;
} */
.table, .table thead th{
    border-color: #dedfe9;
}
.table thead td {
    font-size: 16px;
}
.table thead th {
    border-bottom-width: 0;
    background-color: transparent;
    vertical-align: middle;
    font-size: 17px;
    line-height: 1.3;
    color: #000;
}
.table thead .top_th th {
    text-align: center;
    background-color: #f2f4f7;
}
.table thead .top_th th.th_color1 {
    background-color: #f2f4f7;
}
.table thead .top_th th.th_color1 {
    background-color: #dee1e9;
}
.table thead .top_th th.th_color2 {
    background-color: #d6d9e1;
}
.table thead .top_th th.th_color3 {
    background-color: #ced1d8;
}
.table thead .top_th th.th_color_b {
    background-color: #b7d9f7;
}
.table thead th.th_color_b1 {
    background-color: #d2ecff;
}
.table thead .top_th th.th_color_g {
    background-color: #b9e7cd;
}
.table thead th.th_color_g1 {
    background-color: #e2fdee;
}
.table .thead-dark th {
    background-color: #979ba0;
    border-color: #979ba0;
}
.table thead th, .table thead td, .rwd-table td:before {
    white-space: nowrap;
}
.table .product-name, .table .title{
    /* min-width: 25%; */
    text-align: left;
}
.table .cate-tree {
    width: 20%;
}
.table .cate-name {
    /* width: 30%; */
}
.table .product-img {
    width: 10%;
}
.table .address {
    text-align: left;
}
.table .custom-control {
    display: inline-block;
}
.table .rwd-action {
    text-align: center;
    white-space: nowrap;
    width: 1%;
}
.table .rwd-action > div{
    display: flex;
    align-items: center;
}
.rwd-action .action-group {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    /* flex-flow: row wrap; */
}
.rwd-action .dropdown-menu .dropdown-item {
    color: var(--p-main-color);
    font-size: 16px;
}
.rwd-action .dropdown-menu .dropdown-item span + span{
    margin-left: 0.25rem;
    font-size: 15px;
}
.rwd-action .d-flex {
    justify-content: center;
    align-items: center;
}

.rwd-action .btn-group{
    vertical-align: baseline;
}
.table .rwd-action .btn {
    align-items: center;
    padding: 0 1rem;
    min-width: fit-content;
    margin: 0.25rem;
}
.table .rwd-action .btn i{
    width: 1rem;
    height: 1rem;
}
.table .rwd-action span[class*="material-symbols"]{
    font-size: 19px;
}
.table .dropdown-menu{
    min-width: inherit;
}
.table .rwd-action .dropdown-menu {
    border-color: #ebe9f1;
}
.dropdown-item {
    padding: 0.5rem 1rem;
}
.dropdown-item.btn {
    padding: 1rem 2rem;
}

.dropdown-item i, .dropdown-item > svg {
    font-size: 1.2rem;
    margin-right: 5px;
    text-align: center;
    width: 1.2rem;
    height: 1.2rem;
}
.dropdown-item .fa-line{
    background-image: url(../../app-assets/images/icons/icon-line-blue.svg);
}
/* .dropdown-item:hover .fa-line{
    background-image: url(../../app-assets/images/icons/icon-line-blue.svg);
}
.dropdown-item.active .fa-line, .dropdown-item:active .fa-line{
    background-image: url(../../app-assets/images/icons/icon-line-w.svg);
} */
.table ul.spec {
    margin: 0;
    padding: 0;
    list-style-type: none;  
    white-space: nowrap;
}
.table ul.spec li{
    margin-bottom: 5px;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
}
.table ul.spec li .price, .table ul.spec li .in-stock {
    width: 60px;
    display: inline-block;
}
.in-stock.low, .table .in-stock.low i {
    color: var(--p-red-color);
}
.table ul.spec li .price{
    margin-left: 5px;
}
.table .in-stock i {
    color: #b5b9bd;
    font-size: 90%;
    margin-right: 2px;
    margin-left: 10px;
}
table.inputTable{
    border: 1px solid #efeeee;
}
table.inputTable td, table.inputTable th {
    padding: 0.72rem !important;
    text-align: center;
}
table.inputTable th {
    /* background-color: #efeeee !important; */
    border: 0 solid #fff;
}

table.inputTable tr.current{
    background-color: #fffdde;
}
table.inputTable td {
    position: relative;
    vertical-align: text-bottom;
    white-space: nowrap;
}
table.inputTable td.title {
    width: 10%;
}
table.inputTable td.border-r{
    border-right: 1px solid #ebe9f1;
    vertical-align: middle;
}
table.inputTable.valueTable td {
    vertical-align: middle;
}
table.inputTable.valueTable.text-left th,
table.inputTable.valueTable.text-left td{
    text-align: left;
}
table.nowrap th,
table.nowrap td{
    white-space: nowrap;
}
table.nowrap .date{
    font-size: 90%;
}
table.inputTable tr.return_block td {
    padding: 1rem !important;
    text-align: left;
}
.modal .modal-body {
    padding: 2rem;
    word-wrap: break-word;
}
.modal .modal-body .title{
    font-size: 28px;
    margin-bottom: 1rem;
    color: #222;
}
.modal .modal-body p, .modal .modal-body li {
    font-size: 16px;
    line-height: 1.8rem;
}
.modal .modal-body p.lead {
    font-size: 18px;
    color: #333;
    font-weight: normal;
}
.modal .modal-body p.small {
    font-size: 14px;
}
.modal .modal-body ul {
    padding-left: 15px;
}
.modal .modal-header {
    background-color: #ebeff1;
    align-items: center;
}
.modal .modal-header .close {
    margin: 0;
    position: absolute;
    right: -5px;
    top: -5px;
    width: 45px;
    height: 45px;
    font-size: 2.5rem;
    line-height: 40px;
    padding: 0;
    border-radius: 100%;
    box-shadow: 0 5px 20px 0 rgb(34 41 47 / 30%);
    border: 0;
}
.modal .modal-footer {
    justify-content: center;
    flex-flow: row;
}
.modal .modal-footer .btn{
   min-width: 140px;
}
.modal.quick-edit .modal-body {
    padding: 2rem;
    height: 70vh;
    overflow-y: scroll;
}

/** dashboard �砍�� **/
.announcement-info{

}
.announcement-date {
    color: #999;
    margin-bottom: 1rem;
}
.announcement-date span{
    margin-right: 10px;
    display: inline-block;
}
.announcement-info p, .announcement-info  li{
    font-size: 17px !important;
    line-height: 2rem !important;
}

@media (max-width: 479px) {
    .announcement-date i{
        display: none;
    }
}

.confirm-adding.modal .modal-body h4 {
    font-size: 18px;
    font-weight: bold;
    background-color: #ebeff1;
    padding: 5px;
}

.table-responsive {
    overflow-x: auto;
}
.table-page{
    margin-top: 1.5rem;
}
.table-page .table-page-data {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-flow: row wrap;
    margin-bottom: 1rem;
}
.table-page .table-page-data label {
    margin-bottom: 0;
    display: flex;
    align-items: center;
}
.table-page .pagination {
    float: right;
    margin-bottom: 1rem;
}
.button-group-l, .button-group-l.col-xl-7.col-12{
    padding-right: 0;
    display: flex;
    align-items: baseline;
    flex-flow: row wrap;
}
.button-group-l.mb-1{
    margin-bottom: 0.5rem !important;
}
.button-group-l.col-12{
    padding-right: 1rem;
}
.button-group-l div + div{
    margin-left: 0.25rem;
    text-align: center;
}
.button-group-l .txt-link {
    text-align: center;
    text-decoration: underline;
    font-size: 13px;
    padding: 0;
    margin-top: 7px;
}
.button-group-r {
    padding-left: 0;
    display: flex;
    justify-content: flex-end;
}
.button-group-l .btn, .button-group-r .btn {
    padding: 1rem 0.8rem;
    min-width: 140px;
    margin: 0 0.5rem 0.5rem 0;
}
.button-group-l .btn-group .btn {
    padding: 1rem 1.2rem;
    min-width: 140px;
}
.button-group-l .btn-group {
    width: 100%;
}
.button-group-l .scroll {
    overflow-x: scroll;
    padding-bottom: 0.25rem;
    margin-bottom: 0.25rem;
}
.button-group-l .scroll::-webkit-scrollbar{
    height: 5px;
}
.button-group-l .scroll::-webkit-scrollbar-thumb{
    background-color: #c1c1c1;
    border-radius: 10px;
}
.button-group-l .scroll .btn-group{
    min-width: 100%;
}

.category-filter {
    border: 1px solid #f5f4f8;
}
.category-filter .row > div {
    height: 400px;
    overflow-y: scroll;
}
.category-filter .row > div:last-child {
    border-left: 1px solid #f5f4f8;
}
.category-filter .nav-pills {
    margin-top: 1rem;
    margin-left: 1rem;
    padding-left: 0 !important;
}
.category-filter .nav-pills .nav-link.active {
    box-shadow: none;
}


.category-filter .nav-link{
    justify-content: space-between !important;
    position: relative;
    padding: 0.8rem 1rem;
    font-size: 1.2rem;
    background-color: #ebeff1;
    margin-bottom: 0.25rem;
    line-height: 25px;
    color: #000;
}
.category-filter .nav-link:after {
    width: 1.25rem;
    height: 1.25rem;
    background-size: 1.25rem;
    top: 15px;
    right: 7px;
}
.category-filter .nav-link .number {
    background-color: var(--p-second-color);
    color: #fff;
    margin-right: 20px;
    font-size: 1rem;
    width: 25px;
    height: 25px;
    border-radius: 100%;
    text-align: center;
}
.category-filter .nav-link.active .number{
    background-color: #fff;
    color:  var(--p-second-color);
}
.category-filter .card{
    border-bottom: 1px solid #f5f4f8 !important;
    border-radius: 0;
    box-shadow: none !important;
    margin: 0;
    margin-right: 1rem;
}
.category-filter .card:last-child {
    border-bottom: 0 solid #f5f4f8 !important;
}
.category-filter .card .card-header {
    justify-content: flex-start;
    padding: 1rem 2rem 1rem 0;
}
.category-filter .card .card-body {
    padding: 0 !important;
}
.category-filter .collapse-title {
    font-size: 1.2rem;
    color: #000;
}
.category-filter ul.select-cate {
    margin-top: 1rem;
    margin-left: 1rem;
    padding: 0;
    font-size: 1.1rem;
}
.category-filter ul.select-cate li, ul.select-group li {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f2f2f3;
}
.category-filter ul.select-cate li:last-child {
    border-bottom: 0;
}
.category-filter ul.select-cate li label{
    display: block;
}
.category-filter .custom-control-label::before {
    border-color: var(--p-main-color);
}
.category-selected{
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}
ul.tag-list, ul.value-list{
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-flow: row wrap;
}
ul.tag-list li, ul.value-list li {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    flex-flow: row wrap;
    margin: 0 0.25rem 0.25rem 0;
    padding: 5px 10px;
    border-radius: 4px;
    line-height: 1.4;
    justify-content: flex-start;
}
ul.tag-list li{
    font-size: 13px;
    color: #fff;
    background-color: #9295a6;
}
ul.tag-list li span, ul.value-list li span{
    padding: 2px 0;
    white-space: nowrap;
}
ul.tag-list li a {
    color: #fff;
    padding-left: 5px;
}
ul.tag-list li a .feather{
    height: 0.9rem;
    width: 0.9rem;
}

.add-tag ul.tag-list li {
    background-color: var(--p-main-color);
}
ul.value-list li {
    color: #555;
    background-color: #fff;
    border: 1px solid #ddd;
    font-size: 1rem;
    flex-flow: row;
    align-items: baseline;
}
ul.value-list li a {
    padding-left: 5px;
    color: var(--p-main-color);
}
.file-upload{
    position: relative;
    flex: 1;
}
.file-upload .row{
    margin-right: -10px;
    margin-left: -10px;
}
.file-upload .row > div{
    padding-left: 10px;
    padding-right: 10px;
}
.file-upload .item {
    position: relative;
    border-radius: 0.358rem;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
    border: 2px dashed #ccc;
    background-color: rgb(255 255 255 / 50%);
    padding: 7px;
    text-align: center;
}
.file-upload .item img{
   border-radius: 0.358rem;
}
.file-upload .item .card-pic{
    aspect-ratio: 4 / 3;
    border-radius: 0.358rem;
    overflow: hidden;
 }
 .file-upload .item .card-pic img{
    width: 100%;
    height: 100%;
    object-fit: cover;
 }
.file-upload a.close {
    position: absolute;
    top: -10px;
    right: -10px;
    border-radius: 100%;
    background-color: var(--p-main-color);
    color: #fff;
    width: 30px;
    height: 30px;
    line-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.file-upload a.close i{
    font-size: 19px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    display: inline-block;
}
.file-upload ul {
    display: flex;
    flex-flow: row wrap;
    margin: 0;
    padding: 0;
    list-style-type: none;
    margin-bottom: 1rem;
}
.file-upload li {
    position: relative;
}
.file-upload li + li{
    margin-left: 1rem;
}
.file-upload li a.close {
    width: 25px;
    height: 25px;
    line-height: 25px;
}
.file-upload li a.close span{
    font-size: 21px;
}
.file-upload li .btn {
    border: 1px solid #ccc;
}
.pro-item {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    text-align: left;
    margin-bottom: 1rem;
}
.pro-item img{
    height: 80px;
    margin-right: 10px;
 }
.pro-item h3{
    font-size: 21px;
    color: #222;
}
.pro-item p {
    font-size: 16px;
    white-space: initial;
    color: #222;
    margin-bottom: 0;
}
.pro-item span {
    font-size: 14px;
    display: block;
    margin-top: 5px;
    color: #999;
}
td .pro-item {
    margin-bottom: 0;
}
td .pro-item span {
    margin-top: 0;
}
.gallery-top {
    margin-bottom: 15px;
}

.gallery-thumbs .swiper-slide {
    opacity: 0.4;
  }
  .gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
  }
  .gallery-thumbs .swiper-slide img {
    border: 1px solid #ddd;
    padding: 2px;
}  
.gallery-thumbs .swiper-slide-thumb-active img{
    border: 1px solid #333;
  }
.card-text , .card-text p{
    line-height: 1.6;
    font-size: 1rem;
}



/* ����瘙� */
.item-profit {
    color: var(--p-red-color);
    margin-top: 0.3rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}
.item-profit i, .item-profit > svg {
    border-radius: 1.2rem;
    background-color: var(--p-focus-color);
    color: #fff !important;
    margin-right: 5px;
    padding: 3px;
}
.item-profit i{
    display: flex;
}
.item-profit i > svg {
    padding: 0;
    height: 0.8rem;
    width: 0.8rem;
    margin-right: 0;
}
.item-price {
    color: #000;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    flex-flow: row wrap;
    min-height: 25px;
}
.item-price .price-new{
    color: var(--p-red-color);
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: 5px;
}
.item-price .price-old{
    color: #999;
    text-decoration: line-through;
    font-size: 0.85rem;
}
.view-options {
    align-items: center;
}
.view-options .btn-outline-primary.current{
    background-color: rgb(17 113 185 / 70%) !important;
    color: #fff !important;
}

.ecommerce-application .selected .btn-primary{
    border-color:  var(--p-main-color) !important;
    background-color:  var(--p-main-color) !important; 
}
.ecommerce-application .added .btn-primary{
    border-color: var(--p-gray-color) !important;
    background-color:  var(--p-gray-color) !important; 
}
.ecommerce-application .added .btn-primary:hover:not(.disabled):not(:disabled) {
    box-shadow: 0 8px 25px -8px  var(--p-gray-color); 
}
.item-options .btn-outline-primary {
    font-weight: bold;
    font-size: 16px;
    padding: 0.9rem 1rem;
}

.item-options .btn.btn-outline-primary span,
.card-action.card-fix .btn.btn-outline-primary span {
  color: #000;
}
.item-options .btn.btn-outline-primary i, 
.item-options .btn.btn-outline-primary svg,
.card-action.card-fix .btn.btn-outline-primary i,
.card-action.card-fix .btn.btn-outline-primary svg {
    color: #2bb1d8;
}
.ecommerce-application .ecommerce-card .btn-outline-primary svg,
.ecommerce-application .ecommerce-card .btn-outline-primary i {
  width: 1.3rem;
  height: 1.3rem;
}
.ecommerce-application .ecommerce-card.no-item .btn{
    width: 100%;
}
.card.ecommerce-card.checked {
    background-color: #e4e6e8;
    box-shadow: none !important;
}
.ecommerce-application .checked .item-company {
    color: #9ba7b5;
}
.swiper-button-next, .swiper-button-prev {
    background-color: rgb(255 255 255 / 50%);
}
.edit-block {
    width: 80%;
    margin: auto;
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.edit-block, .edit-block p , .edit-block li{
    font-size: 1.2rem;
    line-height: 1.5;
}
.edit-block.scroll-block{
    overflow-y: scroll;
    max-height: 800px;
    width: 100%;
    padding: 1rem;
}


.select-block {
    list-style: none;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
    padding: 0;
}

.select-block li {
    width: 33.333%;
    padding: 5px 10px;
}

.select-block label {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    cursor: pointer;
}

.select-block .form-check {
    margin: 0;
}

.select-block .form-check-label {
    position: relative;
    margin-left: -20px;
}

.select-block .custom-checkbox .custom-control-label::before,
.select-block .custom-checkbox .custom-control-label::after,
.select-block .custom-radio .custom-control-label::before,
.select-block .custom-radio .custom-control-label::after {
    left: 50%;
    bottom: 0;
    top: auto;
}
.select-block .custom-checkbox.custom-control,
.select-block .custom-radio.custom-control {
    padding-left: 0;
    padding-bottom: 1.8rem;
}

.collapse-action .card {
    border: 1px solid var(--p-gray-color) !important;
    box-shadow: none !important;
}
.collapse-icon.collapse-action [data-bs-toggle='collapse']:after {
    left: 0.8rem;
}
.collapse-action .card .card-header {
    padding: 1rem 1rem 1rem 2.5rem;
}
.collapse-action .collapse-title {
    color: #000;
    font-weight: 500;
    font-size: 1.3rem;
    display: block;
    flex: 1;
    padding: 3px 0;
}
.collapse-action .card .card-body {
    padding-top: 0;
}
.cate-list{
    padding: 0 1rem 0 4rem;
    margin-bottom: 0;
}
.cate-list li{
    padding: 0 0 .5rem 0;
    border-top: 0px solid #f2f2f3;
    font-size: 1.2rem;
}
.cate-list li.sub-cate{
    color: #333;
}
.cate-list li.sub-cate::marker {
    color: #b2b8bd;
}
.cate-list li > div {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: space-between;
}
.cate-list li ul {
    padding: 0;
    margin-left: 0;
    margin-top: .5rem;
    list-style-type: none;
    border-top: 1px solid var(--p-line-color);
}
.cate-list li  li{
    color: #777;
    font-size: 1rem;
    padding: .5rem 0;
    border-bottom: 1px solid var(--p-line-color);
}
.cate-list li:last-child  li:last-child{
    border-bottom: 0;
}
.cate-list .rwd-action, .card-header .rwd-action {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    /* flex: 1; */
    justify-content: flex-end;
}
/* .card-header .rwd-action {
    position: absolute;
    right: 10px;
    z-index: 1;
    background-color: #fff;
} */
.collapse-action .btn-sm{
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
}
.overlay-txt{
    position: relative;
    text-align: center;
    display: block;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}
.overlay-txt.img-md {
    width: 100px;
    height: 100px;
}
.overlay-txt.img-sm {
    width: 90px;
    height: 60px;

}
/* .overlay-txt img{
    max-width: 100%;
    max-height: 100%;
} */
.overlay-txt span{
    position: absolute;
    width: 100%;
    height: 100%;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,0,0,.5);
    color: #fff;
    font-size: 16px;
}
.overlay-txt span.white {
    background-color: rgb(255 255 255 / 50%);
    color: var(--p-main-color);
    border: 1px solid #dedfe9;
}
.total {
    font-size: 15px;
    white-space: nowrap;
    color: #222;
    clear: both;
    margin-top: 10px;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.total th {
    font-size: 15px;
    text-align: right;
    padding-right: 10px;
}
.total td{
    font-size: 15px;  
    text-align: right;  
}
.total .price, .total-cash .price{
    color: var(--p-red-color);
    font-size: 120%;
}
.total-cash {
    font-size: 19px;
    text-align: center;
    color: var(--p-red-color);
    margin-bottom: 0.5rem;
}
.total-cash td{
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--p-red-color);
}
.total ul {
    margin: 0;
    padding: 0;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    justify-content: center;
    white-space: initial;
}
.total li {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: baseline;
    margin-left: 2rem;
}
.total li span{
    white-space: nowrap;
}
.total li:first-child {
    margin-left: 0;
}
.total li strong{
    font-size: 15px;
}
.total li .price{
    font-size: 17px;
    font-weight: bold;
    color: var(--p-red-color);
}
/**�漤���脣漲**/
.delivery-schedule ul {
    list-style: none;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    padding: 2rem 0.5rem;
    margin-top: 2rem;
    position: relative;
    overflow-x: scroll;
}
.delivery-schedule li {
    flex: 1;
    line-height: 1.5;
    text-align: center;
    color: #999;
}
.delivery-schedule li .step {
    font-size: 13px;
    border-radius: 100%;
    background-color: var(--p-gray-color);
    position: relative;
    z-index: 1;
    display: inline-block;
    width: 14px;
    height: 14px;
    line-height: 48px;
    text-align: center;
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px var(--p-gray-color);
    left: 0;
    top: -11px;
}

.delivery-schedule li.active .step {
    background: var(--p-main-color);
    box-shadow: 0 0 0 1px var(--p-main-color);
}


.delivery-schedule li .title {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    margin-top: 0;
    max-width: 100%;
    font-size: 14px;
    color: #555;
    white-space: nowrap;
    padding: 0 0.5rem;
}
.delivery-schedule li .title .btn{
    margin: auto;
    /* margin-top: 5px; */
}
.delivery-schedule li .title .status{
    font-size: 15px;
    color: #222;
}
.delivery-schedule li .title .date{
    font-size: 15px;
    line-height: 20px;
}
.delivery-schedule li .title .date small{
    margin-left: 5px;
    font-size: 90%;
}
.delivery-schedule li .title .info{
    font-size: 13px;
}
.delivery-schedule li.active .title .status{
    color: var(--p-main-color);
}
.delivery-schedule li.active:before {
    border-color: var(--p-main-color);
}
.delivery-schedule li.active.current .step {
    background: var(--p-second-color);
    box-shadow: 0 0 0 2px var(--p-second-color);
}
.delivery-schedule li.active.current:before {
    border-color: var(--p-second-color);
}
.delivery-schedule li.active.current .title .status {
    color: var(--p-second-color);
}
.delivery-schedule li:before {
    display: block;
    content: "";
    width: 100%;
    height: 1px;
    font-size: 0;
    overflow: hidden;
    border-top: 3px solid var(--p-gray-color);
    position: relative;
    z-index: 1;
}
.delivery-schedule li:last-child:before {
    max-width: 50%;
    width: 50%;
}

.delivery-schedule li:first-child:before {
    max-width: 51%;
    left: 50%;
}
.delivery-schedule li.active.current.warning .step {
    background: var(--p-warning-color);
    box-shadow: 0 0 0 2px var(--p-warning-color);
}
.delivery-schedule li.active.current.warning .title .status {
    color: var(--p-warning-color);
}
.delivery-schedule li.active.current.warning:before {
    border-color: var(--p-warning-color);
}
.delivery-schedule li.active.current.danger .step {
    background: var(--p-danger-color);
    box-shadow: 0 0 0 2px var(--p-danger-color);
}
.delivery-schedule li.active.current.danger .title .status {
    color: var(--p-danger-color);
}
.delivery-schedule li.active.current.danger:before {
    border-color: var(--p-danger-color);
}

.return_block .card-body {
    padding: 1rem !important;
}
.return_block .card .card-header, .return_block .card-title {
    background-color: var(--p-gray-color);
    border-radius: 0;
    color: #fff;
    padding: 0.75rem 2rem 0.75rem 1rem;
    font-size: 1.2rem;
    line-height: 1;
}
.return_block .card-title {
    background-color: var(--p-main-color);
}
.collapse-icon .return-header:after {
    background-image: url(../../app-assets/images/icons/arrow-down-w.svg);
    margin-top: -11px;
}
.return-value {
    font-size: 16px;
    color: var(--p-main-color);
    display: block;
    padding: 0;
}
.return-value li {
    font-size: 16px;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 5px;
}
.return-value li strong{
    color: #666;
    font-weight: normal;
    white-space: nowrap;
    margin-right: 10px;
}
.input-group.quantity {
    width: 200px;
}
.input-group.quantity .btn{
    padding: 1rem 1rem;
}
.input-group.quantity .form-control{
    text-align: center;
}

.income-data {
    font-size: 1.05rem;
    list-style: none;
    line-height: 1.6;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    margin-left: 0 !important;
}

.income-data + .income-data{
    margin-top: 0.5rem;
}

.income-data .title {
    font-size: 1.2rem;
    font-weight: normal;
    color: #222;
    border: 1px solid #ebe9f1;
    padding: 3px 15px;
    margin-right: 1rem;
    text-align: center;
    white-space: nowrap;
}
.income-data .list{
    text-align: left !important;
    margin-left: 0 !important;
}
.income-data .list span {
    margin-right: 1rem;
    display: inline-flex;
}
.income-data .list + .list{
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #dedfe9;
}
.income-data .list strong {
    font-weight: normal;
    color: var(--p-main-color);
}
.notice-block {
    font-size: 15px;
    /* margin-bottom: 1rem;
    border-bottom: 1px solid #ebe9f1;
    padding-bottom: 1rem; */
}
.file-uploads {
    overflow: hidden;
    position: relative;
    text-align: center;
  }
  .file-uploads i {
    margin-right: 0.25rem;
}
  .file-uploads.file-uploads-html4 input, .file-uploads.file-uploads-html5 label {
    /* background fix ie  click */
    background: #fff;
    opacity: 0;
    font-size: 20em;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    width: 100%;
    height: 100%;
  }
  .file-uploads.file-uploads-html5 input, .file-uploads.file-uploads-html4 label {
    /* background fix ie  click */
    background: rgba(255, 255, 255, 0);
    overflow: hidden;
    position: fixed;
    width: 1px;
    height: 1px;
    z-index: -1;
    opacity: 0;
  }
.mx-datepicker {
    width: 100% !important;
    margin-bottom: 5px;
}
.mx-input {
    height: 2.714rem !important;
    padding: 0.438rem 1rem !important;
}
/**�𦆮憭批�𣇉���𦯀辣敺株矽**/
.viewer-backdrop {
    background-color: rgba(0, 0, 0, 0.8);
}
.viewer-button {
    background-color: var(--p-main-color) !important;
}

/**��鍦��**/

.list-group.list-sort {
    font-size: 16px;
}
.list-group.list-sort .tag {
    font-size: 13px;
    font-weight: bold;
    color: #fff !important;
    padding: 3px 5px;
    margin-left: 5px;
    border-radius: 3px;
}
.list-group.list-sort .tag.color-green{
    /* border: 1px solid var(--p-main-color); */
    background-color: var(--p-second-color);
}
.list-group.list-sort .tag.color-red{
    /* border: 1px solid var(--p-red-color); */
    background-color: var(--p-red-color);
}
/**�嫣�滚�tab**/
.district-tab{
    width: 90%;
    margin: auto;
    margin-bottom: 2rem;
}
.district-tab .nav-item +  .nav-item{
    margin-left: 0.25rem;
}
.district-tab .nav-link{
    font-size: 17px;
    padding: 1rem;
    border-color: var(--p-second-color);
}
.text-link.copy-link {
    font-size: 19px;
    display: block;
    text-align: center;
    margin: auto;
}

/**�綫�㵽皜��鱓**/
ul.recommend-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-flow: row wrap;
}
ul.recommend-list li{
    margin-left: 1rem;
    margin-right: 1rem;
    list-style-type: decimal;
}
/**摰寥�讛�𤩺聢��𣂼�**/
.limit {
    display: flex;
    align-items: center;
    color: var(--p-red-color);
    font-size: 15px;
}
.limit .badge {
    padding: 0;
    background-color: var(--p-red-color);
    min-width: 20px;
    min-height: 20px;
    margin-right: 0.25rem;
}
.badge {
    font-weight: normal;
    height: fit-content;
}
.bg-label-primary {
    background-color:  var(--p-main-color);
    color: #fff;
}
.badge-reserve {
    /* background-color:  #b0d6da; */
    background-color:  #b4b7bd;
}
.badge-focus {
    background-color:  var(--p-focus-color);
}
.gray-form{
    background-color: #f9f9f9;
}

/**line�綫�偘閮剖��**/
.card.bordered{
    border: 1px solid var(--p-second-color);
    margin-bottom: 1rem;
}
.card.bordered .card-header {
    background-color: #00a48d;
    padding: 0.75rem 1.5rem;
    margin-bottom: 1.5rem;
}
.card.bordered .card-header .heading-elements a {
    background-color: var(--p-second-color);
}
.card.bordered .card-title {
    font-size: 1.3rem;
    color: #fff;
}
.card.bordered .controls {
    margin-bottom: 0.5rem;
    position: relative;
}
.card.bordered .controls > .invalid-tooltip{
    left: 0;
}
.card.bordered .form-group > .col-form-label {
    text-align: left;
    font-weight: bold;
    font-size: 17px;
}
.card.bordered .file-upload .item a {
    top: -10px;
    right: -10px;
}
.card.bordered .row {
    margin-right: -0.5rem;
    margin-left: -0.51rem;
}
.card.bordered .row > div{
    padding-right: 0.5rem;
    padding-left: 0.51rem;
}
.card.bordered .nav-pills {
    margin-bottom: -1px;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
}
.card.bordered .nav-pills li {
    margin: 3px 5px 0 0;
    position: relative;
}
.card.bordered .nav-pills .nav-link {
    background-color: #fff;
    border-color: #e9e9e9;
    border-bottom-color: #f3f3f3;
    padding: 0.786rem;
    min-width: 60px;
    border-radius: 0.358rem 0.358rem 0 0;
    font-size: 1.1rem;
    line-height: 1;
    font-weight: bold;
}
.card.bordered .nav-pills .nav-link.active {
    border-color: #f3f3f3;
    background-color: #f3f3f3;
    color: #5e5873;
}
.card.bordered .nav-pills button {
    border: 0;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    position: absolute;
    right: -3px;
    top: -3px;
    background-color: #f091a0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.card.bordered .tab-content {
    padding: 1rem;
    background-color: #f3f3f3;
    border-radius: 0 0.358rem 0.358rem 0.358rem;
}
.card-preview {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card.card-preview {
    background-color: #f3f3f3;
    width: 350px;
    margin-left: 1rem;
    border-radius: 20px;
}
.card-preview:has(.card-preview-content):not(:has(.card-preview-btn)) .card-preview-content {
  padding: 16px;
}
.card-preview .card-preview-wrap {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 1.25rem rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.card-preview .card-preview-wrap h5 {
    font-weight: 600;
}
.card-preview .card-preview-wrap span {
    display: flex;
    gap: 12px;
}
.card-preview .card-preview-wrap i {
    color: var(--p-gray-color);
}
.card-preview  .card-preview-img{
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-bottom: 1px solid #e5e7eb;
    aspect-ratio: 6 / 4;
    background-color: #fff;
}
/* 滿版裁切（置中），與 LINE Flex Message 的 aspectMode: cover 一致。
   用絕對定位撐滿 6:4 框：只靠 max-height: 100% 時，iOS WebKit 與桌機 Chrome
   對「只有 aspect-ratio 沒有固定高度」的框解讀不同，會一邊裁切、一邊留白。 */
.card-preview  .card-preview-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-preview .card-preview-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
}
.card-preview .card-preview-btn .btn {
    width: 100%;
    margin: 0;
    height: 40px;
    pointer-events: none;
}
.card-preview  .card-preview-content {
    font-size: 16px;
    font-weight: bold;
    padding: 16px 16px 0 16px;
}
.card-preview .card-preview-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.card-preview  .card-preview-content span {
    font-weight: normal;
}
.card-preview-box  {
    width: 300px;
    box-shadow: 0 0 10px 0 rgb(0 0 0 / 20%);
    border-radius: 20px;
}
.card.card-preview.sticky-top {
    top: 100px;
    position: fixed;
}
.serve-card-list.card-checked-list .card-preview  .card-preview-content span {
    display: -webkit-box;
    font-weight: normal;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.grid-style {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px;
}
.grid-style.grid-4 label {
    width: 25%;
}
.grid-style label {
    width: 33.33%;
    padding: 5px;
}
.grid-style input[type="radio"] {
    display: none;
}
.grid-style input[type="radio"]:checked + div {
    border: 2px solid var(--p-second-color) !important;
}
.grid-style div {
    background-color: #fff;
    transition: all 250ms ease;
    will-change: transition;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    position: relative;
    font-weight: 900;
    border: 2px solid #f1f1f1;
    padding: 3px;
}
.grid-style div:active {
    transform: translateY(10px);
}
.img-preview {
    position: relative;
    margin: 0 0 20px 0;
}
.img-preview img{
    width: 100%;
    height: 100%;
}
.cover-line {
    position: absolute;
    top: 0;
    left: 0;
}
.action-block{
    margin: 1rem 0 0 0;
    padding: 0;
}
.action-block li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}
.action-block li .badge {
    min-width: 30px;
    min-height: 30px;
    margin-right: 0.5rem;
    background-color: var(--p-second-color);
}
.action-block li .value {
    font-size: 15px !important;
    display: flex !important;
    align-items: center;
    flex-flow: row wrap;
}
.message-info {
    font-size: 17px;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 5px;
    margin-top: 1rem;
}
.message-info p{
    line-height: 30px;
}
.message-info p.small{
    
}
.message-info p:last-child{
    margin-bottom: 0;
}
.pic-temp {
    list-style: none;
    -webkit-box-lines: multiple;
    -moz-box-lines: multiple;
    -ms-flex-wrap: wrap;
    display: flex;
    overflow-x: auto;
}
.pic-temp li {
    position: relative;
    -ms-flex: 0 0 auto;
    min-width: 250px;
    margin: 5px;
    flex-basis: 30%;
    background-color: #fff;
    /* padding: 1rem; */
    border-radius: 10px;
    overflow: hidden;
}
.pic-temp img {
    margin-bottom: 10px;
}
.pic-temp .pic-temp-info {
    padding: 0 1rem 1rem 1rem;
    margin: 0;
}
.pic-temp h5 {
    font-weight: bold;
    font-size: 18px;
    color: var(--p-second-color);
    margin: 5px 0;
}
.pic-temp p {
    color: #222;
    font-size: 14px;
}
.pic-temp .pic-temp-btn {
    display: flex;
    flex-direction: column;
    text-align: center;
    border-top: 1px solid #ededed;
    padding: 1rem;
}
.pic-temp .pic-temp-btn a{
    display: block;
    padding: 5px;
}


@media (max-width: 479px) {
.grid-style label {
    width: 25%;
}
}


.form-vertical .form-group > .col-form-label {
    text-align: left;
    margin-bottom: 0.5rem;
}

@media (min-width: 576px) {
    .modal-xl, .modal-lg {
        max-width: 90%;
    }
    .form-group > .col-form-label {
        text-align: right;
        padding-bottom: 0;
        padding-top: 0;
    }
    .row-cols-1 .form-group > .col-form-label {
        flex: 0 0 35%;
        max-width: 35%;
    }
    .row-cols-1 .form-group > .controls {
        flex: 0 0 65%;
        max-width: 65%;
    }

    }
@media (min-width: 768px) {
    .modal-md {
        max-width: 650px;
    }
    /*.table .number span, */.category-filter .number {
        font-size: 0.9rem;
        min-width: 25px;
        height: 25px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        border-radius: 25px;
        background-color: #f3f2f7;
    }
    table .sort , table .dt-checkboxes-cell{
       width: 25px;
    }
    .table .number,  .table .sort {
        /* text-align: center; */
    }

    table.inputTable td .invalid-tooltip {
        position: sticky;
        left: 0;
        top: 45px;
        bottom: auto;
    }
    table.inputTable .form-control {
        /* width: 120px; */
        display: inline-block;
    }
    .card-action .card-body {
        padding: 1rem 1.5rem;
    }

    .table-fixed{
        /* max-height: 500px; */
        max-width: 100%;
    }
    .table-fixed table {
        position: relative;
        table-layout: fixed;
        width: auto !important;
        margin: 0 0 1rem 0 !important;
    }
    .table-fixed table thead {
        position: sticky;
        top: 0;
        z-index: 2;
    }
    .table-fixed table thead::after{
        content: "";
        width: 100%;
        height: 100%;
        position: absolute;
        background-color: #dedfe9;
        top: 0;
        left: 0;
        z-index: -1;
    }
    .table-fixed table tbody::after{
        content: "";
        width: 100%;
        height: 100%;
        position: absolute;
        background-color: #dedfe9;
        top: 0;
        left: 0;
        z-index: -1;
    }

    .table-fixed table .fixed{
        position:sticky;
        left: 0;
        z-index:1;
    }
    .table-fixed th{
        border-right: 1px solid #dedfe9;
        /* border: 0; */
    }
    /* .table-fixed th:last-child{
        border-right: 0px solid #dedfe9;
    } */
    .table-fixed th{
        text-align: center;
    }
    .table-fixed td{
        background-color: #fff;
        white-space: nowrap;
        text-align: center;
    }
}


@media (min-width: 992px) {
    .w-lg-50{
        width: 50% !important;
    }
    .header-navbar .navbar-nav .nav-item {
        margin: 0 10px;
    }
    .modal-lg{
        max-width: 1000px;
    }
    .w-lg-50{
        width: 50% !important;
    }
}


@media (min-width: 1366px) and (max-width: 1680px) {
    .button-group-l .btn, .button-group-r .btn{
        min-width: 130px;
    }
}
@media (min-width: 1200px) and (max-width: 1366px) {
    .button-group-l .btn, .button-group-r .btn{
        min-width: 100px;
    }
}

@media (max-width: 979px){
    .button-group-l .btn, .button-group-r .btn{
        min-width: 125px;
    }
}

@media (max-width: 479px){
    .button-group-l .btn, .button-group-r .btn{
        min-width: 100px;
    }
}


@media (max-width: 1400px) {
    .form-group .controls .control-group.spec {
        flex-flow: row wrap;
    }
    .form-group .controls .control-group.spec > div, .form-group .controls .control-group.spec .btn{
        margin: 0 0.25rem 0.25rem 0;
        width: 19%;
    }

}
@media (max-width: 1120px) {
    .card.mb-6{
        margin-bottom: 2rem !important;
    }
    .edit-block {
        width: 100%;
    }
}
@media (max-width: 992px) {
    html .content .content-wrapper .content-header-title.title-tab > * {
        padding: 1rem 1.5rem;
    }
    .form-block {
        padding: 4rem 1rem 1rem 1rem;
    }
    .form-group .controls .control-group.spec > div, .form-group .controls .control-group.spec .btn {
        width: 24%;
    }
    .modal.quick-edit .modal-body {
        height: 80vh;
    }
    .rwd-table th {
        display: none;
    }
    .rwd-table td {
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        flex-wrap: wrap;
        border: 0 !important;
        text-align: left;
        padding-left: 0 !important;
        padding-right: 0 !important;
        align-items: baseline;
        font-size: 16px;
        font-weight: 500;
        color: #223d86;
    }
    .rwd-table td.show-xs {
        display: flex !important;
    }
    .rwd-table td div {
        margin-right: 0.5rem;
    }
    .rwd-table td:last-child {
        border: 0;
    }
    .rwd-table td:before {
        content: attr(data-th) " :";
        text-align-last: left;
        padding-right: 10px;
        font-size: 15px;
        font-weight: normal;
        color: #777;
        margin: 5px 0;
    }
    .rwd-table td.rwd-action:before, .rwd-table tr.return_block td:before{
        display: none;
    }
    .rwd-table td.rwd-action {
        justify-content: center;
        margin-bottom: -10px;
        border-radius: 0 !important;
        padding: 5px 0 0 0 !important;
        margin-top: 5px;
        border-top: 1px solid #eeeff3 !important;
        width: unset;
    }
    .rwd-table td.rwd-action > *{
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
    /* .rwd-table td.rwd-action .btn-sm {
        font-weight: bold;
    }
    .rwd-table td.rwd-action .btn-sm span{
        margin-left: 0;
    } */
    .rwd-table td.rwd-action.show-xs {
        display: flex !important;
        padding: 10px 0 !important;
    }
    .rwd-table tbody tr {
        margin-bottom: 15px;
        display: block;
        padding: 10px 0;
        border: 2px solid #ededed;
    }
    .rwd-table tbody tr td{
        background-color: transparent !important;
        padding: 0.25rem 0.5rem;
        min-height: initial;
        text-align-last: left;
    }
    .rwd-table tbody tr:last-child{
        margin-bottom: 0;
    }
    .rwd-table thead {
        border: 0;
    }
    .rwd-table.table>:not(:first-child) {
        border-top: 0;
    }
    .inputTable.rwd-table td {
        flex-wrap: nowrap;
        padding: 5px 10px !important;
        text-align: left;
    }
    table.rwd-table.inputTable td.border-r {
        border-right: 0;
    }
    .inputTable.rwd-table td.show-xs {
        display: flex !important;
    }
    .inputTable.rwd-table td .invalid-tooltip {
        left: 120px;
    }
    .rwd-table tr.return_block {
        margin-top: -17px;
        border-top: 2px solid #fff;
        padding-top: 0;
    }
    .inputTable.rwd-table tr.return_block td {
        display: block;
        padding: 5px 10px !important;
    }
    .card.table-block {
        box-shadow: none;
        background-color: transparent;
    }
    .card.table-block .card-header {
        padding: 1rem 0;
    }
    .card.table-block .card-body {
        padding: 0;
    }
    .table-block .rwd-table tbody tr {
        padding: 1.5rem;
        box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.1);
        background-color: #fff;
        border-radius: 0.5rem;
        border: 0;
    }
    .card .rwd-table tbody tr {
        margin-left: 1rem;
        margin-right: 1rem;
    }
    .table-block .rwd-table tbody tr {
        margin-left: 0;
        margin-right: 0;
    }
}
@media (max-width: 767px) {
    .form-group > .col-form-label.col-md-3 {
        text-align: left;
        padding-bottom: calc(0.438rem + 1px);
    }
    .form-group > .col-form-label.col-md-3 label{
        text-align: left;
        color: #8d899d;
    }
    .modal .modal-header .close {
        right: 15px;
        top: 9px;
        width: 40px;
        height: 40px;
        font-size: 2.5rem;
        line-height: 40px;
        border-radius: 6px;
    }
    .card-action .card-body{
        padding: 1rem 0 !important;
    }
    .card-body.card-action {
        padding: 0 0 1rem 0 !important;
    }
    .district-tab {
        width: 100%;
    }
    .hidden-xs{
        display: none !important;
    }
    .show-xs{
        display: block !important;
    }
    .table .product-name, .table .cate-name  {
        width: auto;
    }
    html .content .content-wrapper .content-header-title {
        font-size: 23px;
        font-weight: 500;
    }
    html .content .content-wrapper .content-header-title.title-tab {
        font-size: 21px;
        font-weight: bold;
        flex-flow: row;
    }
    .content-header {
        min-height: fit-content;
    }
    .card-body {
        padding: 1.5rem;
    }
    .form-group .controls .table {
        border: 0;
    }
    .table-responsive {
        margin-bottom: 1rem;
        overflow-x: visible;
    }

    table.dataTable {
        margin-top: 0 !important;
    }
    .table-page > div {
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .category-filter {
        border: 0;
    }
    .category-filter .nav-pills {
        margin: 0;
    }
    .category-filter .card {
        margin-right: 0;
    }
    .category-filter .nav-link:after {
        right: 5px;
    }
    .category-filter .collapse-title {
        font-size: 1.2rem;
    }
    .form-block {
        padding: 1rem;
    }
    .form-block .btn-delete {
        padding: 0.75rem;
    }
    .form-block .form-group > .col-form-label,
    .form-block .form-group > .controls{
        flex: 0 0 100%;
        max-width: 100%;
        text-align: left;
    }
    .form-block .form-group > .col-form-label {
        padding-bottom: calc(0.438rem + 1px);
    }


    .delivery-schedule ul {
        flex-direction: column-reverse;
        width: 200px;
        margin-left: 150px;
        margin-top: 30px;
        overflow-x: inherit;
    }
    .delivery-schedule li:before {
        display: none;
    }
    .delivery-schedule li {
        border-left: 2px solid #ddd;
        text-align: left;
        position: relative;
        min-height: 60px;
    }
    .delivery-schedule li:first-child {
        border-color: transparent !important;
        min-height: auto;
    }
    .delivery-schedule li:last-child {
        border-color: #ddd;
    }
    .delivery-schedule li.active {
        border-color: var(--p-main-color);
    }
    .delivery-schedule li .step {
        left: -8px;
        top: -9px;
    }
    .delivery-schedule li .title {
        padding: 0 0 20px 25px;
    }
    .delivery-schedule li .title .btn {
        margin: inherit;
        margin-top: -5px;
        margin-bottom: 5px;
        width: fit-content;
    }
    .delivery-schedule li .title .date strong {
        display: block;
        font-weight: bold;
    }
    .delivery-schedule li .title .date, .delivery-schedule li .title .status{
        position: absolute;
        top: -10px;
    }
    .delivery-schedule li .title .date{
        left: -100px;
        text-align: right;
    }
    .delivery-schedule li .title .status {
        font-size: 17px;
        top: -11px;
    }
    .file-upload .row{
        margin-right: -5px;
        margin-left: -5px;
    }
    .file-upload .row > div{
        padding-left: 5px;
        padding-right: 5px;
    }
    .file-upload .item {
        border: 1px dashed #ccc;
        padding: 5px;
    }
    .return-value li {
        flex-flow: row wrap;
    }
    .rwd-action .batches-action .form-control{
        border-color: var(--p-main-color);
    }
    .overlay-txt.img-sm {
        height: auto;
    }
    .search-criteria {
        display: block;
    }
    /* .income-data .list span {
    margin-right: 0;
    min-width: 150px;
} */
}
@media (max-width: 479px) {
    .navbar-floating .header-navbar-shadow {
        display: none;
    }

    html .content .content-wrapper .content-header-title.title-tab {
        font-size: 17px;
        text-align: center;
    }
    html .content .content-wrapper .content-header-title.title-tab > * {
        padding: 0.5rem 1rem;
    }
    .form-group > label, .form-group > .col-form-label label{
        color: #000;
    }
    .card{
        margin-bottom: 1rem;
    }
    .card .card-header{
        padding: 1rem;
    }
    .form-group > .col-form-label, .form-group > label {
        font-size: 17px;
        font-weight: bold;
        text-align: left;
        padding-bottom: calc(0.438rem + 1px);
    }
    .form-group > .controls {
        color: #000;
        font-size: 16px;
    }
    .card-action .form-group {
        flex-direction: column;
    }
    .card-action .form-group > .col-form-label {
        width: auto;
        padding: 0 0 0 1rem;
    }
    .card-action .form-group > .controls {
        padding-left: 1rem;
    }
    .modal .modal-body, .modal .modal-footer {
        padding: 1rem;
    }
    .footer .copyright {
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        flex-direction: column;
        margin-bottom: 0;
        font-size: 13px;
    }
    footer.footer {
        padding: 0 0.5rem 0.5rem 0.5rem;
    }
    .category-filter .row > div {
        height: auto;
    }
    .category-filter .nav-pills {
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        flex-direction: row !important;
    }
    .category-filter .nav-pills .nav-item{
        margin-right: 5px;
        margin-bottom: 5px;
    }
    .category-filter .nav-link:after {
        display: none;
    }
    .nav-pills .nav-link.active {
        box-shadow: none;
    }
    .category-filter .nav-link .number {
        margin-right: 0;
        font-size: 13px;
        width: 20px;
        height: 20px;
        line-height: 20px;
        margin-left: 5px;
    }
    .form-group .controls .control-group.spec > div, .form-group .controls .control-group.spec .btn {
        width: 48.5%;
    }
    .pro-item h3 {
        font-size: 17px;
    }
    .modal {
        padding-right: 0.2rem;
        padding-left: 0.2rem;
    }
    .modal.quick-edit .modal-body {
        height: 75vh;
    }
    .card.card-action.card-fix {
        width: 100%;
        left: 0;
        margin-bottom: 0;
        border-radius: 0;
    }
    .card-action.card-fix .card-body {
        text-align: center;
        padding: 1rem 0.5rem !important;
    }
    .card-action.card-fix .card-body .button-3{
        display: flex;
    }
    .card-action.card-fix .card-body .button-3 .btn-lg {
        font-size: 15px !important;
        min-width: 120px;
    }
    .form-group .controls .Multiselect-group select {
        padding: 0.438rem;
    }
    .form-block {
        padding: 1rem;
    }
    .form-block.package {
        padding: 1rem;
    }
    .page-link {
        padding: 0.5rem 0.5rem;
    }
    /* .col-12 {
        margin-bottom: 1rem;
    } */
    #captcha + .invalid-tooltip {

        left: 0;
        margin-left: 0;
    }
    .collapse-action .card .card-header {
        padding: 0.5rem 0.5rem 0.5rem 2rem;
    }
    .collapse-icon.collapse-action [data-bs-toggle='collapse']:after {
        left: 0.5rem;
    }
    .cate-list {
        padding: 0 0.5rem 0 3.3rem;
        margin-bottom: 0;
    }
    .collapse-action .btn-sm {
        padding: 0.5rem;
    }
    .collapse-action .collapse-title {
        font-size: 1.2rem;
    }
    .cate-list li {
        font-size: 1.1rem;
    }
    .total {
        justify-content: left;
    }
    .total ul {
        flex-direction: column;
    }
    .total li {
        margin-left: 0;
    }
    .total li span {
        margin-right: 5px;
    }
    .total li strong{
        min-width: 80px;
    }
    .total li .price{
        min-width: 120px;
    }
    .file-upload .item {
        border: 1px dashed #ccc;
        padding: 5px;
    }
    .return-value li {
        flex-flow: row wrap;
    }
    .pro-item {
        flex-flow: row wrap;
    }
    .pro-item img{
        margin: 0 0 10px 0;
    }
    /**敹恍���𨅯�𧢲𠯫��毺祟��**/
    /* .input-group.date-group{
        padding-top: 60px;
    } */

    .input-group.date-group select:first-child {
        position: absolute;
        top: 10px;
        width: 100%;
        border-radius: 0.357rem !important;
        border: 1px solid #d8d6de !important;
        font-weight: bold;
    }
    .input-group.date-group .input-group-prepend span.input-group-text {
        border-radius: 0.357rem 0 0 0.357rem !important;
    }
    .input-group-merge.date-group .form-control:not(:last-child) {
        border-top-right-radius: 0.357rem;
        border-bottom-right-radius: 0.357rem;
    }
    .income-data {
        flex-direction: column;
        align-items: flex-start;
    }
    .income-data .list {
        margin: 0.5rem 0 0 0 !important;
    }
    html .content .content-wrapper .content-header-title.title-btn {
        flex-direction: column;
        width: 100%;
    }
    html .content .content-wrapper .content-header-title .nav-tabs .nav-link {
        padding: 0.61rem 0.5rem;
    }
    /* .rwd-table td:before {
        min-width: 80px;
    } */
    html .content .content-wrapper .content-header-title .nav-tabs .nav-link:after {
        height: 2px;
    }
    ul.value-list li {
        flex-flow: row wrap;
    }
}

@media (max-width: 390px) {
    .form-block {
        padding: 2rem 1rem 0rem 1rem;
    }
    .modal .modal-footer .form-group {
        width: 100%;
        text-align: center;
    }
    .card-action.card-fix .card-body .button-3 .btn-lg {
        min-width: 100px;
    }
    .btn-xs, .btn-group-xs > .btn {
        padding: 0.3rem 0.5rem;
        min-width: fit-content;
    }
}
@media (max-width: 320px) {
.table .rwd-action .btn {
        padding: 0.65rem 0.65rem;
 }
html .content .content-wrapper .content-header-title {
    font-size: 18px;
    font-weight: bold;
}
html .content .content-wrapper .content-header-title .nav-tabs .nav-link {
    font-weight: bold;
}
.card-body {
    padding: 1rem;
}
.btn-lg, .btn-group-lg > .btn {
    min-width: 125px;
    padding: 1rem 0.5rem;
}
.card-title.d-flex {
    flex-flow: row wrap;
}
.btn-group > .btn{
    margin: 0;
    width: fit-content;
}
.button-group-l .btn-group .btn {
    min-width: 120px;
}

.rwd-action .batches-action{
    padding-bottom: 40px;
}
.rwd-action .batches-action .btn{
    position: absolute;
    bottom: 5px;
    width: 60%;
}
.modal-header {
    padding: 0.8rem;
}
}

  /****蝬脩�***/
.table thead th.kol-head {
    padding-left: 55px;
}
.kol-item {
    display: flex;
    align-items: center;
}
.kol-item img {
    width: 100px;
    border-radius: 100%;
}
.content-header .kol-item {
    padding: 1rem;
}
.kol-item .kol-info {
    margin-left: 1rem;
}
.kol-item .kol-info h3 {
    font-size: 21px;
    font-weight: bold;
    display: flex;
    align-items: center;
}
.kol-item .kol-info ul, .social-media, .icon-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-weight: normal;
    font-size: 15px;
}
.social-media li{
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
}
.social-media i {
    font-size: 18px;
    color: #fff;
    background-color: #ccc;
    background-position: center;
    background-size: 30px;
    border-radius: 100%;
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
}
.social-media i:before {
    content: "";
}
.social-media i.feather-fb {
    background-image: url(../../app-assets/images/icons/social-fb.png);
}
.social-media i.feather-ig {
    background-image: url(../../app-assets/images/icons/social-ig.png);
}
.social-media i.feather-yt {
    background-image: url(../../app-assets/images/icons/social-youtube.png);
}
.social-media i.feather-tt {
    background-image: url(../../app-assets/images/icons/social-tt.png);
}
.social-media i.feather-blog {
    background-image: url(../../app-assets/images/icons/social-blog.png);
}
.social-media i.feather-other {
    background-image: url(../../app-assets/images/icons/social-other.png);
}
.social-media .number {
    margin-left: 0.5rem;
}
.social-media .number strong{
    font-size: 17px;
    font-weight: 600;
}
.social-media .number small{
    font-size: 13px;
}
.icon-list li {
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0.25rem;
}
.icon-list span[class*="material-symbols"] {
    font-size: 17px;
    margin-right: 0.25rem;
    width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #dfe0e6;
    border-radius: 100%;
}
.kol-block {
    width: fit-content;
    margin: auto;
    margin-bottom: 2rem;
}
.kol-block .card-body {
    padding: 1.5rem;
}
.web-link {
    display: block;
    width: 250px;
    word-break: break-all;
}
.modal-body .form-group {
    margin-bottom: 0.5rem;
}
.social-head{
   text-align: center;
}
div.social-media {
    display: flex;
    align-items: center;
}
div.social-media i {
    background-size: 40px;
    width: 40px;
    height: 40px;
}
div.social-media .social-name{
    font-size: 17px;
    margin-left: 0.25rem;
}
.card-view{
    background-color: #f6f7f9;
    
}
.value-list{
    list-style-type: none;
    margin: 0;
    padding: 0;
    font-size: 15px;
}
.value-list li{
    margin-bottom: 0.5rem;
    
}
.value-list .label {
    font-size: 16px;
    color: #777;
}
.value-list .value {
    font-size: 17px;
    font-weight: bold;
    padding: 0;
    white-space: inherit;
}
.value-list .value strong{
    font-size: 120%;
}
.value-list .value small{
    font-size: 15px;
    font-weight: normal;
}
.content-header .kol-item-s {
    padding: 0;
    
}
.kol-item-s img {
    width: 60px;
}
.kol-item-s h3{
    margin: 0;
}


@media (min-width: 1200px) {
.collapse:not(.show) {
    display: block;
}
}
@media (min-width: 992px) {
.content-body .collapse:not(.show) {
    display: block;
}
}

@media (max-width: 1199px) {
    .rwd-action .action-group {
        flex-direction: column;
    }
    .rwd-action .action-group .btn {
        padding: 0.5rem;
        width: 110px;
        margin-left: 0;
        margin-bottom: 0.25rem;
    }
    .social-media i {
        background-size: 25px;
        width: 25px;
        height: 25px;
    }
}
@media (max-width: 992px) {
    .rwd-action .action-group .btn {
        width: 100px;
        min-width: fit-content;
    }
    .rwd-action .action-group {
        flex-direction: row;
        margin: 0;
    }
    .rwd-action .action-group .btn {
        width: 90px;
        padding: 0.75rem 1rem;
        margin-bottom: 0;
    }
    .rwd-action .action-group .btn + .btn{
        margin-left: 0.25rem;
        margin-bottom: 0;
    }
    .table thead th.kol-head {
        padding-left: 40px;
    }
    .rwd-table td.kol-head:before {
        display: none;
    }
    .rwd-table td .kol-item {
        align-items: flex-start;
    }
    .kol-item img {
        width: 80px;
        margin-right: 10px;
    }
    .kol-item .kol-info {
        margin-left: 0.5rem;
    }
}
@media (max-width: 767px) {
    
    .value-list .value {
        font-weight: 500;
    }
    .social-media i {
        font-size: 18px;
        color: #fff;
        background-color: #ccc;
        background-position: center;
        background-size: 27px;
        border-radius: 100%;
        display: inline-flex;
        width: 27px;
        height: 27px;
        align-items: center;
        justify-content: center;
    }
    
    .content-header .kol-item {
        padding: 0;
        /* background-color: #fff;
        border-radius: 0.5rem;
        box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.1);
        margin-top: 1.5rem;
        align-items: center; */
    }
    .content-header .kol-item img{
        width: 50px;
    }
    .content-header .kol-item .kol-info {
        margin-left: 0;
    }
    .content-header .kol-item .kol-info h3{
        margin-bottom: 0;
        font-weight: 500;
        font-size: 21px;
    }
    .web-link {
        width: calc(100% - 100px);
    }
}
@media (max-width: 479px) {
    .content-header .kol-item .kol-info h3 {
        font-size: 19px;
    }
    .kol-item img {
        width: 70px;
        margin-right: 5px;
    }
    .web-link {
        width: calc(100% - 85px);
    }
    .rwd-action .action-group .btn {
        width: auto;
        padding: 0.25rem 0.5rem;
    }
}

/***蝺刻摩***/

.edit-history {
    display: flex;
    align-items: center;
    justify-content: center;
}
.edit-history p {
    margin-bottom: 0;
    font-size: 16px;
}
.edit-history p small{
    font-size: 14px;
}
.edit-history span {
    font-size: 13px;
    display: inline-flex;
    line-height: 1.2;
    margin-left: 0.5rem;
    border-radius: 100%;
    width: 45px;
    height: 45px;
    justify-content: center;
    align-items: center;
    margin-right: 0.5rem;
    background-color: #d7dce3;
}
.modal-body .edit-history{
    color: #b0b8c4;
}
.modal-body .edit-history p{
    font-size: 14px;
}

.user-profile-info h4{
    font-weight: bold;
}
.serve-card-list .card-preview-box {
    width: auto;
}
.serve-card-list .card-select-wrap,
.serve-card-list .card-preview,
.serve-card-list .card-preview-wrap,
.serve-card-list .card-preview-inner {
    width: 100%;
    min-width: 0;
}
.serve-card-list .card-select-wrap {
    display: block;
    height: 100%;
}
.fixed-card {
    position: static;
    background-color: transparent;
}
@media (max-width: 992px) {
    .fixed-card {
        position: fixed;
        bottom: 0;
        left: 0;
        padding: 1rem;
        background-color: #fff;
        width: 100%;
        text-align: center;
        z-index: 10;
        display: flex;
        gap: 4px;
    }
    .fixed-card .btn {
        width: 50%;
    }
}
.direct-block {
    font-size: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.card-preview {
  position: relative;
}

.card-preview {
  position: relative;
}

.card-select-wrap {
  position: relative;
  display: inline-block;
}

/* �黸��� checkbox嚗䔶�靽萘�䠷�墧�𠰴���� */
.card-select-wrap input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  margin: 0;
}

/* �黸��� checkbox嚗䔶�靽萘�䠷�墧�𠰴���� */
.card-select-wrap input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  margin: 0;
  cursor: pointer;
  z-index: 4;
}

/* �㨃����憛𡃏身摰𡁶㮾撠滚�帋�㵪�峕䲮靘輸�桃蔗���彍摮㛖�訫�滚�帋�� */
.card-preview {
  position: relative;
}

.card-select-checkbox {
  display: none;
}

/* �㨃����批捆�𦆮摨訫惜 */
.card-preview-wrap {
  position: relative;
  z-index: 1;
}

/* ��𢠃�𤩺�𡡞�桃蔗 */
.overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: 10px;
  z-index: 2;
}

/* 憿舐內�桃蔗 */
.card-select-wrap input:checked + .card-preview .overlay {
  opacity: 1;
  pointer-events: auto;
}

/* �彍摮堒���� */
.selected-number {
  z-index: 2;
}

/* 憿舐內�桃蔗 */
.card-select-wrap input:checked + .card-preview .overlay {
  opacity: 1;
  pointer-events: auto;
}

/* �彍摮堒���� */
.selected-number {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: none;
  font-size: 16px;
  color: #fff;
  display: none;
  font-size: 16px;
  color: #fff;
  background-color: var(--p-main-color);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  font-weight: bold;
}

/* 憿舐內�彍摮� */
.card-select-wrap input:checked + .card-preview .selected-number {
  display: block;
}

/* 憿舐內�彍摮� */
.card-select-wrap input:checked + .card-preview .selected-number {
  display: block;
}

/* dashboard閮剖�� */
.dashboard-page .card.card-block {
    border-radius: 8px;
    background: linear-gradient(135deg, #517ec9 0%, #3e3999 100%);
}
.dashboard-page .card-header.text-white {
    border-radius: 8px 8px 0 0;
    background: linear-gradient(135deg, #517ec9 0%, #3e3999 100%);
}
.dashboard-page .card .card-header .card-title i {
    color: #fff;
    opacity: .75;
}
.dashboard-page .card .card-body-scroll {
    max-height: 530px; 
    overflow: auto;
}
@media (max-width: 992px) {
    .dashboard-page .card .card-body-scroll {
    max-height: 350px; 
}
}
.dashboard-modal .modal-header.text-white {
    border-radius: 8px 8px 0 0;
    background: linear-gradient(135deg, #517ec9 0%, #3e3999 100%);
}
.dashboard-modal .modal-content {
    border-radius: 8px;
}
.dashboard-modal .modal-content select {
    max-width: none;
}
#noDataMessage{
    background: white;
    border-radius: .5rem;
}
.text-center {
    text-align-last: center;
}
@media (min-width: 992px) {
      .text-lg-nowrap {
        white-space: nowrap !important;
    }
}
.redirect-page {
    height: calc( 100dvh - 53px );
    display: flex;
    align-items: center;
    justify-content: center;
}
.redirect-page .content-wrapper {
    width: 100%;
    padding: 0 24px;
}
.redirect-panel {
    max-width: 920px;
    margin: 0 auto;
}
.redirect-heading {
    margin-bottom: 1.5rem;
    text-align: center;
}
.redirect-heading h1 {
    margin-bottom: 8px;
    font-weight: 700;
}
.redirect-heading p {
    color: #6b7280;
}
.redirect-card {
    height: 100%;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(47, 93, 171, .12);
}
.redirect-card .direct-block {
    justify-content: center;
    gap: 16px;
    text-decoration: none;
}
.redirect-card .direct-block:hover {
    color: var(--p-main-color);
}
.redirect-card .direct-block i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    color: var(--p-main-color);
    font-size: 36px;
}
.redirect-card .direct-block h2 {
    margin-bottom: 0;
    font-size: 20px;
}

/* 側邊選單最下方的獨立連結（與主選單分離） */
.main-menu .main-menu-content {
    display: flex;
    flex-direction: column;
}
.main-menu .main-menu-content > .navigation-main {
    flex: 0 0 auto;
}
.main-menu .menu-footer {
    margin-top: auto;
    padding: 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}
.main-menu .menu-footer a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .65);
    font-size: 13px;
    line-height: 1.4;
    text-decoration: none;
}
.main-menu .menu-footer a:hover {
    color: #fff;
}
.main-menu .menu-footer a i {
    font-size: 16px;
}

/* ===== 個人資料使用條款頁 privacy-terms ===== */
.terms-page .card {
    border-radius: 12px;
}
.terms-page .card-body {
    padding: 40px 48px;
}
@media (max-width: 767.98px) {
    .terms-page .card-body {
        padding: 24px 20px;
    }
}
/* 標題區 */
.terms-hero {
    padding-bottom: 20px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--p-line-color);
}
.terms-hero-title {
    margin-bottom: 0;
    color: var(--p-dark-color);
    font-weight: 600;
}
@media (min-width: 576px) {
    .terms-hero-title {
        text-align: center;
    }
}
/* 章節 */
.terms-section {
    padding: 20px 0;
    border-bottom: 1px dashed var(--p-line-color);
    scroll-margin-top: 90px;
}
.terms-section:last-of-type {
    border-bottom: 0;
}
.terms-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 600;
    color: var(--p-dark-color);
}
/* .terms-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(43, 85, 157, .1);
    color: var(--p-main-color);
    font-size: 14px;
    font-weight: 600;
} */
.terms-section p {
    margin-bottom: 10px;
    color: var(--p-text-color);
}
.terms-section p:last-child {
    margin-bottom: 0;
}
@media (min-width: 768px) {
    .terms-section p,
    .terms-define dd {
        line-height: 1.9;
    }
}
.terms-section strong {
    color: var(--p-dark-color);
}
/* 定義列表 */
.terms-define {
    margin-bottom: 0;
}
.terms-define dt {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--p-dark-color);
    font-weight: 600;
}
.terms-define dd {
    margin-bottom: 14px;
    padding-left: 14px;
    border-left: 2px solid var(--p-line-color);
    color: var(--p-text-color);
}
.terms-define dd:last-child {
    margin-bottom: 0;
}
