:root {
    --dh-text-color: #404040;
    --dh-dark-color: #231f20;
    --dh-white-color: #ffffff;
    --dh-chalk-color: #fbfbfb;
    --dh-bg-light-blue: #e3f2fd;
    --dh-dark-body-color: #262932;

    /* Menu CSS Variables - Trắng */
    --pc-sidebar-background: #ffffff;
    --pc-sidebar-color: #495057;
    --pc-sidebar-color-rgb: 73, 80, 87;
    --pc-sidebar-active-color: var(--bs-primary);
    --pc-sidebar-caption-color: #6c757d;
    --pc-sidebar-border: 1px dashed #bec8d0;
    --pc-sidebar-user-background: #f8f9fa;
}

/* Apply Inter font to all select and form elements */
select,
.form-select,
.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
textarea,
.select2-container .select2-selection--single,
.select2-container .select2-selection--single .select2-selection__rendered,
.select2-container .select2-results__option,
.select2-search__field {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* Ẩn icon và ảnh checkmark mặc định */
.select-check-icon,
.select-checkmark-img {
    margin: 0px;
    display: none;
    position: absolute;
}

.select-check-icon {
    color: #fff;
    font-size: 12px;
    top: 1px;
    right: 4px;
    z-index: 1;
}

.select-checkmark-img {
    top: 0;
    right: 0;
    width: 30px;
    border-radius: 0 12px 0 0;
}

/* FORM */
/* Hiển thị khi radio được chọn */
.form-check-input:checked~.select-check-icon,
.form-check-input:checked~.select-checkmark-img {
    display: block;
}

.slider-value {
    font-weight: bold;
    color: #007bff;
}

.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* SWEET ALERT */
.swal2-container {
    z-index: 99999 !important;
}

.swal2-popup {
    z-index: 100000 !important;
}

.swal2-backdrop {
    z-index: 99998 !important;
}

div:where(.swal2-container) h2:where(.swal2-title) {
    padding: 0 1em 0 !important;
}


div:where(.swal2-container) div:where(.swal2-popup) {
    width: 28em !important;
    border-radius: 16px !important;
}

div:where(.swal2-container) .swal2-html-container {
    color: inherit !important;
    font-weight: 500 !important;
    overflow: visible;
}

.swal2-confirm,
.swal2-deny,
.swal2-cancel {
    font-weight: 600 !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    padding: 5px 8px !important;
}

.swal-button {
    background-color: var(--dh-primary-color);
}

.swal-button:active {
    background-color: var(--dh-primary-color);
}

.swal-button--cancel {
    background-color: #EFEFEE !important;
}

div:where(.swal2-container) h2:where(.swal2-title) {
    margin-top: 10px !important;
    font-size: 1.5rem !important;
}

div:where(.swal2-container) .swal2-html-container {
    margin: .5em 1.6em .3em !important;
}

/*div:where(.swal2-icon) {
    width: 4em !important;
    height: 4em !important;
}*/

/*
.swal2-icon.swal2-error.swal2-icon-show {
    background-image: url('/assets/images/error.gif') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    border: none !important;
}

.swal2-icon.swal2-error.swal2-icon-show::before,
.swal2-icon.swal2-error.swal2-icon-show::after {
    display: none !important;
}

.swal2-icon.swal2-success.swal2-icon-show {
    background-image: url('/assets/images/success.gif') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    border: none !important;
}

.swal2-icon.swal2-warning.swal2-icon-show {
    background-image: url('/assets/images/warning.gif') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    border: none !important;
}
*/

/* END SWEET ALERT */
.border-b-none {
    border-bottom: none !important;
}

.border-t-none {
    border-top: none !important;
}


.border-dashed {
    border-style: dashed !important;
}

.border-purple {
    border-color: #8E33FF !important;
}

.hover-primary:hover {
    box-shadow: 0 0 0 1px #fff, 0 0 0 .2rem var(--dh-primary-color) !important;
}


/* FORM */
.form-range {
    accent-color: var(--dh-primary-color);
    /* Màu slider theo theme nếu muốn */
    height: 6px;
}

/* BUTTON */

/* Nút tăng/giảm: tàng hình, chỉ hiện icon/chữ, padding ngang */
.btn-ghost {
    border: none;
    background: transparent;
}

.btn-step-ghost {
    border: none;
    background: transparent;
    outline: none;
    box-shadow: none;
    padding: 0 6px;
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Input số: tàng hình, chỉ hiện giá trị, căn giữa */
.input-step-value {
    border: none;
    background: transparent;
    outline: none;
    box-shadow: none;
    width: 40px;
    text-align: center;
    color: inherit;
    appearance: textfield;
    -moz-appearance: textfield;
    font-weight: 600;
}

.btn-primary-gradient {
    background: linear-gradient(to right, var(--dh-primary-color), color-mix(in srgb, var(--dh-primary-color) 70%, white 30%));
    color: #fff !important;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary-gradient:hover,
.btn-primary-gradient:focus {
    background: linear-gradient(to right, var(--dh-primary-color), color-mix(in srgb, var(--dh-primary-color) 80%, white 20%));
    color: #fff !important;
}

.btn-primary-gradient:active {
    transform: translateY(0);
    color: #fff !important;
    background: linear-gradient(to right, var(--dh-primary-color), color-mix(in srgb, var(--dh-primary-color) 60%, white 40%));
}

/* SCALE */
.lift-up-1 {
    transition: transform 0.3s;
}

.lift-up-1:hover {
    transform: translateY(-4px);
}

.lift-up-2 {
    transition: transform 0.3s;
}

.lift-up-2:hover {
    transform: translateY(-8px);
}

.lift-up-3 {
    transition: transform 0.3s;
}

.lift-up-3:hover {
    transform: translateY(-12px);
}

.lift-up-4 {
    transition: transform 0.3s;
}

.lift-up-4:hover {
    transform: translateY(-16px);
}

.lift-up-5 {
    transition: transform 0.3s;
}

.lift-up-5:hover {
    transform: translateY(-20px);
}


/* TEXT COLOR */

.text-teal {
    color: #20c997 !important
}



/* PART IMAGE */
.dh-part {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: 120px;
    padding: 6em 0;
}

@media (max-width: 991px) {
    .dh-part {
        padding: 4rem 0;
    }
}

@media (max-width: 767px) {
    .dh-part {
        padding: 3rem 0;
    }
}

.dh-part::before {
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.dh-part::selection {
    background: var(--dh-color-primary);
}

.dh-img-part-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .1;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='1' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.dh-img-part-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .1;
    pointer-events: none;
    background-image: url("http://127.0.0.1:8000/template/frontend/images/bg/02.png");
}


/* ALERT */
.alert-light-default {
    background-color: color-mix(in srgb, var(--dh-default-color) 20%, transparent 90%) !important;
}

/* BACKGROUND */
.bg-light {
    background-color: #f8f9fa !important
}

.bg-chalk {
    background-color: var(--dh-chalk-color) !important
}

.bg-default {
    background-color: var(--dh-default-color) !important
}

.bg-primary-gradient {
    background: linear-gradient(to right, var(--dh-primary-color), color-mix(in srgb, var(--dh-primary-color) 70%, white 30%));
    color: #fff !important;
}

.bg-light-purple {
    background: rgba(142, 51, 255, 0.2);
    color: #673ab7;
}


.tab-container {
    display: flex;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: .5rem
}

.tab-container::-webkit-scrollbar {
    display: none
}

.tab-scroll-button {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: none;
    color: var(--bs-primary);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    opacity: 0;
    transition: opacity .2s ease
}

.tab-scroll-left {
    left: 4px
}

.tab-scroll-right {
    right: 4px
}

.row.gx-2.mb-3:hover .tab-scroll-button {
    display: flex;
    opacity: 1
}

@media (max-width: 768px) {

    .row.gx-2.mb-3:hover .tab-scroll-button,
    .tab-scroll-button {
        display: none !important
    }
}

/*** blog-content ***/
.blog-content {
    font-family: 'Roboto', serif;
    font-size: 14px;
    line-height: 1.6;
    word-break: break-word;
}

.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
    font-weight: bold;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    line-height: 1.25;
}

.blog-content h1 {
    font-size: 2.5em;
}

.blog-content h2 {
    font-size: 2em;
}

.blog-content h3 {
    font-size: 1.75em;
}

.blog-content h4 {
    font-size: 1.5em;
}

.blog-content h5 {
    font-size: 1.25em;
}

.blog-content h6 {
    font-size: 1em;
}

.blog-content p {
    margin: 0 0 1em 0;
}

.blog-content ul {
    list-style-type: disc;
    padding-left: 2em;
    margin-bottom: 1em;
}

.blog-content ol {
    list-style-type: decimal;
    padding-left: 2em;
    margin-bottom: 1em;
}

.blog-content ul li,
.blog-content ol li {
    display: list-item;
    margin-bottom: 0.5em;
}

.blog-content blockquote {
    border-left: 4px solid #e0e0e0;
    margin: 1.5em 0;
    padding: 0.5em 1em;
    color: #555;
    background: #fafafa;
}

.blog-content pre {
    background: #f5f5f5;
    padding: 1em;
    border-radius: 4px;
    font-family: 'Fira Mono', 'Consolas', monospace;
    font-size: 0.95em;
    overflow-x: auto;
    margin-bottom: 1em;
}

.blog-content code {
    background: #f2f2f2;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-family: 'Fira Mono', 'Consolas', monospace;
    font-size: 0.95em;
}

.blog-content a {
    color: #1976d2;
    text-decoration: underline;
    word-break: break-all;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1em auto;
}

.blog-content table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 1em;
}

.blog-content th,
.blog-content td {
    border: 1px solid #d1d5db;
    padding: 0.5em 1em;
    text-align: left;
}

.blog-content th {
    background: #f3f4f6;
    font-weight: bold;
}

.blog-content hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 2em 0;
}

.blog-content strong,
.blog-content b {
    font-weight: bold;
}

.blog-content em,
.blog-content i {
    font-style: italic;
}

.blog-content u {
    text-decoration: underline;
}

.blog-content sup {
    vertical-align: super;
    font-size: 0.8em;
}

.blog-content sub {
    vertical-align: sub;
    font-size: 0.8em;
}

.blog-content .image-style-align-left {
    float: left;
    margin-right: 1em;
}

.blog-content .image-style-align-right {
    float: right;
    margin-left: 1em;
}

.blog-content .image-style-align-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    float: none;
}

.blog-content figure {
    margin: 1em 0;
}

.blog-content figcaption {
    text-align: center;
    font-size: 0.9em;
    color: #666;
    margin-top: 0.5em;
}

.blog-content .table {
    overflow-x: auto;
}

.blog-content mark {
    background: #fff59d;
    padding: 0 0.2em;
}

.blog-content del {
    text-decoration: line-through;
}

.blog-content .info-box {
    background: #e3f2fd;
    border-left: 4px solid #1976d2;
    padding: 1em 1.5em;
    margin: 1em 0;
    border-radius: 4px;
    color: #1976d2;
}

/*** end blog-content ***/



/*** start payment invoice ***/
.info-orc-qr {
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #4680ff 0%, #5a8fff 100%);
    position: relative;
    overflow: hidden;
}

.info-orc-qr::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: backgroundMove 20s linear infinite;
    pointer-events: none;
}

@keyframes backgroundMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, 30px);
    }
}

.info-qr-title {
    text-align: center;
    font-weight: bold;
    color: #fff;
    font-size: 24px;
}

.info-qr-note {
    max-width: 80%;
    margin: 0 auto;
    color: #fff;
    text-align: center;
}

.qrcode_scan_container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.qrcode_scan {
    position: relative;
    width: 280px;
    height: 280px;
    padding: 15px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.qrcode_image {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qrcode_image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.image-qr-code {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.main_loader.main_loader_home.main_loader_qrcode_img {
    position: absolute;
    height: 100%;
    border-radius: 5px;
}

.main_loader {
    position: absolute;
    z-index: 99999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 10px;
}

.main_loader .spinner {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 3px solid #555;
    border-top-color: #fff;
    animation: spin 0.8s ease-in-out infinite;
}

/* Scan line animation */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(70, 128, 255, 0.8) 50%,
            transparent 100%);
    box-shadow: 0 0 10px rgba(70, 128, 255, 0.8),
        0 0 20px rgba(70, 128, 255, 0.6);
    animation: scanLineMove 2s linear infinite;
    z-index: 2;
    pointer-events: none;
}

@keyframes scanLineMove {
    0% {
        top: 0;
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    100% {
        top: calc(100% - 3px);
        opacity: 0.3;
    }
}

/* Corner indicators */
.scan-corners {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid #4680ff;
    animation: cornerPulse 2s ease-in-out infinite;
}

.corner-tl {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
    border-top-left-radius: 8px;
}

.corner-tr {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
    border-top-right-radius: 8px;
}

.corner-bl {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
    border-bottom-left-radius: 8px;
}

.corner-br {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
    border-bottom-right-radius: 8px;
}

@keyframes cornerPulse {

    0%,
    100% {
        border-color: #4680ff;
        box-shadow: 0 0 5px rgba(70, 128, 255, 0.5);
    }

    50% {
        border-color: #5a8fff;
        box-shadow: 0 0 15px rgba(70, 128, 255, 0.8);
    }
}

/*** end payment invoice ***/

.w-auto {
    width: auto !important;
    max-width: none !important;
    min-width: auto !important;
}



.cke_notifications_area {
    display: none !important;
}

/* SELECT 2 */
.select2-container .select2-selection {
    padding-top: 8px;
}

.select2-container--default .select2-results>.select2-results__options {
    max-height: 60vh !important;
    min-height: auto !important;
    overflow-y: auto !important;
}

p {
    margin: 0 !important;
    padding: 0 !important;
}

/* css custom select2 */
.selection {
    width: 100% !important;
    height: calc(2.25rem + 2px) !important;
}

.select2-container--default .select2-selection--single {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    border: 1px solid var(--bs-card-border-color);
    border-radius: 12px;
    padding: 0 0.35rem;
    min-height: 35px !important;
    /* min-height: calc(2.5rem) !important; */
    background-color: #ffffff;
    background-clip: padding-box;
    background-image: none;
    width: 100%;
    display: flex;
    align-items: center;
    /* căn giữa dọc */
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.5em !important;
    padding: 0 !important;
    padding-left: 4px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 0;
    height: 1.5em !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    width: 100% !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 6px;
    right: 5px;
    width: 20px;
}

.select2-container--open .select2-dropdown--below {
    border: none !important;
    border-radius: var(--bs-border-radius);
    background-color: #fff;
    padding: 0.6rem 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: none !important;
    border-radius: 0.5rem;
    background-color: #f5f5f5;
    margin: 0.5rem 0;
    padding: 0.5rem 0.35rem;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #f5f5f5 !important;
    color: var(--text-primary) !important;
}

.select2-container--default.select2-container--open.select2-container--below .select2-selection--single,
.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}


label.required::after {
    content: " *";
    color: red;
}

/* PRODUCT DETAIL*/
.ecomm-prod-slider .carousel-indicators [data-bs-target] {
    opacity: 0.3;
}

.ecomm-prod-slider .carousel-indicators .active {
    opacity: 1;
}

.ecomm-prod-slider .product-carousel-indicators {
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;
}

.ecomm-prod-slider .product-carousel-indicators::-webkit-scrollbar {
    height: 6px;
    opacity: 0;
}

.ecomm-prod-slider .product-carousel-indicators::-webkit-scrollbar:hover {
    opacity: 1;
}

.ecomm-prod-slider .product-carousel-indicators::-webkit-scrollbar-track {
    background: transparent;
}

.ecomm-prod-slider .product-carousel-indicators::-webkit-scrollbar-thumb {
    background: #e2eaf2;
}

.ecomm-prod-slider .product-carousel-indicators::-webkit-scrollbar-thumb:hover {
    background: #9cb7d2;
}

.offer-check .form-check {
    border: 1px solid var(--bs-card-border-color) !important;
    border-radius: 12px !important;
    transition: border-color 0.2s, box-shadow 0.2s;
}

/* Hiệu ứng khi hover */
.offer-check .form-check:hover,
.offer-check .form-check:focus-within {
    border-radius: 12px !important;
    box-shadow: 0 1px 8px rgba(49, 130, 206, 0.08);
    background-color: color-mix(in srgb, var(--dh-primary-color) 10%, transparent) !important;
    border: 1px dashed var(--dh-primary-color) !important;
}

.offer-check .form-check .form-check-input:checked+.form-check-label::after {
    border-radius: 12px !important;
    background-color: color-mix(in srgb, var(--dh-primary-color) 10%, transparent) !important;
    border: 1px solid var(--dh-primary-color) !important;
}

/* CSS CARD */
.dh-right-angle-1 {
    top: -44px;
    width: 160px;
    z-index: 0;
    height: 160px;
    right: -104px;
    position: absolute;
    transform: rotate(40deg);
}

.dh-bg-right-shape-1 {
    background: url(https://socialcare.vn/assets/images/extra/info-shap.png) no-repeat top right;
}

.dh-bg-right-shape-2 {
    background-image: url(https://theodoiviet.com/assets/images/extra/corner.png);
    background-position: right;
    background-repeat: no-repeat;
    background-size: contain
}


/* SCROLL */
.dh-scroll-y {
    overflow-y: auto;
}

.dh-scroll-y::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.dh-scroll-y::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.dh-scroll-y::-webkit-scrollbar-track {
    background-color: transparent;
}


.collapse:not(.show)~button .toggle-text::after {
    content: "Xem thêm thông số";
}

.collapse.show~button .toggle-text::after {
    content: "Thu gọn";
}

.collapse.show~button i {
    transform: rotate(180deg);
}

.move-up-down {
    animation: moveUpDown 1.5s ease-in-out infinite;
}

@keyframes moveUpDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

.move-up-right {
    animation: moveUpRight 1.5s ease-in-out infinite;
}

@keyframes moveUpRight {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(3px);
    }
}

/* Rotate khi mở */
.collapse.show~button .move-up-down {
    transform: rotate(180deg);
    animation: none;
}

/* ============================================
   CSS FROM CLIENT HOME ORDER BLADE
   ============================================ */

/* Ensure spinner is visible and smooth */
#submit-order-btn:disabled .btn-loading-spinner {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Badge styles for service details */
.badge.bg-primary-subtle {
    background-color: #cfe2ff !important;
    color: #084298 !important;
    border: 1px solid #b6d4fe;
    box-shadow: 0 1px 2px rgba(13, 110, 253, 0.1);
    transition: all 0.2s ease;
    cursor: default;
}

.badge.bg-success-subtle {
    background-color: #d1e7dd !important;
    color: #0f5132 !important;
    border: 1px solid #badbcc;
    box-shadow: 0 1px 2px rgba(25, 135, 84, 0.1);
    transition: all 0.2s ease;
    cursor: default;
}

.badge.bg-primary-subtle:hover,
.badge.bg-success-subtle:hover,
.badge.bg-info-subtle:hover,
.badge.bg-danger-subtle:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    cursor: default;
}

/* Badge styles cho service details */
.badge.bg-info-subtle {
    background-color: #cff4fc !important;
    color: #055160 !important;
    border: 1px solid #b6effb;
    box-shadow: 0 1px 2px rgba(13, 202, 240, 0.1);
    transition: all 0.2s ease;
    cursor: default;
}

.badge.bg-warning-subtle {
    background-color: #fff3cd !important;
    color: #664d03 !important;
    border: 1px solid #ffecb5;
    box-shadow: 0 1px 2px rgba(255, 193, 7, 0.1);
    transition: all 0.2s ease;
    cursor: default;
}

.badge.bg-danger-subtle {
    background-color: #f8d7da !important;
    color: #842029 !important;
    border: 1px solid #f5c2c7;
    box-shadow: 0 1px 2px rgba(220, 53, 69, 0.1);
    transition: all 0.2s ease;
    cursor: default;
}

.badge.bg-info-subtle:hover,
.badge.bg-warning-subtle:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* Badge light styles cho hỗ trợ hủy và bảo hành */
.badge.badge-light-danger,
span.badge.badge-light-danger {
    background-color: #fee2e2 !important;
    color: #991b1b !important;
    border: 1px solid #fecaca !important;
    box-shadow: 0 1px 2px rgba(220, 38, 38, 0.1) !important;
    transition: all 0.2s ease;
    cursor: default;
    font-weight: 500 !important;
    display: inline-block !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 0.375rem !important;
}

.badge.badge-light-danger:hover,
span.badge.badge-light-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.15) !important;
    background-color: #fecaca !important;
}

.badge.badge-light-success,
span.badge.badge-light-success {
    background-color: #dcfce7 !important;
    color: #166534 !important;
    border: 1px solid #bbf7d0 !important;
    box-shadow: 0 1px 2px rgba(34, 197, 94, 0.1) !important;
    transition: all 0.2s ease;
    cursor: default;
    font-weight: 500 !important;
    display: inline-block !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 0.375rem !important;
}

.badge.badge-light-success:hover,
span.badge.badge-light-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(34, 197, 94, 0.15) !important;
    background-color: #bbf7d0 !important;
}

/* Dark mode support */
[data-bs-theme="dark"] .badge.badge-light-danger,
[data-bs-theme="dark"] span.badge.badge-light-danger {
    background-color: #7f1d1d !important;
    color: #fecaca !important;
    border: 1px solid #991b1b !important;
}

[data-bs-theme="dark"] .badge.badge-light-success,
[data-bs-theme="dark"] span.badge.badge-light-success {
    background-color: #14532d !important;
    color: #bbf7d0 !important;
    border: 1px solid #166534 !important;
}

/* Style cho schedule time container */
#schedule-time-container .card {
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    border: 1px solid #dee2e6;
}

#schedule-time-container .card-header {
    background-color: #f8f9fa !important;
    border-bottom: 1px solid #dee2e6;
}

#schedule-time-container .card:hover {
    box-shadow: 0 2px 8px rgba(70, 128, 255, 0.1);
}

/* Custom Calendar Picker */
.calendar-picker {
    background: #fff;
    border-radius: 0.5rem;
    padding: 1rem;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.calendar-month-year {
    display: flex;
    gap: 0.5rem;
    flex: 1;
}

.calendar-month-year select {
    flex: 1;
    font-weight: 600;
    border: 1px solid #dee2e6;
}

.calendar-nav-btn {
    min-width: 36px;
    padding: 0.25rem 0.5rem;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.calendar-weekday {
    text-align: center;
    font-weight: 600;
    font-size: 0.875rem;
    color: #6c757d;
    padding: 0.5rem 0;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.calendar-day:hover {
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

.calendar-day.other-month {
    color: #adb5bd;
}

.calendar-day.today {
    background-color: #e7f1ff;
    color: #4680ff;
    border-color: #4680ff;
    font-weight: 700;
}

.calendar-day.selected {
    background-color: #4680ff;
    color: #fff;
    border-color: #4680ff;
}

.calendar-day.disabled {
    color: #adb5bd;
    cursor: not-allowed;
    opacity: 0.5;
}

.calendar-day.disabled:hover {
    background-color: transparent;
    border-color: transparent;
}

.calendar-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.5rem;
    border-top: 1px solid #e9ecef;
}

/* Time Picker */
.time-picker {
    background: #fff;
    border-radius: 0.5rem;
    padding: 1rem;
}

.time-picker-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
}

.time-picker-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
    max-height: 200px;
    overflow-y: auto;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 0.375rem;
}

.time-picker-item {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
    background: #fff;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease;
}

.time-picker-item:hover {
    background-color: #e7f1ff;
    border-color: #4680ff;
    transform: translateY(-1px);
}

.time-picker-item.selected {
    background-color: #4680ff;
    color: #fff;
    border-color: #4680ff;
}

.time-display .form-control {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    font-size: 0.875rem;
    padding: 0.75rem;
}

/* Alert info trong schedule */
#schedule-time-container .alert-info {
    background-color: #cff4fc;
    border-color: #b6effb;
    color: #055160;
}

/* Responsive */
@media (max-width: 768px) {
    .calendar-month-year {
        flex-direction: column;
    }

    .time-picker-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Style cho input link và nút dán */
#link {
    transition: all 0.2s ease;
}

#link:focus {
    border-color: #4680ff;
    box-shadow: 0 0 0 0.2rem rgba(70, 128, 255, 0.25);
}

#pasteFromClipboard {
    transition: all 0.2s ease;
    min-width: 100px;
}

#pasteFromClipboard:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(70, 128, 255, 0.3);
}

#pasteFromClipboard:active {
    transform: translateY(0);
}

.input-group-text {
    border-color: #dee2e6;
    background-color: #fff;
}

.input-group:focus-within .input-group-text {
    border-color: #4680ff;
}



.custom-toast.hiding {
    animation: slideOutRight 0.3s ease-out forwards;
}

@media (max-width: 576px) {
    .custom-toast-container {
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .custom-toast {
        min-width: auto;
    }
}

/* User avatar styles */
.profile-user {
    position: relative;
}

.profile-user .rounded-circle {
    font-weight: 600;
    font-size: 20px;
}

/* Service details card */
#serviceDetailsCard {
    display: block;
}

#serviceDetailsEmpty {
    display: block;
}

#serviceDetailsContent {
    display: none;
}

#serviceDetailsLoading {
    display: none;
}

/* Button Loading Spinner */
.btn-loading-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255, 255, 255, 0.2);
    border-top-color: #ffffff;
    border-right-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: btn-spin 0.7s linear infinite;
    flex-shrink: 0;
    margin-right: 10px;
    vertical-align: middle;
    will-change: transform;
}

@keyframes btn-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Button loading state */
#submit-order-btn {
    transition: opacity 0.2s ease, background-color 0.2s ease;
    position: relative;
}

#submit-order-btn:disabled {
    opacity: 0.85;
    cursor: not-allowed;
    pointer-events: none;
    position: relative;
}

#submit-order-btn:disabled .btn-loading-spinner {
    animation: btn-spin 0.7s linear infinite;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Hide SweetAlert backdrop when using custom toast */
.swal2-backdrop-show:not(:has(.swal2-popup)),
.swal2-backdrop:not(:has(+ .swal2-container .swal2-popup)) {
    display: none !important;
}

/* Ensure custom toast is above everything */
.custom-toast-container {
    z-index: 10000 !important;
}

/* ============================================
   SERVICE DESCRIPTION STYLES
   ============================================ */

.service-description {
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.service-description-content {
    max-height: 200px;
    overflow-y: auto;
    padding: 0.5rem 0;
    line-height: 1.6;
    color: #495057;
    font-size: 0.875rem;
}

.service-description-content::-webkit-scrollbar {
    width: 6px;
}

.service-description-content::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 3px;
}

.service-description-content::-webkit-scrollbar-thumb {
    background: #dee2e6;
    border-radius: 3px;
}

.service-description-content::-webkit-scrollbar-thumb:hover {
    background: #adb5bd;
}

.service-description-content p {
    margin-bottom: 0.5rem;
}

.service-description-content p:last-child {
    margin-bottom: 0;
}

.service-description-content ul,
.service-description-content ol {
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
}

.service-description-content li {
    margin-bottom: 0.25rem;
}

.service-description-content strong {
    font-weight: 600;
    color: #1c252e;
}

.service-description-content code {
    background: #f8f9fa;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.8125rem;
    color: #e83e8c;
    font-family: 'Courier New', monospace;
}

.service-description-content pre {
    background: #f8f9fa;
    padding: 0.75rem;
    border-radius: 0.375rem;
    overflow-x: auto;
    margin-bottom: 0.5rem;
    font-size: 0.8125rem;
    line-height: 1.5;
}

.service-description-content pre code {
    background: none;
    padding: 0;
    color: #495057;
}

.service-description-content a {
    color: #4680ff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.service-description-content a:hover {
    color: #2d5cdd;
    text-decoration: underline;
}

/* Empty state styling */
.service-description-content p.text-muted.fst-italic {
    color: #adb5bd;
    font-style: italic;
}

/* ============================================
   LEVEL PROGRESS SECTION STYLES
   ============================================ */

.level-progress-section {
    margin-top: 1rem;
}

.level-progress-section .progress {
    background-color: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
}

.level-progress-section .progress-bar {
    position: relative;
    transition: width 0.6s ease;
    background: linear-gradient(90deg, #4680ff 0%, #5a8fff 100%);
}

.level-progress-section .progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-image: linear-gradient(-45deg,
            rgba(255, 255, 255, 0.2) 25%,
            transparent 25%,
            transparent 50%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(255, 255, 255, 0.2) 75%,
            transparent 75%,
            transparent);
    background-size: 1rem 1rem;
    animation: progress-bar-stripes 1s linear infinite;
    border-radius: 3px;
}

@keyframes progress-bar-stripes {
    0% {
        background-position: 1rem 0;
    }

    100% {
        background-position: 0 0;
    }
}

/* ============================================
   DARK MODE SUPPORT
   ============================================ */

/* Dark Mode - Calendar Picker */
[data-bs-theme="dark"] .calendar-picker {
    background: #1c252e;
    color: #e9ecef;
}

[data-bs-theme="dark"] .calendar-header {
    color: #e9ecef;
}

[data-bs-theme="dark"] .calendar-month-year select {
    background: #262932;
    border-color: #3a4149;
    color: #e9ecef;
}

[data-bs-theme="dark"] .calendar-month-year select:focus {
    background: #262932;
    border-color: #4680ff;
    color: #e9ecef;
}

[data-bs-theme="dark"] .calendar-nav-btn {
    background: #262932;
    border-color: #3a4149;
    color: #e9ecef;
}

[data-bs-theme="dark"] .calendar-nav-btn:hover {
    background: #2d3440;
    border-color: #4680ff;
    color: #4680ff;
}

[data-bs-theme="dark"] .calendar-weekday {
    color: #adb5bd;
}

[data-bs-theme="dark"] .calendar-day {
    color: #e9ecef;
    background: #262932;
    border-color: #3a4149;
}

[data-bs-theme="dark"] .calendar-day:hover {
    background-color: #2d3440;
    border-color: #4680ff;
}

[data-bs-theme="dark"] .calendar-day.other-month {
    color: #6c757d;
}

[data-bs-theme="dark"] .calendar-day.today {
    background-color: #1e3a5f;
    color: #5a8fff;
    border-color: #4680ff;
}

[data-bs-theme="dark"] .calendar-day.selected {
    background-color: #4680ff;
    color: #fff;
    border-color: #4680ff;
}

[data-bs-theme="dark"] .calendar-day.disabled {
    color: #495057;
    opacity: 0.4;
}

[data-bs-theme="dark"] .calendar-actions {
    border-top-color: #3a4149;
}

[data-bs-theme="dark"] .calendar-actions .btn-link {
    color: #adb5bd;
}

[data-bs-theme="dark"] .calendar-actions .btn-link:hover {
    color: #4680ff;
}

/* Dark Mode - Time Picker */
[data-bs-theme="dark"] .time-picker {
    background: #1c252e;
    color: #e9ecef;
}

[data-bs-theme="dark"] .time-picker-label {
    color: #adb5bd;
}

[data-bs-theme="dark"] .time-picker-grid {
    background: #262932;
    border: 1px solid #3a4149;
}

[data-bs-theme="dark"] .time-picker-item {
    background: #1c252e;
    border-color: #3a4149;
    color: #e9ecef;
}

[data-bs-theme="dark"] .time-picker-item:hover {
    background-color: #2d3440;
    border-color: #4680ff;
    color: #4680ff;
}

[data-bs-theme="dark"] .time-picker-item.selected {
    background-color: #4680ff;
    color: #fff;
    border-color: #4680ff;
}

/* Dark Mode - Schedule Input */
[data-bs-theme="dark"] #schedule-time-display {
    background-color: #262932 !important;
    border-color: #3a4149;
    color: #e9ecef;
}

[data-bs-theme="dark"] #schedule-time-display:focus {
    background-color: #262932 !important;
    border-color: #4680ff;
    color: #e9ecef;
}

[data-bs-theme="dark"] #schedule-time-display::placeholder {
    color: #6c757d;
}

[data-bs-theme="dark"] .input-group-text {
    background-color: #262932;
    border-color: #3a4149;
    color: #e9ecef;
}

/* Dark Mode - Form Controls */
[data-bs-theme="dark"] .form-control {
    background-color: #262932;
    border-color: #3a4149;
    color: #e9ecef;
}

[data-bs-theme="dark"] .form-control:focus {
    background-color: #262932;
    border-color: #4680ff;
    color: #e9ecef;
    box-shadow: 0 0 0 0.2rem rgba(70, 128, 255, 0.25);
}

[data-bs-theme="dark"] .form-control::placeholder {
    color: #6c757d;
}

[data-bs-theme="dark"] #calendar-time-picker-popup .card {
    background: #1c252e;
    border-color: #3a4149;
}

[data-bs-theme="dark"] #calendar-time-picker-popup .card-body {
    background: #1c252e;
    color: #e9ecef;
}

/* Dark Mode - Time Picker Grid Scrollbar */
[data-bs-theme="dark"] .time-picker-grid::-webkit-scrollbar {
    width: 6px;
}

[data-bs-theme="dark"] .time-picker-grid::-webkit-scrollbar-track {
    background: #262932;
    border-radius: 3px;
}

[data-bs-theme="dark"] .time-picker-grid::-webkit-scrollbar-thumb {
    background: #3a4149;
    border-radius: 3px;
}

[data-bs-theme="dark"] .time-picker-grid::-webkit-scrollbar-thumb:hover {
    background: #495057;
}

/* ============================================
   ACCOUNT INFO CARD STYLES
   ============================================ */

.account-info-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.account-info-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.account-info-header {
    background: #fff;
    color: #1c252e;
    border: none;
    border-bottom: 2px solid #e9ecef;
    padding: 0.875rem 1rem;
}

.account-info-header h6 {
    color: #1c252e;
    margin: 0;
    font-size: 0.9375rem;
}

.account-profile-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.account-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.account-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4680ff 0%, #5a8fff 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(70, 128, 255, 0.25);
    transition: all 0.3s ease;
}

.account-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(70, 128, 255, 0.35);
}

.account-status-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background: #10b981;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.account-name {
    flex: 1;
}

.account-name h6 {
    color: #1c252e;
    font-size: 0.9375rem;
    margin: 0;
}

.account-info-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0.625rem;
    margin-bottom: 0.375rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    background: #f8f9fa;
}

.account-info-item:hover {
    background: #f0f2f5;
    transform: translateX(2px);
}

.account-info-item-last {
    margin-bottom: 1rem;
}

.account-info-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
    transition: all 0.3s ease;
}

.account-info-icon-primary {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1976d2;
}

.account-info-icon-success {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #388e3c;
}

.account-info-icon-info {
    background: linear-gradient(135deg, #e1f5fe 0%, #b3e5fc 100%);
    color: #0288d1;
}

.account-info-icon:hover {
    transform: scale(1.08);
}

.account-info-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.account-info-label {
    color: #6c757d;
    font-size: 0.8125rem;
    font-weight: 500;
}

.account-info-value {
    color: #1c252e;
    font-weight: 600;
    font-size: 0.875rem;
    text-align: right;
}

.account-info-value-success {
    color: #10b981;
}

.account-level-badge {
    background: linear-gradient(135deg, #e1f5fe 0%, #b3e5fc 100%);
    color: #0288d1;
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8125rem;
    border: 1px solid rgba(2, 136, 209, 0.2);
}

.account-actions {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-bottom: 1rem;
}

.account-action-btn {
    border-radius: 8px;
    padding: 0.5rem 0.875rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border: none;
}

.account-action-btn-primary {
    background: linear-gradient(135deg, #1c252e 0%, #2d3748 100%);
    color: #fff;
}

.account-action-btn-primary:hover {
    background: linear-gradient(135deg, #2d3748 0%, #1c252e 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(28, 37, 46, 0.3);
}

.account-level-progress {
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
    margin-top: 0.75rem;
}

.account-level-progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.625rem;
}

.account-level-progress-label {
    color: #6c757d;
    font-size: 0.75rem;
    font-weight: 500;
}

.account-level-progress-next {
    color: #4680ff;
    font-size: 0.75rem;
    font-weight: 600;
}

.account-level-progress-bar {
    height: 6px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.625rem;
    position: relative;
}

.account-level-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4680ff 0%, #5a8fff 50%, #6e9eff 100%);
    border-radius: 10px;
    transition: width 0.6s ease;
    position: relative;
    overflow: hidden;
}

.account-level-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.account-level-progress-text {
    color: #6c757d;
    font-size: 0.75rem;
    margin: 0;
    line-height: 1.4;
}

/* ============================================
   SERVICE DETAILS CARD STYLES
   ============================================ */

.service-details-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    max-height: 600px;
    display: flex;
    flex-direction: column;
}

.service-details-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.service-details-card .card-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.service-details-header {
    background: #fff;
    color: #1c252e;
    border: none;
    border-bottom: 2px solid #e9ecef;
    padding: 0.875rem 1rem;
}

.service-details-header h6 {
    color: #1c252e;
    margin: 0;
    font-size: 0.9375rem;
}

.service-details-loading {
    text-align: center;
    padding: 3rem 1rem;
}

.service-details-spinner {
    margin-bottom: 1rem;
}

.service-details-loading-text {
    color: #6c757d;
    font-size: 0.875rem;
    margin: 0;
}

.service-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f2f5;
    transition: all 0.2s ease;
    font-size: 0.8125rem;
}

.service-detail-row:last-of-type {
    border-bottom: none;
}

.service-detail-row:hover {
    background: #f8f9fa;
    margin: 0 -0.75rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    border-radius: 6px;
}

.service-detail-label {
    color: #6c757d;
    font-size: 0.75rem;
    font-weight: 500;
    flex: 0 0 45%;
}

.service-detail-value {
    color: #1c252e;
    font-size: 0.75rem;
    font-weight: 500;
    text-align: right;
    flex: 1;
    word-break: break-word;
}

.service-detail-value-bold {
    font-weight: 600;
    color: #1c252e;
}

.service-detail-value-primary {
    color: #4680ff;
    font-weight: 600;
}

.service-description-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.service-description-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.service-description-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, #e1f5fe 0%, #b3e5fc 100%);
    color: #0288d1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.service-description-title {
    color: #1c252e;
    font-weight: 600;
    font-size: 0.9375rem;
}

.service-description-content {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 0.75rem;
    border-left: 2px solid #4680ff;
}

.service-description-text {
    color: #6c757d;
    font-size: 0.75rem;
    line-height: 1.5;
    margin: 0;
}

.service-details-empty {
    text-align: center;
    padding: 3rem 1rem;
}

.service-details-empty-icon {
    margin-bottom: 1rem;
}

.service-details-empty-icon i {
    font-size: 3rem;
    color: #dee2e6;
    opacity: 0.5;
}

.service-details-empty-text {
    color: #6c757d;
    font-size: 0.875rem;
    margin: 0;
}

/* Dark Mode Support */
[data-bs-theme="dark"] .account-info-card,
[data-bs-theme="dark"] .service-details-card {
    background: #1c252e;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .account-info-card:hover,
[data-bs-theme="dark"] .service-details-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

[data-bs-theme="dark"] .account-profile-section {
    background: linear-gradient(135deg, #262932 0%, #1c252e 100%);
}

[data-bs-theme="dark"] .account-name h6 {
    color: #e9ecef;
}

[data-bs-theme="dark"] .account-info-item {
    background: #262932;
}

[data-bs-theme="dark"] .account-info-item:hover {
    background: #2d3440;
}

[data-bs-theme="dark"] .account-info-value {
    color: #e9ecef;
}

[data-bs-theme="dark"] .account-level-progress {
    border-top-color: #3a4149;
}

[data-bs-theme="dark"] .service-detail-row {
    border-bottom-color: #3a4149;
}

[data-bs-theme="dark"] .service-detail-row:hover {
    background: #262932;
}

[data-bs-theme="dark"] .service-detail-value {
    color: #e9ecef;
}

[data-bs-theme="dark"] .service-description-content {
    background: #262932;
    border-left-color: #4680ff;
}

[data-bs-theme="dark"] .service-description-text {
    color: #adb5bd;
}

/* ============================================
   STATISTICS CARDS STYLES
   ============================================ */

.stats-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stats-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.stats-card:hover::before {
    opacity: 1;
}

.stats-card-primary {
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
    border-left: 4px solid #4680ff;
}

.stats-card-success {
    background: linear-gradient(135deg, #e8f5e9 0%, #ffffff 100%);
    border-left: 4px solid #10b981;
}

.stats-card-info {
    background: linear-gradient(135deg, #e1f5fe 0%, #ffffff 100%);
    border-left: 4px solid #0288d1;
}

.stats-card-warning {
    background: linear-gradient(135deg, #fff3e0 0%, #ffffff 100%);
    border-left: 4px solid #f59e0b;
}

.stats-card .card-body {
    padding: 1.25rem;
}

.stats-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.stats-icon-primary {
    background: linear-gradient(135deg, #4680ff 0%, #5a8fff 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(70, 128, 255, 0.3);
}

.stats-icon-success {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.stats-icon-info {
    background: linear-gradient(135deg, #0288d1 0%, #03a9f4 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(2, 136, 209, 0.3);
}

.stats-icon-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.stats-card:hover .stats-icon {
    transform: scale(1.1) rotate(5deg);
}

.stats-label {
    color: #6c757d;
    font-size: 0.8125rem;
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stats-value {
    color: #1c252e;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.stats-card-primary .stats-value {
    color: #4680ff;
}

.stats-card-success .stats-value {
    color: #10b981;
}

.stats-card-info .stats-value {
    color: #0288d1;
}

.stats-card-warning .stats-value {
    color: #f59e0b;
}

/* Dark Mode Support for Stats Cards */
[data-bs-theme="dark"] .stats-card {
    background: #1c252e;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .stats-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

[data-bs-theme="dark"] .stats-card-primary {
    background: linear-gradient(135deg, #1e3a5f 0%, #1c252e 100%);
}

[data-bs-theme="dark"] .stats-card-success {
    background: linear-gradient(135deg, #1a3a2e 0%, #1c252e 100%);
}

[data-bs-theme="dark"] .stats-card-info {
    background: linear-gradient(135deg, #1a3a4a 0%, #1c252e 100%);
}

[data-bs-theme="dark"] .stats-card-warning {
    background: linear-gradient(135deg, #3a2e1a 0%, #1c252e 100%);
}

[data-bs-theme="dark"] .stats-label {
    color: #adb5bd;
}

[data-bs-theme="dark"] .stats-value {
    color: #e9ecef;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .account-profile-section {
        flex-direction: column;
        text-align: center;
    }

    .account-info-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .account-info-value {
        text-align: left;
    }

    .service-detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .service-detail-value {
        text-align: left;
    }

    .stats-card .card-body {
        padding: 1rem;
    }

    .stats-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .stats-value {
        font-size: 1.25rem;
    }
}

/* ============================================
   ORDER BLADE STYLES
   ============================================ */

/* Bulk Order Modal Styles */
/* Custom Bulk Order Modal - No Bootstrap */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease-out, visibility 0.25s ease-out;
    padding: 1rem;
}

.custom-modal.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    animation: modalFadeIn 0.25s ease-out;
}

.custom-modal.closing {
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.25s ease-out, visibility 0.25s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.custom-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    animation: overlayFadeIn 0.25s ease-out;
    transition: opacity 0.25s ease-out;
}

@keyframes overlayFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.custom-modal.closing .custom-modal-overlay {
    opacity: 0;
    transition: opacity 0.25s ease-out;
}

.custom-modal-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    max-height: 90vh;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1;
    animation: modalSlideUp 0.25s ease-out;
    transform-origin: center;
    transition: transform 0.25s ease-out, opacity 0.25s ease-out;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes modalSlideDown {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    to {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
}

.custom-modal.active .custom-modal-container {
    animation: modalSlideUp 0.25s ease-out;
}

.custom-modal.closing .custom-modal-container {
    animation: modalSlideDown 0.25s ease-out;
}

.custom-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #dee2e6;
    background-color: #ffffff;
    flex-shrink: 0;
}

.custom-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1c252e;
    margin: 0;
}

.custom-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.custom-modal-close:hover {
    background-color: #f1f3f5;
    color: #1c252e;
}

.custom-modal-body {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.custom-modal-row {
    display: flex;
    height: 100%;
    min-height: 500px;
}

.custom-modal-col-left {
    width: 50%;
    background-color: #f8f9fa;
    border-right: 1px solid #dee2e6;
    display: flex;
    flex-direction: column;
}

.custom-modal-col-right {
    width: 50%;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
}

.custom-modal-col-content {
    padding: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: auto;
}

.custom-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background-color: #fff3cd;
    border-top: 1px solid #ffc107;
    flex-shrink: 0;
    gap: 1rem;
}

/* Left Panel Styles */
.bulk-service-box {
    padding: 0.5rem;
    border-radius: 6px;
    background-color: #e3d5f5;
    border: 1px solid #9d7bd8;
}

.bulk-service-box>div {
    font-size: 0.875rem;
    line-height: 1.4;
    color: #1c252e;
}

.bulk-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.bulk-form-row {
    display: flex;
    gap: 0.5rem;
    margin: 0;
}

.bulk-form-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.bulk-form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1c252e;
    margin: 0;
}

.bulk-form-control {
    width: 100%;
    padding: 0.5rem;
    font-size: 0.875rem;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bulk-form-control:focus {
    outline: none;
    border-color: #4680ff;
    box-shadow: 0 0 0 0.2rem rgba(70, 128, 255, 0.15);
}

.bulk-form-control[type="number"] {
    min-height: 38px;
}

.bulk-form-control[rows] {
    min-height: 100px;
    resize: vertical;
}

.bulk-form-text {
    font-size: 0.75rem;
    color: #6c757d;
    margin: 0;
}

.bulk-summary-wrapper {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bulk-summary-box {
    padding: 0.75rem;
    border-radius: 8px;
    background-color: #e3f2fd;
    border: 1px solid #2196f3;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bulk-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
}

.bulk-summary-item.bulk-summary-total {
    padding-top: 0.5rem;
    margin-top: 0.5rem;
    border-top: 1px solid #90caf9;
    font-size: 0.875rem;
}

.bulk-summary-label {
    color: #6c757d;
}

.bulk-summary-value {
    font-weight: 600;
    color: #1c252e;
}

.bulk-summary-value-danger {
    font-weight: 700;
    color: #dc3545;
}

.bulk-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    background-color: #4680ff;
    color: #ffffff;
    border-radius: 12px;
}

.bulk-start-btn {
    width: 100%;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #4680ff 0%, #357abd 100%);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(70, 128, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.bulk-start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(70, 128, 255, 0.4);
}

.bulk-start-btn:active {
    transform: translateY(0);
}

/* Right Panel Styles */
.bulk-right-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}

.bulk-right-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1c252e;
    margin: 0;
}

.bulk-right-progress {
    font-size: 0.8125rem;
    color: #6c757d;
}

.bulk-orders-list {
    flex: 1;
    overflow-y: auto;
    border: 1px solid #e9ecef;
    border-radius: 6px;
}

.bulk-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

.bulk-table thead {
    background-color: #f8f9fa;
    position: sticky;
    top: 0;
    z-index: 10;
}

.bulk-table th {
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.75rem;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
}

.bulk-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #f1f3f5;
}

.bulk-table tbody tr:hover {
    background-color: rgba(70, 128, 255, 0.05);
}

.bulk-table tbody tr:last-child td {
    border-bottom: none;
}

.bulk-placeholder {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.bulk-placeholder-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    max-width: 300px;
    width: 100%;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.bulk-placeholder-card i {
    font-size: 48px;
    color: #dee2e6;
    display: block;
    margin-bottom: 0.75rem;
}

.bulk-placeholder-card p {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6c757d;
    margin: 0;
}

/* Footer Styles */
.bulk-warning-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.bulk-warning-content i {
    font-size: 20px;
    color: #ffc107;
    flex-shrink: 0;
}

.bulk-warning-content small {
    font-size: 0.8125rem;
    color: #856404;
    line-height: 1.5;
    margin: 0;
}

.bulk-footer-buttons {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.bulk-btn-secondary,
.bulk-btn-danger {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bulk-btn-secondary {
    background-color: #6c757d;
    color: #ffffff;
}

.bulk-btn-secondary:hover {
    background-color: #5a6268;
}

.bulk-btn-danger {
    background-color: #dc3545;
    color: #ffffff;
}

.bulk-btn-danger:hover {
    background-color: #c82333;
}

/* Responsive */
@media (max-width: 991.98px) {
    .custom-modal-row {
        flex-direction: column;
        min-height: auto;
    }

    .custom-modal-col-left,
    .custom-modal-col-right {
        width: 100%;
    }

    .custom-modal-col-left {
        border-right: none;
        border-bottom: 1px solid #dee2e6;
    }

    .custom-modal-footer {
        flex-direction: column;
        gap: 0.75rem;
    }

    .bulk-warning-content {
        width: 100%;
    }

    .bulk-footer-buttons {
        width: 100%;
    }

    .bulk-btn-secondary,
    .bulk-btn-danger {
        flex: 1;
        justify-content: center;
    }
}

/* Old Bootstrap Modal Styles - Keep for backward compatibility but override */
#bulkOrderModal.old-bootstrap-modal {
    display: none !important;
}

#bulkOrderModal.show {
    display: block !important;
}

#bulkOrderModal .modal-content {
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

#bulkOrderModal .modal-header {
    border-bottom: 2px solid #e9ecef;
    padding: 1.25rem 1.5rem;
}

#bulkOrderModal .modal-body {
    padding: 1.5rem;
}

#bulkOrderModal .modal-footer {
    border-top: 2px solid #e9ecef;
    padding: 1.25rem 1.5rem;
}

#bulkOrderModal .card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.2s ease;
}

#bulkOrderModal .card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

#bulkOrderModal .card-header {
    border-bottom: 1px solid #e9ecef;
    padding: 0.75rem 1rem;
}

#bulkOrderModal .card-body {
    padding: 1rem;
}

#bulkOrderModal .card.border-primary,
#bulkOrderModal .card.border-info,
#bulkOrderModal .card.border-success {
    border-width: 2px;
}

#bulkOrderModal .table {
    font-size: 0.875rem;
}

#bulkOrderModal .table thead th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    padding: 0.75rem;
}

#bulkOrderModal .table tbody td {
    padding: 0.75rem;
    vertical-align: middle;
}

#bulkOrderModal .table tbody tr:hover {
    background-color: rgba(70, 128, 255, 0.05);
}

#bulkOrderModal .badge {
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
}

#bulk-service-display {
    font-size: 1rem;
    line-height: 1.8;
}

#bulk-service-display .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

/* Dark mode support for bulk order modal */
[data-bs-theme="dark"] #bulkOrderModal .modal-header,
[data-bs-theme="dark"] #bulkOrderModal .modal-footer {
    border-color: #334155;
}

[data-bs-theme="dark"] #bulkOrderModal .card {
    border-color: #334155;
    background-color: #1e293b;
}

[data-bs-theme="dark"] #bulkOrderModal .card-header {
    border-color: #334155;
    background-color: #1e293b;
}

[data-bs-theme="dark"] #bulkOrderModal .table tbody tr:hover {
    background-color: rgba(70, 128, 255, 0.1);
}

/* Enhanced Bulk Order Modal Styles - Matching Image Design */
#bulkOrderModal .modal-dialog {
    max-width: 1200px;
}

#bulkOrderModal .modal-header {
    background-color: #ffffff;
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 1.5rem;
}

#bulkOrderModal .modal-header .modal-title {
    font-size: 1.25rem;
    color: #1c252e;
    font-weight: 700;
}

#bulkOrderModal .modal-body {
    padding: 0;
}

#bulkOrderModal .modal-body .row {
    min-height: 500px;
}

/* Left Panel Styles */
#bulkOrderModal .col-md-6.border-end {
    background-color: #f8f9fa;
    border-right: 1px solid #dee2e6 !important;
}

#bulkOrderModal .col-md-6:first-child .p-3 {
    padding: 1rem !important;
}

/* Optimize left panel spacing */
#bulkOrderModal .col-md-6:first-child .p-3>* {
    margin-bottom: 0 !important;
}

#bulkOrderModal .col-md-6:first-child .form-label {
    margin-bottom: 0.25rem !important;
}

#bulkOrderModal .col-md-6:first-child .form-text {
    margin-top: 0.25rem !important;
    margin-bottom: 0 !important;
}

#bulkOrderModal .col-md-6:first-child textarea.form-control {
    margin-bottom: 0 !important;
}

#bulkOrderModal .col-md-6:first-child input.form-control {
    margin-bottom: 0 !important;
}

/* Service Info Box - Light Purple */
#bulkOrderModal #bulk-order-service-info {
    margin-bottom: 1rem;
}

#bulkOrderModal #bulk-order-service-info>div {
    background-color: #e3d5f5 !important;
    border: 1px solid #9d7bd8 !important;
    border-radius: 8px !important;
    padding: 0.875rem 1rem !important;
}

#bulkOrderModal #bulk-service-display {
    color: #1c252e;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Form Controls */
#bulkOrderModal .form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1c252e;
    margin-bottom: 0.5rem;
}

#bulkOrderModal .form-control {
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

#bulkOrderModal .form-control:focus {
    border-color: #4680ff;
    box-shadow: 0 0 0 0.2rem rgba(70, 128, 255, 0.15);
}

#bulkOrderModal textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

#bulkOrderModal .form-text {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 0.375rem;
}

/* Order Summary Box - Light Blue */
#bulkOrderModal .mt-auto>div:first-child {
    background-color: #e3f2fd !important;
    border: 1px solid #2196f3 !important;
    border-radius: 8px !important;
    padding: 1rem !important;
}

#bulkOrderModal .mt-auto .d-flex {
    font-size: 0.875rem;
}

#bulkOrderModal .mt-auto .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    font-weight: 600;
}

#bulkOrderModal .mt-auto .border-top {
    border-top: 1px solid #90caf9 !important;
    padding-top: 0.75rem !important;
    margin-top: 0.75rem !important;
}

#bulkOrderModal .mt-auto .fw-bold.text-danger {
    color: #dc3545 !important;
    font-size: 1rem;
}

/* Start Button */
#bulkOrderModal #bulk-order-start-btn {
    background: linear-gradient(135deg, #4680ff 0%, #357abd 100%);
    border: none;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(70, 128, 255, 0.3);
}

#bulkOrderModal #bulk-order-start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(70, 128, 255, 0.4);
}

#bulkOrderModal #bulk-order-start-btn:active {
    transform: translateY(0);
}

/* Right Panel Styles */
#bulkOrderModal .col-md-6:last-child {
    background-color: #ffffff;
}

#bulkOrderModal .col-md-6:last-child .p-3 {
    padding: 1rem !important;
}

#bulkOrderModal .col-md-6:last-child h6 {
    font-size: 1rem;
    color: #1c252e;
}

#bulkOrderModal .col-md-6:last-child .text-muted {
    font-size: 0.8125rem;
}

/* Placeholder */
#bulkOrderModal #bulk-orders-placeholder {
    min-height: auto;
    padding: 1rem !important;
}

#bulkOrderModal #bulk-orders-placeholder .card {
    background-color: #f8f9fa !important;
    border: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

#bulkOrderModal #bulk-orders-placeholder i {
    font-size: 48px !important;
    color: #dee2e6 !important;
    margin-bottom: 0.75rem !important;
}

#bulkOrderModal #bulk-orders-placeholder p {
    color: #6c757d;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Orders List Table */
#bulkOrderModal #bulk-orders-list-container {
    border: 1px solid #e9ecef;
    border-radius: 6px;
    overflow: hidden;
}

#bulkOrderModal #bulk-orders-list-container .table {
    margin-bottom: 0;
}

#bulkOrderModal #bulk-orders-list-container .table thead {
    background-color: #f8f9fa;
}

#bulkOrderModal #bulk-orders-list-container .table thead th {
    font-size: 0.75rem;
    font-weight: 600;
    color: #495057;
    padding: 0.75rem;
    border-bottom: 2px solid #dee2e6;
}

#bulkOrderModal #bulk-orders-list-container .table tbody td {
    font-size: 0.8125rem;
    padding: 0.75rem;
    border-bottom: 1px solid #f1f3f5;
}

#bulkOrderModal #bulk-orders-list-container .table tbody tr:last-child td {
    border-bottom: none;
}

/* Bottom Warning Bar */
#bulkOrderModal .modal-footer {
    background-color: #fff3cd !important;
    border-top: 1px solid #ffc107;
    padding: 1rem 1.5rem !important;
}

#bulkOrderModal .modal-footer .text-warning {
    color: #ffc107 !important;
}

#bulkOrderModal .modal-footer small {
    font-size: 0.8125rem;
    color: #856404;
    line-height: 1.5;
}

#bulkOrderModal .modal-footer .btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #ffffff;
    font-size: 0.8125rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
}

#bulkOrderModal .modal-footer .btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

#bulkOrderModal .modal-footer .btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #ffffff;
    font-size: 0.8125rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
}

#bulkOrderModal .modal-footer .btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

/* Responsive */
@media (max-width: 991.98px) {
    #bulkOrderModal .col-md-6.border-end {
        border-right: none !important;
        border-bottom: 1px solid #dee2e6 !important;
    }

    #bulkOrderModal .modal-body .row {
        min-height: auto;
    }
}

/* Calendar and Time Picker Styles */
.custom-datetime-picker {
    font-family: inherit;
}

.calendar-picker {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    background: #fff;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.calendar-month-year {
    display: flex;
    gap: 0.5rem;
    flex: 1;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.calendar-weekday {
    text-align: center;
    font-weight: 600;
    font-size: 0.75rem;
    color: #6c757d;
    padding: 0.5rem;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    background: #fff;
}

.calendar-day:hover {
    background: #f8f9fa;
    border-color: #4680ff;
}

.calendar-day.other-month {
    color: #adb5bd;
    background: #f8f9fa;
}

.calendar-day.today {
    background: #e3f2fd;
    border-color: #4680ff;
    font-weight: 700;
}

.calendar-day.selected {
    background: #4680ff;
    color: #fff;
    border-color: #4680ff;
}

.calendar-day.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f8f9fa;
}

.calendar-day.disabled:hover {
    background: #f8f9fa;
    border-color: #e9ecef;
}

/* Time Picker Styles */
.time-picker {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    background: #fff;
}

.time-picker-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: #495057;
    margin-bottom: 0.5rem;
}

.time-picker-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
    max-height: 200px;
    overflow-y: auto;
    padding: 0.5rem;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    background: #f8f9fa;
}

.time-picker-item {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    background: #fff;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.time-picker-item:hover {
    background: #e3f2fd;
    border-color: #4680ff;
    transform: scale(1.05);
}

.time-picker-item.selected {
    background: #4680ff;
    color: #fff;
    border-color: #4680ff;
    font-weight: 700;
}

.time-picker-item:active {
    transform: scale(0.95);
}

/* Calendar Actions */
.calendar-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e9ecef;
}

/* Scrollbar for time picker grid */
.time-picker-grid::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.time-picker-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.time-picker-grid::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.time-picker-grid::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Dark mode support for calendar and time picker */
[data-bs-theme="dark"] .calendar-picker,
[data-bs-theme="dark"] .time-picker {
    background: #1e293b;
    border-color: #334155;
}

[data-bs-theme="dark"] .calendar-day {
    border-color: #334155;
    background: #1e293b;
    color: #e2e8f0;
}

[data-bs-theme="dark"] .calendar-day:hover {
    background: #334155;
    border-color: #4680ff;
}

[data-bs-theme="dark"] .calendar-day.other-month {
    color: #64748b;
    background: #0f172a;
}

[data-bs-theme="dark"] .time-picker-grid {
    background: #0f172a;
    border-color: #334155;
}

[data-bs-theme="dark"] .time-picker-item {
    border-color: #334155;
    background: #1e293b;
    color: #e2e8f0;
}

[data-bs-theme="dark"] .time-picker-item:hover {
    background: #334155;
    border-color: #4680ff;
}

/* Dark mode support for cards in order blade */
[data-bs-theme="dark"] .card {
    background-color: #1e293b;
    border-color: #334155;
}

[data-bs-theme="dark"] .card-header {
    background-color: #1e293b;
    border-bottom-color: #334155;
}

[data-bs-theme="dark"] .card-body {
    background-color: #1e293b;
}

[data-bs-theme="dark"] .bg-light {
    background-color: #0f172a !important;
}

[data-bs-theme="dark"] .border-bottom {
    border-bottom-color: #334155 !important;
}

[data-bs-theme="dark"] .border-top {
    border-top-color: #334155 !important;
}

[data-bs-theme="dark"] .alert.bg-light {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #e2e8f0 !important;
}

/* Remake Button Đặt Hàng */
#submit-order-btn {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 0.375rem;
    background: linear-gradient(135deg, #4680ff 0%, #5a8fff 100%);
    border: none;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(70, 128, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

#submit-order-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

#submit-order-btn:hover::before {
    left: 100%;
}

#submit-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(70, 128, 255, 0.4);
    background: linear-gradient(135deg, #5a8fff 0%, #6b9eff 100%);
}

#submit-order-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(70, 128, 255, 0.3);
}

#submit-order-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

#submit-order-btn i {
    transition: transform 0.3s ease;
}

#submit-order-btn:hover i {
    transform: scale(1.1);
}

[data-bs-theme="dark"] #submit-order-btn {
    background: linear-gradient(135deg, #4680ff 0%, #5a8fff 100%);
    box-shadow: 0 4px 12px rgba(70, 128, 255, 0.4);
}

[data-bs-theme="dark"] #submit-order-btn:hover {
    background: linear-gradient(135deg, #5a8fff 0%, #6b9eff 100%);
    box-shadow: 0 8px 24px rgba(70, 128, 255, 0.5);
}

/* Loading state cho button */
#submit-order-btn.loading {
    pointer-events: none;
    position: relative;
}

#submit-order-btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: button-spin 0.6s linear infinite;
}

#submit-order-btn.loading span,
#submit-order-btn.loading i {
    opacity: 0;
}

@keyframes button-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 576px) {
    #submit-order-btn {
        padding: 12px 24px;
        font-size: 0.9375rem;
    }
}

/* Fix Tabler Icons in mobile menu */
.mobile-widget i.ti {
    font-family: "tabler-icons" !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    display: inline-block !important;
    line-height: 1 !important;
}

/* Support Popup - Force cao hơn menu - Ghi đè mạnh nhất */
body .support-popup-overlay,
html body .support-popup-overlay,
body #supportPopupOverlay,
html body #supportPopupOverlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(4px) !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

body .support-popup-overlay.show,
html body .support-popup-overlay.show,
body #supportPopupOverlay.show,
html body #supportPopupOverlay.show {
    opacity: 1 !important;
    visibility: visible !important;
}

body .support-popup-container,
html body .support-popup-container {
    position: relative !important;
    width: 100% !important;
    max-width: 450px !important;
    margin: 0 !important;
    top: 0 !important;
    left: 0 !important;
    transform: scale(0.95) translateY(20px) !important;
}

body .support-popup-overlay.show .support-popup-container,
html body .support-popup-overlay.show .support-popup-container {
    transform: scale(1) translateY(0) !important;
}

body .support-popup,
html body .support-popup {
    position: relative !important;
    z-index: 1000000 !important;
    margin: 0 !important;
    top: 0 !important;
    left: 0 !important;
}

@media (max-width: 576px) {

    body .support-popup-overlay,
    html body .support-popup-overlay,
    body #supportPopupOverlay,
    html body #supportPopupOverlay {
        padding: 16px !important;
    }
}

/* ============================================
   CSS FROM LAYOUT APP.BLADE.PHP
   ============================================ */

/* Skeleton Loading Effect */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 0.375rem;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
}

.skeleton-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.skeleton-button {
    height: 2.25rem;
    width: 80px;
}

.skeleton-badge {
    height: 1.25rem;
    width: 40px;
    border-radius: 1rem;
}

/* Dark mode for skeleton */
[data-bs-theme="dark"] .skeleton {
    background: linear-gradient(90deg, #2b2b40 25%, #1e1e2d 50%, #2b2b40 75%);
    background-size: 200% 100%;
}

/* ============================================
   SMOOTH TRANSITIONS & ANIMATIONS
   ============================================ */

/* Optimized transitions - Only apply to specific elements, not global */
/* Removed global * selector to improve performance */

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Card hover effects */
/* Card hover effects - Basic */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

/* Button smooth effects - Basic */
.btn {
    transition: all 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

/* Form inputs smooth focus - Basic */
.form-control,
.form-select {
    transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(70, 128, 255, 0.15);
    border-color: #4680ff;
}

/* Badge smooth hover */
.badge {
    transition: all 0.2s ease;
}

.badge:hover {
    transform: scale(1.05);
}

/* Loading spinner smooth */
.spinner-border {
    animation: spinner-border 0.75s linear infinite;
}

/* Fade in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

/* Slide in animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in {
    animation: slideIn 0.3s ease-out;
}

/* ============================================
   PAGE LOAD ANIMATIONS - Disabled (no bounce-in on F5)
   ============================================ */

/* No animation on page load - content shows without bounce */
body.loaded .card {
    animation: none;
}

/* Enhanced fade in with scale */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Bounce animation */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(50px);
    }

    50% {
        opacity: 1;
        transform: scale(1.05) translateY(-10px);
    }

    70% {
        transform: scale(0.9) translateY(5px);
    }

    100% {
        transform: scale(1) translateY(0);
    }
}

/* Pulse glow animation */
@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(70, 128, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(70, 128, 255, 0.6), 0 0 30px rgba(70, 128, 255, 0.4);
    }
}

/* Slide in from left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide in from right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Zoom in animation */
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Rotate fade in */
@keyframes rotateFadeIn {
    from {
        opacity: 0;
        transform: rotate(-5deg) scale(0.9);
    }

    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

/* Shake animation */
@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

/* Float animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Glow pulse */
@keyframes glowPulse {

    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.2);
    }
}

/* Don't animate card-header and card-body separately - let card animation handle it */
/* Don't animate form controls and buttons - they should appear immediately */

/* Stagger animations for multiple cards - Simple and beautiful */
body.loaded .card:nth-child(1) {
    animation-delay: 0.1s;
}

body.loaded .card:nth-child(2) {
    animation-delay: 0.15s;
}

body.loaded .card:nth-child(3) {
    animation-delay: 0.2s;
}

body.loaded .card:nth-child(4) {
    animation-delay: 0.25s;
}

body.loaded .card:nth-child(5) {
    animation-delay: 0.3s;
}

body.loaded .card:nth-child(6) {
    animation-delay: 0.35s;
}

/* Cards after 6th appear immediately */
body.loaded .card:nth-child(n+7) {
    animation-delay: 0s;
    opacity: 1;
    transform: none;
}

/* Cards after 6th appear immediately without delay */
body.loaded .card:nth-child(n+7) {
    animation-delay: 0s;
    opacity: 1;
    transform: none;
}

/* Initial state - Cards visible immediately (no hide then bounce-in) */
body:not(.loaded) .card:nth-child(-n+6) {
    opacity: 1;
    transform: none;
}

/* Cards after 6th are visible immediately */
body:not(.loaded) .card:nth-child(n+7) {
    opacity: 1;
    transform: none;
}

/* Don't hide form controls and buttons initially - they should be visible immediately */
body:not(.loaded) .form-control,
body:not(.loaded) .form-select,
body:not(.loaded) .btn {
    opacity: 1;
    transform: none;
}

/* Exclude sidebar/menu from initial hidden state - No animations for menu */
body:not(.loaded) .pc-sidebar,
body:not(.loaded) .pc-sidebar *,
body:not(.loaded) .pc-header,
body:not(.loaded) .pc-header *,
body:not(.loaded) .pc-navbar,
body:not(.loaded) .pc-navbar *,
body:not(.loaded) .navbar-wrapper,
body:not(.loaded) .navbar-wrapper *,
body:not(.loaded) .m-header,
body:not(.loaded) .m-header *,
body:not(.loaded) .pc-container,
body:not(.loaded) .pc-container *,
body:not(.loaded) .pc-content,
body:not(.loaded) .pc-content * {
    opacity: 1 !important;
    transform: none !important;
}

/* Disable all animations for menu/sidebar - Keep it simple */
.pc-sidebar,
.pc-sidebar *,
.pc-header,
.pc-header *,
.pc-navbar,
.pc-navbar *,
.navbar-wrapper,
.navbar-wrapper *,
.m-header,
.m-header * {
    animation: none !important;
    transition: none !important;
}

body.loaded .pc-sidebar,
body.loaded .pc-sidebar *,
body.loaded .pc-header,
body.loaded .pc-header *,
body.loaded .pc-navbar,
body.loaded .pc-navbar * {
    animation: none !important;
}

/* Removed body.loaded animation - it causes unnecessary repaints */
/* Cards will animate individually instead */

/* On mobile - ensure sidebar transitions are smooth */
@media (max-width: 991.98px) {

    /* Disable animations for sidebar/menu on mobile */
    body.loaded .pc-sidebar,
    body.loaded .pc-sidebar *,
    body.loaded .pc-header,
    body.loaded .pc-header *,
    body.loaded .pc-navbar,
    body.loaded .pc-navbar * {
        animation: none !important;
        opacity: 1 !important;
    }

    body:not(.loaded) .pc-sidebar,
    body:not(.loaded) .pc-sidebar *,
    body:not(.loaded) .pc-header,
    body:not(.loaded) .pc-header *,
    body:not(.loaded) .pc-navbar,
    body:not(.loaded) .pc-navbar * {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Add loaded class via JavaScript */
script {
    display: none;
}

/* ============================================
   CUSTOM TOAST NOTIFICATION STYLES
   ============================================ */

.custom-toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
    width: 100%;
    pointer-events: none;
}

.custom-toast-container>* {
    pointer-events: auto;
}

.custom-toast {
    display: flex;
    align-items: flex-start;
    background: #fff;
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    animation: slideInRight 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-left: 4px solid;
    position: relative;
    backdrop-filter: blur(10px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, box-shadow 0.3s ease;
}

.custom-toast:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
}

.custom-toast.success {
    border-left-color: #198754;
    border-color: rgba(25, 135, 84, 0.35);
    background: linear-gradient(to right, #f0fdf4 0%, #ffffff 8%);
}

.custom-toast.error {
    border-left-color: #dc2626;
    border-color: rgba(220, 38, 38, 0.35);
    background: linear-gradient(to right, #fef2f2 0%, #ffffff 8%);
}

.custom-toast.warning {
    border-left-color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.35);
    background: linear-gradient(to right, #fffbeb 0%, #ffffff 8%);
}

.custom-toast.info {
    border-left-color: #0ea5e9;
    border-color: rgba(14, 165, 233, 0.35);
    background: linear-gradient(to right, #f0f9ff 0%, #ffffff 8%);
}

.custom-toast.hiding {
    animation: slideOutRight 0.35s cubic-bezier(0.7, 0, 0.84, 0);
    opacity: 0;
    transform: translateX(120%);
}

@keyframes slideInRight {
    0% {
        transform: translateX(120%) scale(0.98);
        opacity: 0;
    }

    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    0% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(120%) scale(0.95);
        opacity: 0;
    }
}

.custom-toast-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    flex-shrink: 0;
    font-size: 15px;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.custom-toast:hover .custom-toast-icon {
    transform: scale(1.1);
}

.custom-toast.success .custom-toast-icon {
    background: linear-gradient(135deg, #86efac 0%, #4ade80 100%);
    color: #15803d;
    box-shadow: 0 2px 8px rgba(25, 135, 84, 0.3);
}

.custom-toast.error .custom-toast-icon {
    background: linear-gradient(135deg, #fca5a5 0%, #f87171 100%);
    color: #b91c1c;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.custom-toast.warning .custom-toast-icon {
    background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 100%);
    color: #92400e;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.custom-toast.info .custom-toast-icon {
    background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 100%);
    color: #0369a1;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

.custom-toast-content {
    flex: 1;
    min-width: 0;
    padding-right: 4px;
}

.custom-toast-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 6px;
    color: #1c252e;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.custom-toast-message {
    font-size: 13px;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
    word-wrap: break-word;
}

.custom-toast-close {
    background: rgba(0, 0, 0, 0.04);
    border: none;
    border-radius: 50%;
    padding: 0;
    margin-left: 10px;
    cursor: pointer;
    color: #6c757d;
    font-size: 16px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.custom-toast-close:hover {
    background: rgba(0, 0, 0, 0.08);
    color: #1c252e;
    opacity: 1;
    transform: rotate(90deg);
}

.custom-toast-close:active {
    transform: rotate(90deg) scale(0.9);
}

/* Dark mode support */
[data-bs-theme="dark"] .custom-toast {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2);
}

[data-bs-theme="dark"] .custom-toast:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .custom-toast.success {
    border-left-color: #4ade80;
    border-color: rgba(74, 222, 128, 0.4);
    background: linear-gradient(to right, rgba(21, 128, 61, 0.15) 0%, #1e293b 8%);
}

[data-bs-theme="dark"] .custom-toast.error {
    border-left-color: #f87171;
    border-color: rgba(248, 113, 113, 0.4);
    background: linear-gradient(to right, rgba(185, 28, 28, 0.15) 0%, #1e293b 8%);
}

[data-bs-theme="dark"] .custom-toast.warning {
    border-left-color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.4);
    background: linear-gradient(to right, rgba(146, 64, 14, 0.15) 0%, #1e293b 8%);
}

[data-bs-theme="dark"] .custom-toast.info {
    border-left-color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.4);
    background: linear-gradient(to right, rgba(3, 105, 161, 0.15) 0%, #1e293b 8%);
}

[data-bs-theme="dark"] .custom-toast-title {
    color: #ffffff;
}

[data-bs-theme="dark"] .custom-toast-message {
    color: #94a3b8;
}

[data-bs-theme="dark"] .custom-toast-close {
    background: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
}

[data-bs-theme="dark"] .custom-toast-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Responsive - Mobile optimization */
@media (max-width: 768px) {
    .custom-toast-container {
        top: 70px;
        right: 12px;
        left: 12px;
        max-width: calc(100% - 24px);
    }

    .custom-toast {
        padding: 14px 16px;
        margin-bottom: 10px;
        border-radius: 10px;
    }

    .custom-toast-icon {
        width: 26px;
        height: 26px;
        margin-right: 12px;
        font-size: 14px;
    }

    .custom-toast-title {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .custom-toast-message {
        font-size: 12px;
    }

    .custom-toast-close {
        width: 22px;
        height: 22px;
        font-size: 14px;
        margin-left: 8px;
    }
}

@media (max-width: 576px) {
    .custom-toast-container {
        top: 60px;
        right: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
    }

    .custom-toast {
        padding: 12px 14px;
        margin-bottom: 8px;
        border-radius: 8px;
    }

    .custom-toast-icon {
        width: 24px;
        height: 24px;
        margin-right: 10px;
        font-size: 13px;
    }

    .custom-toast-title {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .custom-toast-message {
        font-size: 11.5px;
        line-height: 1.4;
    }

    .custom-toast-close {
        width: 20px;
        height: 20px;
        font-size: 13px;
        margin-left: 6px;
    }
}

/* Smooth entrance for multiple toasts */
.custom-toast:nth-child(1) {
    animation-delay: 0s;
}

.custom-toast:nth-child(2) {
    animation-delay: 0.05s;
}

.custom-toast:nth-child(3) {
    animation-delay: 0.1s;
}

/* ============================================
   SUPPORT POPUP STYLES
   ============================================ */

.support-popup-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(4px) !important;
    z-index: 99999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
    padding: 20px !important;
    margin: 0 !important;
}

.support-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.support-popup-container {
    position: relative !important;
    width: 100% !important;
    max-width: 450px !important;
    transform: scale(0.95) translateY(20px) !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin-top: 0 !important;
    top: 0 !important;
}

.support-popup-overlay.show .support-popup-container {
    transform: scale(1) translateY(0);
}

.support-popup {
    background: #ffffff !important;
    border-radius: 15px !important;
    box-shadow: 0px 9px 20px rgba(46, 35, 94, 0.07) !important;
    border: none !important;
    overflow: hidden !important;
    position: relative !important;
    z-index: 100000 !important;
    margin: 0 !important;
}

.support-popup:hover {
    box-shadow: 0 0 40px rgba(8, 21, 66, 0.05);
}

[data-bs-theme="dark"] .support-popup {
    background: #1e293b;
    box-shadow: 0px 9px 20px rgba(0, 0, 0, 0.3);
}

.support-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6c757d;
    font-size: 16px;
    transition: all 0.2s ease;
    z-index: 10;
}

.support-popup-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #1c252e;
    transform: rotate(90deg);
}

[data-bs-theme="dark"] .support-popup-close {
    background: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
}

[data-bs-theme="dark"] .support-popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.support-popup-header {
    padding: 24px 24px 20px;
    border-bottom: 1px dashed #dee2e6;
    text-align: center;
    background: #ffffff;
}

[data-bs-theme="dark"] .support-popup-header {
    background: #1e293b;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.support-popup-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, #4680ff 0%, #5a8fff 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(70, 128, 255, 0.3);
}

.support-popup-title {
    font-size: 20px;
    font-weight: 600;
    color: #1c252e;
    margin: 0 0 6px;
}

[data-bs-theme="dark"] .support-popup-title {
    color: #ffffff;
}

.support-popup-subtitle {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
}

[data-bs-theme="dark"] .support-popup-subtitle {
    color: #94a3b8;
}

.support-popup-body {
    padding: 20px 24px 24px;
}

.support-popup-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.support-popup-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 0.375rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #dee2e6;
    background: #ffffff;
    position: relative;
}

.support-popup-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

[data-bs-theme="dark"] .support-popup-btn {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.1);
}

.support-popup-btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.support-popup-btn:hover .support-popup-btn-icon {
    transform: scale(1.05);
}

.support-popup-btn-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.support-popup-btn-label {
    font-size: 15px;
    font-weight: 600;
    color: #1c252e;
    line-height: 1.3;
}

[data-bs-theme="dark"] .support-popup-btn-label {
    color: #ffffff;
}

.support-popup-btn-desc {
    font-size: 12px;
    color: #6c757d;
    line-height: 1.3;
}

[data-bs-theme="dark"] .support-popup-btn-desc {
    color: #94a3b8;
}

.support-popup-btn-facebook {
    border-color: #1877f2;
}

.support-popup-btn-facebook:hover {
    background: #1877f2;
    box-shadow: 0 2px 8px rgba(24, 119, 242, 0.3);
}

.support-popup-btn-facebook .support-popup-btn-icon {
    background: #1877f2;
    color: #ffffff;
}

.support-popup-btn-facebook:hover .support-popup-btn-label,
.support-popup-btn-facebook:hover .support-popup-btn-desc {
    color: #ffffff;
}

.support-popup-btn-zalo {
    border-color: #0068ff;
}

.support-popup-btn-zalo:hover {
    background: #0068ff;
    box-shadow: 0 2px 8px rgba(0, 104, 255, 0.3);
}

.support-popup-btn-zalo .support-popup-btn-icon {
    background: #0068ff;
    color: #ffffff;
}

.support-popup-btn-zalo:hover .support-popup-btn-label,
.support-popup-btn-zalo:hover .support-popup-btn-desc {
    color: #ffffff;
}

.support-popup-btn-telegram {
    border-color: #0088cc;
}

.support-popup-btn-telegram:hover {
    background: #0088cc;
    box-shadow: 0 2px 8px rgba(0, 136, 204, 0.3);
}

.support-popup-btn-telegram .support-popup-btn-icon {
    background: #0088cc;
    color: #ffffff;
}

.support-popup-btn-telegram:hover .support-popup-btn-label,
.support-popup-btn-telegram:hover .support-popup-btn-desc {
    color: #ffffff;
}

@media (max-width: 576px) {
    .support-popup-overlay {
        padding: 16px !important;
    }

    .support-popup-container {
        max-width: 100%;
    }

    .support-popup-header {
        padding: 20px 20px 16px;
    }

    .support-popup-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
        margin-bottom: 10px;
    }

    .support-popup-title {
        font-size: 18px;
    }

    .support-popup-subtitle {
        font-size: 13px;
    }

    .support-popup-body {
        padding: 16px 20px 20px;
    }

    .support-popup-btn {
        padding: 12px 16px;
    }

    .support-popup-btn-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .support-popup-btn-label {
        font-size: 14px;
    }

    .support-popup-btn-desc {
        font-size: 11px;
    }
}

/* ============================================
   SUPPORT FLOATING BUTTON
   ============================================ */

.support-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #4680ff;
    box-shadow: 0px 9px 20px rgba(46, 35, 94, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10499;
    transition: all 0.2s ease;
    border: none;
    color: #ffffff;
    font-size: 24px;
}

.support-floating-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(8, 21, 66, 0.05);
    background: #5a8fff;
}

.support-floating-btn:active {
    transform: translateY(0);
}

.support-floating-btn i {
    transition: transform 0.2s ease;
}

.support-floating-btn:hover i {
    transform: scale(1.1);
}

[data-bs-theme="dark"] .support-floating-btn {
    background: #4680ff;
    box-shadow: 0px 9px 20px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .support-floating-btn:hover {
    background: #5a8fff;
    box-shadow: 0 0 40px rgba(70, 128, 255, 0.2);
}

@media (max-width: 768px) {
    .support-floating-btn {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 20px;
        font-size: 22px;
        border-radius: 10px;
    }
}

@media (max-width: 576px) {
    .support-floating-btn {
        width: 48px;
        height: 48px;
        bottom: 16px;
        right: 16px;
        font-size: 20px;
        border-radius: 8px;
    }
}

/* ============================================
   ENHANCED THEME CONTRAST - ĐẬM HƠN, RÕ NÉT HƠN
   ============================================ */

/* Dark Mode - Enhanced Contrast - TĂNG MẠNH HƠN */
[data-bs-theme="dark"] {
    /* Tăng contrast mạnh hơn - background cực tối, text cực sáng */
    --bs-body-bg: #0a0d12 !important;
    --bs-body-color: #f8f9fa !important;
    --bs-emphasis-color: #ffffff !important;
    --bs-secondary-color: #cbd5e1 !important;
    --bs-border-color: #1e293b !important;
    --bs-link-color: #60a5fa !important;
    --bs-link-hover-color: #93c5fd !important;
}

/* Dark Mode - Card backgrounds đậm hơn - CONTRAST MẠNH HƠN */
[data-bs-theme="dark"] .card {
    background-color: #111827 !important;
    border-color: #1e293b !important;
    color: #f8f9fa !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3) !important;
}

[data-bs-theme="dark"] .card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.6), 0 4px 6px -2px rgba(0, 0, 0, 0.4) !important;
    border-color: #334155 !important;
}

[data-bs-theme="dark"] .card-header {
    background-color: #0f172a !important;
    border-bottom-color: #1e293b !important;
    color: #ffffff !important;
    font-weight: 600;
}

[data-bs-theme="dark"] .card-body {
    background-color: #111827 !important;
    color: #f8f9fa !important;
}

/* Dark Mode - Text colors rõ nét hơn - CONTRAST MẠNH HƠN */
[data-bs-theme="dark"] h1,
[data-bs-theme="dark"] h2,
[data-bs-theme="dark"] h3,
[data-bs-theme="dark"] h4,
[data-bs-theme="dark"] h5,
[data-bs-theme="dark"] h6 {
    color: #ffffff !important;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] p,
[data-bs-theme="dark"] span,
[data-bs-theme="dark"] div {
    color: #f8f9fa !important;
}

[data-bs-theme="dark"] .text-muted {
    color: #cbd5e1 !important;
}

/* Dark Mode - Form controls contrast cao hơn - CONTRAST MẠNH HƠN */
[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select {
    background-color: #0f172a !important;
    border-color: #1e293b !important;
    color: #ffffff !important;
}

[data-bs-theme="dark"] .form-control:focus,
[data-bs-theme="dark"] .form-select:focus {
    background-color: #0f172a !important;
    border-color: #4680ff !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 0.25rem rgba(70, 128, 255, 0.5), 0 0 20px rgba(70, 128, 255, 0.2) !important;
    transform: scale(1.02);
    transition: all 0.2s ease;
}

[data-bs-theme="dark"] .form-control::placeholder {
    color: #6c757d !important;
}

/* Dark Mode - Buttons contrast cao hơn */
[data-bs-theme="dark"] .btn-primary {
    background-color: #4680ff !important;
    border-color: #4680ff !important;
    color: #ffffff !important;
}

[data-bs-theme="dark"] .btn-primary:hover {
    background-color: #3570e6 !important;
    border-color: #3570e6 !important;
    box-shadow: 0 6px 20px rgba(70, 128, 255, 0.6), 0 0 30px rgba(70, 128, 255, 0.3) !important;
    transform: translateY(-2px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-bs-theme="dark"] .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(70, 128, 255, 0.4) !important;
}

[data-bs-theme="dark"] .btn-secondary {
    background-color: #2d3748 !important;
    border-color: #2d3748 !important;
    color: #ffffff !important;
}

[data-bs-theme="dark"] .btn-secondary:hover {
    background-color: #1e293b !important;
    border-color: #1e293b !important;
}

[data-bs-theme="dark"] .btn-outline-primary {
    border-color: #4680ff !important;
    color: #4680ff !important;
}

[data-bs-theme="dark"] .btn-outline-primary:hover {
    background-color: #4680ff !important;
    border-color: #4680ff !important;
    color: #ffffff !important;
}

/* Dark Mode - Table contrast cao hơn */
[data-bs-theme="dark"] .table {
    color: #e9ecef !important;
    border-color: #2d3748 !important;
}

[data-bs-theme="dark"] .table thead th {
    background-color: #151920 !important;
    color: #ffffff !important;
    border-bottom-color: #2d3748 !important;
    font-weight: 600;
}

[data-bs-theme="dark"] .table tbody tr {
    border-bottom-color: #2d3748 !important;
}

[data-bs-theme="dark"] .table tbody tr:hover {
    background-color: #1e293b !important;
}

[data-bs-theme="dark"] .table td,
[data-bs-theme="dark"] .table th {
    border-color: #2d3748 !important;
}

/* Dark Mode - Badge contrast cao hơn */
[data-bs-theme="dark"] .badge {
    font-weight: 600;
}

[data-bs-theme="dark"] .badge.bg-primary {
    background-color: #4680ff !important;
    color: #ffffff !important;
}

[data-bs-theme="dark"] .badge.bg-success {
    background-color: #10b981 !important;
    color: #ffffff !important;
}

[data-bs-theme="dark"] .badge.bg-danger {
    background-color: #ef4444 !important;
    color: #ffffff !important;
}

[data-bs-theme="dark"] .badge.bg-warning {
    background-color: #f59e0b !important;
    color: #ffffff !important;
}

[data-bs-theme="dark"] .badge.bg-info {
    background-color: #0ea5e9 !important;
    color: #ffffff !important;
}

/* Dark Mode - Alert contrast cao hơn */
[data-bs-theme="dark"] .alert {
    border-width: 1px;
    font-weight: 500;
}

[data-bs-theme="dark"] .alert-primary {
    background-color: rgba(70, 128, 255, 0.15) !important;
    border-color: #4680ff !important;
    color: #90caf9 !important;
}

[data-bs-theme="dark"] .alert-success {
    background-color: rgba(16, 185, 129, 0.15) !important;
    border-color: #10b981 !important;
    color: #6ee7b7 !important;
}

[data-bs-theme="dark"] .alert-danger {
    background-color: rgba(239, 68, 68, 0.15) !important;
    border-color: #ef4444 !important;
    color: #fca5a5 !important;
}

[data-bs-theme="dark"] .alert-warning {
    background-color: rgba(245, 158, 11, 0.15) !important;
    border-color: #f59e0b !important;
    color: #fcd34d !important;
}

[data-bs-theme="dark"] .alert-info {
    background-color: rgba(14, 165, 233, 0.15) !important;
    border-color: #0ea5e9 !important;
    color: #7dd3fc !important;
}

/* Dark Mode - Dropdown contrast cao hơn */
[data-bs-theme="dark"] .dropdown-menu {
    background-color: #1a1f2e !important;
    border-color: #2d3748 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

[data-bs-theme="dark"] .dropdown-item {
    color: #e9ecef !important;
}

[data-bs-theme="dark"] .dropdown-item:hover,
[data-bs-theme="dark"] .dropdown-item:focus {
    background-color: #2d3748 !important;
    color: #ffffff !important;
}

[data-bs-theme="dark"] .dropdown-item.active {
    background-color: #4680ff !important;
    color: #ffffff !important;
}

/* Dark Mode - Modal contrast cao hơn */
[data-bs-theme="dark"] .modal-content {
    background-color: #1a1f2e !important;
    border-color: #2d3748 !important;
    color: #e9ecef !important;
}

[data-bs-theme="dark"] .modal-header {
    background-color: #151920 !important;
    border-bottom-color: #2d3748 !important;
}

[data-bs-theme="dark"] .modal-header .modal-title {
    color: #ffffff !important;
}

[data-bs-theme="dark"] .modal-body {
    background-color: #1a1f2e !important;
    color: #e9ecef !important;
}

[data-bs-theme="dark"] .modal-footer {
    background-color: #151920 !important;
    border-top-color: #2d3748 !important;
}

/* Dark Mode - Navbar/Tabs contrast cao hơn */
[data-bs-theme="dark"] .nav-tabs {
    border-bottom-color: #2d3748 !important;
}

[data-bs-theme="dark"] .nav-tabs .nav-link {
    color: #adb5bd !important;
    border-color: transparent !important;
}

[data-bs-theme="dark"] .nav-tabs .nav-link:hover {
    color: #ffffff !important;
    border-color: #2d3748 !important;
}

[data-bs-theme="dark"] .nav-tabs .nav-link.active {
    background-color: #1a1f2e !important;
    border-color: #2d3748 #2d3748 #1a1f2e !important;
    color: #4680ff !important;
    font-weight: 600;
}

/* Dark Mode - Progress bar contrast cao hơn */
[data-bs-theme="dark"] .progress {
    background-color: #151920 !important;
}

[data-bs-theme="dark"] .progress-bar {
    background-color: #4680ff !important;
}

/* Dark Mode - List group contrast cao hơn */
[data-bs-theme="dark"] .list-group-item {
    background-color: #1a1f2e !important;
    border-color: #2d3748 !important;
    color: #e9ecef !important;
}

[data-bs-theme="dark"] .list-group-item:hover {
    background-color: #1e293b !important;
}

[data-bs-theme="dark"] .list-group-item.active {
    background-color: #4680ff !important;
    border-color: #4680ff !important;
    color: #ffffff !important;
}

/* Dark Mode - Input group contrast cao hơn */
[data-bs-theme="dark"] .input-group-text {
    background-color: #151920 !important;
    border-color: #2d3748 !important;
    color: #e9ecef !important;
}

/* Dark Mode - Breadcrumb contrast cao hơn */
[data-bs-theme="dark"] .breadcrumb {
    background-color: #1a1f2e !important;
}

[data-bs-theme="dark"] .breadcrumb-item a {
    color: #90caf9 !important;
}

[data-bs-theme="dark"] .breadcrumb-item.active {
    color: #ffffff !important;
}

/* Dark Mode - Pagination contrast cao hơn */
[data-bs-theme="dark"] .page-link {
    background-color: #1a1f2e !important;
    border-color: #2d3748 !important;
    color: #e9ecef !important;
}

[data-bs-theme="dark"] .page-link:hover {
    background-color: #2d3748 !important;
    border-color: #4680ff !important;
    color: #ffffff !important;
}

[data-bs-theme="dark"] .page-item.active .page-link {
    background-color: #4680ff !important;
    border-color: #4680ff !important;
    color: #ffffff !important;
}

/* Dark Mode - Tooltip/Popover contrast cao hơn */
[data-bs-theme="dark"] .tooltip .tooltip-inner {
    background-color: #1a1f2e !important;
    color: #ffffff !important;
    border: 1px solid #2d3748 !important;
}

[data-bs-theme="dark"] .popover {
    background-color: #1a1f2e !important;
    border-color: #2d3748 !important;
    color: #e9ecef !important;
}

[data-bs-theme="dark"] .popover-header {
    background-color: #151920 !important;
    border-bottom-color: #2d3748 !important;
    color: #ffffff !important;
}

/* Dark Mode - Code/Pre contrast cao hơn */
[data-bs-theme="dark"] code {
    background-color: #151920 !important;
    color: #90caf9 !important;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
}

[data-bs-theme="dark"] pre {
    background-color: #151920 !important;
    border: 1px solid #2d3748 !important;
    color: #e9ecef !important;
}

/* Dark Mode - Blockquote contrast cao hơn */
[data-bs-theme="dark"] blockquote {
    border-left-color: #4680ff !important;
    background-color: rgba(70, 128, 255, 0.1) !important;
    color: #e9ecef !important;
}

/* Dark Mode - Link contrast cao hơn */
[data-bs-theme="dark"] a {
    color: #90caf9 !important;
}

[data-bs-theme="dark"] a:hover {
    color: #ffffff !important;
}

/* Dark Mode - HR contrast cao hơn */
[data-bs-theme="dark"] hr {
    border-color: #2d3748 !important;
    opacity: 1;
}

/* Dark Mode - Select2 contrast cao hơn */
[data-bs-theme="dark"] .select2-container--default .select2-selection--single {
    background-color: #151920 !important;
    border-color: #2d3748 !important;
    color: #ffffff !important;
}

[data-bs-theme="dark"] .select2-container--default .select2-results__option--highlighted {
    background-color: #2d3748 !important;
    color: #ffffff !important;
}

[data-bs-theme="dark"] .select2-dropdown {
    background-color: #1a1f2e !important;
    border-color: #2d3748 !important;
}

/* Dark Mode - Override các màu cũ để contrast cao hơn */
[data-bs-theme="dark"] {
    background-color: #0f1419 !important;
}

[data-bs-theme="dark"] body {
    background-color: #0f1419 !important;
    color: #e9ecef !important;
}

/* Dark Mode - Header contrast */
[data-bs-theme="dark"] .pc-header {
    background-color: #0f172a !important;
    border-bottom-color: #1e293b !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

[data-bs-theme="dark"] .pc-sidebar {
    background-color: #3e4853 !important;
    border-right-color: #1e293b !important;
}

/* Force menu to use CSS variables from :root */
.pc-sidebar,
body .pc-sidebar,
[data-pc-theme="light"] .pc-sidebar,
[data-pc-theme="dark"] .pc-sidebar,
[data-bs-theme="light"] .pc-sidebar,
[data-bs-theme="dark"] .pc-sidebar {
    background-color: var(--pc-sidebar-background, #3e4853) !important;
    background: var(--pc-sidebar-background, #3e4853) !important;
    background-image: none !important;
}

.pc-sidebar .navbar-wrapper {
    background-color: var(--pc-sidebar-background, #3e4853) !important;
    background: var(--pc-sidebar-background, #3e4853) !important;
}

/* Use CSS variables for menu text and icons */
.pc-sidebar .pc-link {
    color: var(--pc-sidebar-color, rgba(255, 255, 255, 0.95)) !important;
    font-weight: 600 !important;
}

.pc-sidebar .pc-link:hover {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.pc-sidebar .pc-caption {
    color: var(--pc-sidebar-caption-color, rgba(255, 255, 255, 0.75)) !important;
    font-weight: 600 !important;
}

.pc-sidebar .pc-caption label {
    color: var(--pc-sidebar-caption-color, rgba(255, 255, 255, 0.75)) !important;
    font-weight: 600 !important;
}

.pc-sidebar .pc-micon {
    color: var(--pc-sidebar-color, rgba(255, 255, 255, 0.95)) !important;
}

.pc-sidebar .pc-micon i {
    color: var(--pc-sidebar-color, rgba(255, 255, 255, 0.95)) !important;
}

.pc-sidebar .pc-link:hover .pc-micon,
.pc-sidebar .pc-link:hover .pc-micon i {
    color: #ffffff !important;
}

/* When menu item is active, change icon and text to active color */
.pc-sidebar .pc-item.active>.pc-link {
    color: var(--pc-sidebar-active-color) !important;
    font-weight: 700 !important;
}

.pc-sidebar .pc-item.active>.pc-link .pc-micon,
.pc-sidebar .pc-item.active>.pc-link .pc-micon i {
    color: var(--pc-sidebar-active-color) !important;
}

/* Additional animations for badges, alerts, etc. */
[data-bs-theme="dark"] .badge:hover {
    animation: pulseGlow 1.5s infinite;
    transform: scale(1.1);
}

[data-bs-theme="dark"] .alert {
    animation: fadeInUp 0.5s ease-out;
    border-left-width: 4px;
}

/* Table row hover animation */
[data-bs-theme="dark"] .table tbody tr {
    transition: all 0.3s ease;
}

[data-bs-theme="dark"] .table tbody tr:hover {
    background-color: #1e293b !important;
    transform: scale(1.01);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Dropdown menu animation */
[data-bs-theme="dark"] .dropdown-menu {
    animation: fadeInUp 0.3s ease-out;
}

/* Modal animation */
[data-bs-theme="dark"] .modal-content {
    animation: zoomIn 0.3s ease-out;
}

/* Nav tabs animation */
[data-bs-theme="dark"] .nav-tabs .nav-link {
    transition: all 0.3s ease;
    position: relative;
}

[data-bs-theme="dark"] .nav-tabs .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #4680ff;
    transition: width 0.3s ease;
}

[data-bs-theme="dark"] .nav-tabs .nav-link:hover::after,
[data-bs-theme="dark"] .nav-tabs .nav-link.active::after {
    width: 100%;
}

/* ============================================
   ADDITIONAL BEAUTIFUL ANIMATIONS
   ============================================ */

/* Badge - Basic */
.badge {
    transition: all 0.2s ease;
}

.badge:hover {
    transform: scale(1.05);
}

/* Alert - Basic */
.alert {
    animation: fadeIn 0.3s ease-out;
}

/* Table - Basic */
.table tbody tr {
    transition: background-color 0.2s ease;
}

/* List group - Basic */
.list-group-item {
    transition: background-color 0.2s ease;
}

/* Progress bar - Basic */
.progress-bar {
    transition: width 0.3s ease;
}

/* Breadcrumb - Basic */
.breadcrumb-item {
    transition: color 0.2s ease;
}

/* Pagination - Basic */
.page-link {
    transition: all 0.2s ease;
}

/* Tooltip - Basic */
.tooltip {
    animation: fadeIn 0.2s ease-out;
}

/* Popover - Basic */
.popover {
    animation: fadeIn 0.2s ease-out;
}

/* Code - Basic */
code {
    transition: background-color 0.2s ease;
}

/* Blockquote - Basic */
blockquote {
    transition: border-color 0.2s ease;
}

/* Link - Basic */
a {
    transition: color 0.2s ease;
}

/* Icon - Basic */
i[class*="ti-"],
i[class*="fa-"] {
    transition: color 0.2s ease;
}

/* Loading spinner - Basic */
.spinner-border {
    animation: spinner-border 0.75s linear infinite;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Image - Basic */
img {
    transition: opacity 0.2s ease;
}

/* Avatar - Basic */
.user-avtar,
.avtar {
    transition: opacity 0.2s ease;
}

/* Dropdown item - Basic */
.dropdown-item {
    transition: background-color 0.2s ease;
}

/* Modal backdrop - Basic */
.modal-backdrop {
    animation: fadeIn 0.2s ease-out;
}

/* Toast notification - Basic */
.custom-toast {
    animation: fadeIn 0.3s ease-out;
}

.custom-toast.hiding {
    animation: fadeOut 0.3s ease-out forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* Product Items Custom Styles */
.product-item-custom {
    border-bottom: 1px dashed #dee2e6;
    padding-bottom: 1rem;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.product-item-custom:hover {
    background: linear-gradient(to bottom, #ffffff, #f0f4ff);
    box-shadow: 0 4px 12px rgba(70, 128, 255, 0.1);
    transform: translateY(-2px);
}

.product-item-custom:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.product-item-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.product-item-custom:hover .product-item-image {
    border-color: #4680ff;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(70, 128, 255, 0.2);
}

.product-item-placeholder {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #90caf9;
    transition: all 0.3s ease;
}

.product-item-placeholder i {
    font-size: 28px;
    color: #4680ff;
}

.product-item-custom:hover .product-item-placeholder {
    background: linear-gradient(135deg, #bbdefb 0%, #90caf9 100%);
    border-color: #4680ff;
    transform: scale(1.05);
}

.product-item-title {
    font-size: 14px;
    font-weight: 700;
    color: #1c252e;
    line-height: 1.4;
    flex: 1;
}

.product-item-badges {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.product-badge i {
    font-size: 0.75rem;
}

.product-badge-sales {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    color: #e65100;
    border: 1px solid #ffb74d;
}

.product-badge-stock {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #2e7d32;
    border: 1px solid #81c784;
}

.product-badge-stock.stock-out {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    color: #c62828;
    border: 1px solid #ef5350;
}

.product-badge-contact {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1565c0;
    border: 1px solid #64b5f6;
}

.product-item-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.product-price-old {
    font-size: 0.75rem;
    color: #9e9e9e;
    text-decoration: line-through;
    font-weight: 500;
}

.product-price-sale {
    font-size: 0.875rem;
    color: #f44336;
    font-weight: 700;
}

.product-price-normal {
    font-size: 0.875rem;
    color: #4680ff;
    font-weight: 700;
}

.product-item-description {
    font-size: 12px;
    line-height: 1.5;
    color: #6c757d;
    margin-top: 0.5rem;
}

.product-item-btn {
    width: 100%;
    padding: 0.5rem 1rem;
    font-size: 12px;
    font-weight: 600;
    background: linear-gradient(135deg, #4680ff 0%, #357abd 100%);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(70, 128, 255, 0.2);
}

.product-item-btn:hover {
    background: linear-gradient(135deg, #357abd 0%, #2a5f9a 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(70, 128, 255, 0.3);
}

.product-item-btn:active {
    transform: translateY(0);
}

.product-item-btn i {
    font-size: 13px;
}

/* Products List Container */
.products-list {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.products-list::-webkit-scrollbar {
    width: 6px;
}

.products-list::-webkit-scrollbar-track {
    background: #f1f3f5;
    border-radius: 10px;
}

.products-list::-webkit-scrollbar-thumb {
    background: #4680ff;
    border-radius: 10px;
}

.products-list::-webkit-scrollbar-thumb:hover {
    background: #357abd;
}

/* User Info Card Custom Styles */
.user-info-card-custom {
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

/* Ẩn scrollbar trình duyệt (client layout) cho giao diện sạch hơn */
html {
    scrollbar-width: none;          /* Firefox */
    -ms-overflow-style: none;       /* IE/Edge legacy */
}
html::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.user-info-card-custom:hover {
    box-shadow: 0 4px 16px rgba(70, 128, 255, 0.15);
    transform: translateY(-2px);
}


.user-info-body {
    padding: 1.25rem;
}

.user-profile-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 2px dashed #e9ecef;
}

.user-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.user-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid #4680ff;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(70, 128, 255, 0.3);
    transition: all 0.3s ease;
}

.user-info-card-custom:hover .user-avatar {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(70, 128, 255, 0.4);
}

.user-status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 16px;
    height: 16px;
    background: #4caf50;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.user-info-content {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1c252e;
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}

.user-username {
    font-size: 0.8125rem;
    color: #6c757d;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.user-username i {
    font-size: 0.75rem;
}

.user-stats-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.user-stat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 0.875rem;
    background: linear-gradient(to right, #f8f9fa, #ffffff);
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.user-stat-item:hover {
    background: linear-gradient(to right, #e3f2fd, #f0f4ff);
    border-color: #90caf9;
    transform: translateX(4px);
}

.user-stat-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #6c757d;
}

.user-stat-label i {
    font-size: 0.875rem;
    color: #4680ff;
}

.user-stat-value {
    font-size: 0.875rem;
    font-weight: 700;
    color: #1c252e;
}

.user-stat-balance {
    color: #4caf50;
    font-size: 0.9375rem;
}

.user-stat-badge {
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1565c0;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid #64b5f6;
}

.user-action-buttons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.user-action-btn {
    flex: 1;
    padding: 0.625rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
}

.user-action-btn-primary {
    background: linear-gradient(135deg, #4680ff 0%, #357abd 100%);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(70, 128, 255, 0.3);
}

.user-action-btn-primary:hover {
    background: linear-gradient(135deg, #357abd 0%, #2a5f9a 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(70, 128, 255, 0.4);
}

.user-action-btn-secondary {
    background: #ffffff;
    color: #4680ff;
    border: 2px solid #4680ff;
}

.user-action-btn-secondary:hover {
    background: #4680ff;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(70, 128, 255, 0.3);
}

.user-action-btn i {
    font-size: 0.875rem;
}

.user-level-progress {
    padding-top: 1rem;
    border-top: 2px dashed #e9ecef;
}

.user-level-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.user-level-progress-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #6c757d;
}

.user-level-progress-label i {
    font-size: 0.875rem;
    color: #4680ff;
}

.user-level-progress-percent {
    font-size: 0.875rem;
    font-weight: 700;
    color: #4680ff;
}

.user-level-progress-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.user-level-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4680ff 0%, #64b5f6 100%);
    border-radius: 10px;
    transition: width 0.6s ease;
    box-shadow: 0 2px 4px rgba(70, 128, 255, 0.3);
}

.user-level-progress-text {
    font-size: 0.75rem;
    color: #6c757d;
    display: block;
    line-height: 1.4;
}

/* Sidebar Hover Fix */
.pc-sidebar .pc-item:not(.active) > .pc-link:hover {
    background: rgba(0, 0, 0, 0.04) !important;
    color: var(--bs-primary) !important;
}
.pc-sidebar .pc-item:not(.active) > .pc-link:hover .pc-micon,
.pc-sidebar .pc-item:not(.active) > .pc-link:hover .pc-micon i {
    color: var(--bs-primary) !important;
}

/* Sidebar Dark Mode Override */
[data-bs-theme="dark"] .pc-sidebar,
[data-pc-theme="dark"] .pc-sidebar {
    --pc-sidebar-background: #141A21 !important;
    --pc-sidebar-color: #d8d8d8 !important;
    --pc-sidebar-color-rgb: 216, 216, 216 !important;
    --pc-sidebar-caption-color: #a0a0a0 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
}

[data-bs-theme="dark"] .pc-sidebar .pc-item:not(.active) > .pc-link:hover,
[data-pc-theme="dark"] .pc-sidebar .pc-item:not(.active) > .pc-link:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
}
[data-bs-theme="dark"] .pc-sidebar .pc-item:not(.active) > .pc-link:hover .pc-micon,
[data-bs-theme="dark"] .pc-sidebar .pc-item:not(.active) > .pc-link:hover .pc-micon i,
[data-pc-theme="dark"] .pc-sidebar .pc-item:not(.active) > .pc-link:hover .pc-micon,
[data-pc-theme="dark"] .pc-sidebar .pc-item:not(.active) > .pc-link:hover .pc-micon i {
    color: #ffffff !important;
}