@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@100..900&display=swap');

:root {
    --theme-primary-dark: #062616;
    --theme-primary-bright: #0B3C24;
    --theme-primary-gradient: linear-gradient(135deg, #0B3C24 0%, #062616 100%);
    --theme-primary-alpha: rgba(6, 38, 22, 0.15);
    --theme-primary-light: #50C878;
    --theme-primary-hover: #3FA661;

    --theme-secondary-dark: #C5A059;
    --theme-secondary-bright: #D4AF37;
    --theme-secondary-gradient: linear-gradient(135deg, #D4AF37 0%, #C5A059 100%);
    --theme-secondary-alpha: rgba(197, 160, 89, 0.15);
    --theme-secondary-light: #D4AF37;
    --theme-secondary-hover: #C89D10;

    --theme-white: #FFFFFF;
    --theme-white-light: #F4F7F5;
    --theme-dark: #202020;
    --theme-muted: #767878;
    --theme-success: #0A9659;
    --theme-warning: #D4AF37;
    --theme-info: #5FA3C2;
    --theme-danger: #BC2D06;

    --theme-radius-sm: 8px;
    --theme-radius-md: 12px;
    --theme-radius-lg: 20px;
    --theme-radius-pill: 50px;
    --theme-radius-card: 16px;

    --theme-shadow: 0 10px 20px -5px rgba(138, 154, 134, 0.15);
    --theme-shadow-hover: 0 15px 30px -5px rgba(138, 154, 134, 0.3);
    --theme-shadow-soft: 0 4px 24px rgba(6, 38, 22, 0.04);
    --theme-shadow-soft-hover: 0 8px 24px rgba(6, 38, 22, 0.08);
    --theme-transition: all 0.25s ease-in-out;

    --theme-text-body: #1A2620;
    --theme-font-body: "Noto Sans Thai", sans-serif;
    --theme-font-size: 0.88rem;
}

body {
    background-color: var(--theme-white-light);
    padding-top: 4.6rem;
    font-family: var(--theme-font-body);
    font-size: var(--theme-font-size);
    color: var(--theme-text-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 991.98px) {
    body {
        padding-top: 4rem;
        padding-bottom: 68px;
    }
}

.fs-sxs { font-size: 0.524rem !important; }
.fs-xxs { font-size: 0.6rem !important; }
.fs-xs { font-size: 0.7rem !important; }
.fs-sm { font-size: 0.8rem !important; }
.fs-md { font-size: 0.9rem !important; }
.fs-lg { font-size: 1.1rem !important; }
.fs-xl { font-size: 1.4rem !important; }
.fs-xxl { font-size: 1.8rem !important; }

.fw-xs { font-weight: 300 !important; }
.fw-sm { font-weight: 400 !important; }
.fw-md { font-weight: 500 !important; }
.fw-lg { font-weight: 600 !important; }
.fw-xl { font-weight: 700 !important; }

i .bi,
i .bi::after,
i .bi::before {
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block;
    line-height: 1 !important;
    width: auto !important;
    height: auto !important;
    vertical-align: middle;
}

a,
a:active,
a:hover {
    text-decoration: none;
}

.cursor-pointer {
    cursor: pointer;
}

.modal-header,
.modal-footer {
    border: 0 !important;
}

.text-theme-primary {
    color: var(--theme-primary-dark) !important;
}

.text-theme-primary-light {
    color: var(--theme-primary-light) !important;
}

.text-theme-secondary {
    color: var(--theme-secondary-dark) !important;
}

.text-theme-secondary-light {
    color: var(--theme-secondary-bright) !important;
}

.text-theme-dark {
    color: var(--theme-dark) !important;
}

.text-theme-muted {
    color: var(--theme-muted) !important;
}

.text-theme-white {
    color: var(--theme-white) !important;
}

.text-theme-light {
    color: var(--theme-white-light) !important;
}

.text-theme-success {
    color: var(--theme-success) !important;
}

.text-theme-warning {
    color: var(--theme-warning) !important;
}

.text-theme-info {
    color: var(--theme-info) !important;
}

.text-theme-danger {
    color: var(--theme-danger) !important;
}

.text-theme-navy {
    color: var(--theme-primary-dark) !important;
}

.text-theme-pink {
    color: var(--theme-primary-light) !important;
}

.text-theme-gold {
    color: var(--theme-secondary-dark) !important;
}

.text-gold-light {
    color: var(--theme-secondary-bright) !important;
}


.text-magenta-custom {
    color: #2CE194 !important;
}

.text-gold-premium {
    color: #D4AF37 !important;
}

.text-cyan-custom {
    color: #A7D7C5 !important;
}

.text-warn-custom {
    color: #E07A5F !important;
}

.bg-gold-light {
    background-color: var(--theme-secondary-bright) !important;
}

.bg-gold-light:hover {
    background-color: var(--theme-secondary-dark) !important;
    color: #ffffff;
}

.bg-gold-premium {
    background-color: #D4AF37 !important;
}

/* ปรับพื้นหลังไซแอน เป็น เขียวหยกพาสเทล */
.bg-cyan-custom {
    background-color: #A7D7C5 !important;
}

/* ปรับพื้นหลังเตือน เป็น ส้มแอปริคอต */
.bg-warn-custom {
    background-color: #E07A5F !important;
}

.bg-theme-navy {
    background-color: var(--theme-primary-dark) !important;
}

.bg-theme-pink {
    background-color: var(--theme-primary-light) !important;
}

/* ปรับพื้นหลังมาเจนต้า เป็น เขียวมิ้นต์สว่าง */
.bg-magenta-custom {
    background-color: #2CE194 !important;
}

.modal-content {
    background-color: var(--theme-white) !important;
    border-radius: 24px !important;
    /* ปรับเงาของ Modal ให้เป็นประกายอมเขียวเข้มลึก ช่วยให้งานดูมีมิติและสะอาดตา */
    box-shadow: 0 20px 50px rgba(6, 38, 22, 0.12) !important;
}

.modal-body::-webkit-scrollbar {
    width: 6px !important;
}

.modal-body::-webkit-scrollbar-track {
    background: transparent !important;
}

.modal-body::-webkit-scrollbar-thumb {
    /* ปรับสีแถบสกรอลบาร์เริ่มต้นให้เป็นสีเขียวเข้มจางๆ โปร่งแสง */
    background: rgba(11, 60, 36, 0.15) !important;
    border-radius: 10px !important;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    /* เมื่อ Hover จะเปลี่ยนเป็นสีเขียวมรกตสว่างตามตัวแปรใหม่ */
    background: var(--theme-primary-light) !important;
}

.primary-hover:hover {
    background: linear-gradient(135deg, var(--theme-primary-hover) 0%, var(--theme-primary-light) 100%) !important;
    /* ปรับสีเส้นขอบตอน Hover ให้เป็นสีเขียวมรกตจางๆ (แทนสีชมพูเดิม) */
    border-color: rgba(80, 200, 120, 0.2) !important;
    color: var(--theme-white) !important;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--theme-primary-light) 0%, var(--theme-primary-hover) 100%) !important;
    color: var(--theme-white) !important;
    /* ปรับสีเส้นขอบและแสงเงาฟุ้ง (Drop Shadow) ของปุ่มหลักให้เป็นโทนเขียวมรกตที่ดูมีพลัง */
    border: 1.5px solid rgba(80, 200, 120, 0.2) !important;
    border-radius: var(--theme-radius-pill) !important;
    /* 50px */
    box-shadow: 0 4px 15px rgba(80, 200, 120, 0.25);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, var(--theme-primary-hover) 0%, var(--theme-primary-light) 100%) !important;
    transform: translateY(-2px);
    /* เพิ่มความเรืองแสงสีเขียวมรกตให้ดูทันสมัยและเด่นชัดขึ้นเมื่อเอาเมาส์มาวาง */
    box-shadow: 0 6px 20px rgba(80, 200, 120, 0.4);
}

.btn-primary-custom:active {
    transform: translateY(0);
}

.btn-outline-custom {
    color: var(--theme-primary-bright);
    border: 1.5px solid var(--theme-primary-bright);
    background-color: transparent;
    border-radius: var(--theme-radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    transition: all 0.2s ease;
}

.btn-outline-custom:hover {
    color: var(--theme-white) !important;
    background-color: var(--theme-primary-bright) !important;
    transform: translateY(-1px);
}



/* 🟡 1. ปุ่มหลักสีทองคำพรีเมียมไล่ระดับหรูหรา (btn-theme-primary) */
.btn-theme-primary {
    background: var(--theme-secondary-gradient) !important;
    color: var(--theme-white) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    border-radius: var(--theme-radius-md) !important;
    /* โค้ดมนมาตรฐาน 12px */
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.25);
    font-weight: var(--fw-xl) !important;
    padding: 0.5rem 1.5rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.4rem;
    transition: var(--theme-transition) !important;
}

.btn-theme-primary:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.45);
    color: var(--theme-white) !important;
    opacity: 0.95;
}

.btn-theme-primary:active {
    transform: translateY(0);
}

/* 🟢 2. ปุ่มรองสีเขียวเซจคมชัดลึก (btn-theme-secondary) */
.btn-theme-secondary {
    background-color: var(--theme-secondary-dark) !important;
    color: var(--theme-white) !important;
    border: 1px solid rgba(138, 154, 134, 0.1) !important;
    border-radius: var(--theme-radius-md) !important;
    box-shadow: var(--theme-shadow);
    font-weight: var(--fw-xl) !important;
    padding: 0.5rem 1.5rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.4rem;
    transition: var(--theme-transition) !important;
}

.btn-theme-secondary:hover {
    background-color: var(--theme-dark) !important;
    /* โฮเวอร์แล้วเปลี่ยนเป็นเขียวเข้มเพื่อมิติ */
    transform: translateY(-1px);
    box-shadow: var(--theme-shadow-hover);
    color: var(--theme-white) !important;
}

/* 🔲 3. ปุ่มกดแบบเส้นขอบทองคำหรูหรา (btn-theme-outline-primary) */
.btn-theme-outline-primary {
    color: var(--theme-secondary-dark) !important;
    border: 1.5px solid var(--theme-secondary-dark) !important;
    background-color: transparent !important;
    border-radius: var(--theme-radius-md) !important;
    font-weight: var(--fw-xl) !important;
    padding: 0.5rem 1.5rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.4rem;
    transition: var(--theme-transition) !important;
}

.btn-theme-outline-primary:hover {
    color: var(--theme-white) !important;
    background: var(--theme-secondary-gradient) !important;
    border-color: var(--theme-secondary-bright) !important;
    transform: translateY(-1px);
    box-shadow: var(--theme-shadow);
}

/* 💊 4. ส่วนขยายเพิ่มเติม: ปุ่มดีไซน์ทรงแคปซูลมนกลม (btn-theme-pill) */
.btn-theme-pill {
    border-radius: var(--theme-radius-pill) !important;
    padding-left: 1.75rem !important;
    padding-right: 1.75rem !important;
}

/* 🔒 5. ปุ่มสถานะเมื่อระบบปิดทำงาน (btn-theme-disabled) */
.btn-theme-disabled,
.btn-theme-primary:disabled {
    background: #DCE3E0 !important;
    color: var(--theme-muted) !important;
    border: 1px solid #CBD5DE !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
    pointer-events: none;
}

.card-custom {
    background-color: var(--theme-white);
    border: 1px solid rgba(6, 38, 22, 0.05);
    border-radius: var(--theme-radius-card);
    box-shadow: var(--theme-shadow);
    transition: all 0.3s ease;
}

.card-custom:hover {
    transform: translateY(-3px);
    box-shadow: var(--theme-shadow-hover);
}

.form-control,
.form-select {
    /* ปรับพื้นหลังอินพุตให้อมเขียวมิ้นต์จางมากๆ เพื่อความคลีนและเข้าธีม */
    background-color: #F7F9F8 !important;
    /* ปรับเส้นขอบเริ่มต้นให้ออกโทนเทาอมเขียวอ่อน */
    border: 1.5px solid #D2DDD7 !important;
    color: var(--theme-primary-dark) !important;
    padding: 0.375rem 1.25rem !important;
    transition: all 0.2s ease-in-out;
}

.form-floating>.form-control,
.form-floating>.form-select {
    height: 58px !important;
    padding-left: 1.25rem !important;
}

.form-floating>label {
    padding-left: 1.25rem !important;
    font-size: 0.78rem;
    /* ปรับสีตัวอักษร Label ให้เป็นสีเทาอมเขียวหม่น */
    color: #617268;
}

.form-control:focus,
.form-select:focus {
    background-color: var(--theme-white) !important;
    border-color: var(--theme-primary-bright) !important;
    /* ปรับแสงเรืองรองตอนคลิก (Focus Ring) ให้เป็นสีเขียวมรกตโปร่งแสง ดูสบายตาและโมเดิร์น */
    box-shadow: 0 0 0 4px rgba(80, 200, 120, 0.15) !important;
}

textarea.form-control {
    border-radius: var(--theme-radius-card) !important;
    padding-top: 1.5rem !important;
}

.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus {
    /* ปรับสีกล่องตอนเปิดเติมคำอัตโนมัติ (Autofill) ให้เข้ากับสีพื้นหลังอินพุตใหม่ */
    -webkit-box-shadow: 0 0 0 1000px #F7F9F8 inset !important;
    -webkit-text-fill-color: var(--theme-primary-dark) !important;
    transition: background-color 5000s ease-in-out 0s;
}

.dropdown-menu {
    border-radius: var(--theme-radius-card) !important;
    /* ปรับเส้นขอบและเงาของดรอปดาวน์ให้มีมิติอมเขียวเข้มลึกแบบจางๆ */
    border: 1px solid rgba(6, 38, 22, 0.06) !important;
    box-shadow: 0 10px 30px rgba(6, 38, 22, 0.08) !important;
    padding: 0.5rem !important;
}

.dropdown-item {
    border-radius: var(--theme-radius-sm);
    padding: 0.5rem 1rem !important;
    color: var(--theme-primary-dark) !important;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    /* ปรับสีพื้นหลังไฮไลท์เมื่อ Hover ให้เป็นสีเขียวมรกตสว่างแบบจางมากๆ และตัวอักษรเป็นสีเขียวมรกตเด่นชัด */
    background-color: rgba(80, 200, 120, 0.08) !important;
    color: var(--theme-primary-light) !important;
}

.offcanvas {
    background: linear-gradient(135deg, var(--theme-primary-dark) 0%, var(--theme-primary-bright) 100%) !important;
    color: var(--theme-white) !important;
    border: none !important;
}

.offcanvas-start {
    border-radius: 0 var(--theme-radius-card) var(--theme-radius-card) 0 !important;
}

.offcanvas-end {
    border-radius: var(--theme-radius-card) 0 0 var(--theme-radius-card) !important;
}

.offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.list-group-item.custom-alert-item {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: var(--theme-radius-card) !important;
    color: var(--theme-white) !important;
    padding: 1rem !important;
    transition: all 0.25s ease;
}

.list-group-item.custom-alert-item:hover {
    background: rgba(255, 255, 255, 0.09) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-2px);
}

.swal2-popup {
    font-family: var(--theme-font-body) !important;
    border-radius: var(--theme-radius-card) !important;
    background-color: var(--theme-white) !important;
    border: 1px solid rgba(6, 38, 22, 0.05) !important;
    box-shadow: 0 15px 40px rgba(6, 38, 22, 0.1) !important;
}

.swal2-title {
    color: var(--theme-primary-dark) !important;
    font-weight: 700 !important;
}

.swal2-html-container {
    color: #4e5953 !important;
}

.swal2-popup .swal2-styled.swal2-confirm {
    background: linear-gradient(135deg, var(--theme-primary-light) 0%, var(--theme-primary-hover) 100%) !important;
    color: var(--theme-white) !important;
    border: 1.5px solid rgba(80, 200, 120, 0.2) !important;
    border-radius: var(--theme-radius-pill) !important;
    padding: 0.65rem 2.2rem !important;
    box-shadow: 0 4px 12px rgba(80, 200, 120, 0.2) !important;
    transition: all 0.2s ease !important;
}

.swal2-popup .swal2-styled.swal2-confirm:hover {
    transform: translateY(-1px);
}

.swal2-popup .swal2-styled.swal2-cancel {
    background-color: transparent !important;
    color: var(--theme-primary-bright) !important;
    border: 1.5px solid var(--theme-primary-bright) !important;
    border-radius: var(--theme-radius-pill) !important;
    padding: 0.6rem 2.2rem !important;
}

.navbar-custom {
    min-height: 64px;
    padding: 0.5rem 1rem !important;
    /* ปรับพื้นหลังแถบเมนูให้เป็นสีเขียวมรกตเข้มลึกแบบโปร่งแสง ดูหรูหราและสบายตา */
    background: linear-gradient(180deg, rgba(11, 60, 36, 0.95) 0%, rgba(6, 38, 22, 0.98) 100%) !important;
}

.navbar-brand-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.navbar-brand-img:hover {
    transform: scale(1.02);
}

.menu-mobile .menu-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1rem;
}

.menu-mobile .menu-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.65);
    padding: 0.4rem 1rem;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-mobile .menu-link:hover {
    color: var(--theme-white);
    background-color: rgba(255, 255, 255, 0.06);
}

.menu-mobile .menu-item.active .menu-link {
    color: var(--theme-white);
    background-color: rgba(255, 255, 255, 0.1) !important;
    font-weight: var(--fw-md) !important;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.05);
    padding: 8px;
}

.menu-mobile .menu-item.active .menu-link::after {
    content: "";
    position: absolute;
    bottom: 4px;
    width: 12px;
    height: 3px;
    /* ปรับขีดเส้นใต้สถานะ Active ให้เป็นสีเขียวมรกตสว่าง */
    background-color: var(--theme-primary-light);
    border-radius: var(--theme-radius-pill);
    /* ปรับแสงเรืองรองใต้เส้นให้เป็นประกายสีเขียวมรกตที่ดูทันสมัย */
    box-shadow: 0 0 8px var(--theme-primary-light);
}

.nav-avatar-xxs {
    height: 22px;
    width: auto;
    object-fit: contain;
    margin-bottom: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.menu-mobile .menu-link:hover .nav-avatar-xxs,
.menu-mobile .menu-item.active .nav-avatar-xxs {
    transform: translateY(-3px) scale(1.05);
    /* ปรับเงาฟุ้งรอบรูปโปรไฟล์ขนาดเล็ก (Avatar) ตอน Hover/Active ให้เรืองแสงอมเขียวมรกตบางๆ */
    filter: drop-shadow(0 4px 8px rgba(80, 200, 120, 0.35));
}

.text-bottom-menu {
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.nav-tool-img-xxs {
    height: 22px;
    width: auto;
    object-fit: contain;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.navbar-items-ms:hover .nav-tool-img-xxs {
    transform: translateY(-2px) scale(1.03);
    /* ปรับเงาฟุ้งรอบไอคอนเครื่องมือตอน Hover ให้เรืองแสงสีเขียวมรกตพรีเมียม (แทนสีชมพูเดิม) */
    filter: drop-shadow(0 4px 8px rgba(80, 200, 120, 0.4));
}

.navbar-items-ms .position-absolute {
    margin-top: -2px !important;
    margin-left: 2px !important;
}

@media (max-width: 991.98px) {
    .menu-mobile {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        /* ปรับพื้นหลังแถบเมนูด้านล่างบนมือถือให้เป็นไล่เฉดสีเขียวมรกตเข้มลึกแบบโปร่งแสง (ดึงโทนเดียวกับ Navbar) */
        background: linear-gradient(180deg, rgba(11, 60, 36, 0.95) 0%, rgba(6, 38, 22, 0.98) 100%) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        z-index: 1030;
        padding: 6px 10px 8px 10px;
        /* ปรับเงาที่ทอดขึ้นด้านบนให้มีมิติอมเขียวเข้มลึกจางๆ เพื่อความเนียนตา */
        box-shadow: 0 -8px 32px rgba(6, 38, 22, 0.25);
        backdrop-filter: blur(12px);
    }

    .menu-mobile .menu-list {
        justify-content: space-around;
        gap: 0;
    }

    .menu-mobile .menu-link {
        border-radius: 12px;
        padding: 0.5rem 0;
        width: 100%;
        color: rgba(255, 255, 255, 0.55);
    }

    .menu-mobile .menu-link:hover {
        background-color: transparent;
    }

    .menu-mobile .menu-item.active .menu-link {
        background-color: transparent !important;
        color: var(--theme-white);
    }

    .menu-mobile .menu-item.active .menu-link::after {
        bottom: -2px;
        width: 16px;
    }
}

.custom-footer-wrapper {
    background-color: var(--theme-primary-dark);
    color: rgba(255, 255, 255, 0.7);
}

.img-social-link img {
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.img-social-link:hover img {
    transform: translateY(-3px);
}

.footer-link {
    color: rgba(255, 255, 255, 0.75) !important;
    transition: all 0.2s ease;
}

.footer-link:hover {
    /* เปลี่ยนสีไฮไลท์ลิงก์ตอน Hover จากชมพูเป็นสีเขียวมรกตสว่างสดใส (ตามตัวแปรใหม่) */
    color: var(--theme-primary-light) !important;
    transform: translateX(1px);
}

.border-top-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.copyright {
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.3px;
}

.preloader-theme {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* ปรับพื้นหลังหน้าจอโหลดให้เป็นสีเขียวมรกตเข้มลึกแบบโปร่งแสง เพื่อคุมโทนให้สม่ำเสมอกัน */
    background-color: rgba(6, 38, 22, 0.92) !important;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.preloader-content-box {
    /* กล่องข้อความโหลดดึงค่าจากตัวแปรเขียวมรกตโทนทึบ ดูลื่นตาและมีมิติ */
    background-color: var(--theme-primary-bright);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--theme-radius-card);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 280px;
}


.pagination {
    gap: 0.35rem;
    --bs-pagination-border-radius: var(--theme-radius-pill);
}

.pagination .page-link {
    /* ใช้สีเขียวมรกตโทนทึบพรีเมียมสำหรับข้อความบนปุ่มที่ยังไม่ได้เลือก */
    color: var(--theme-primary-bright) !important;
    background-color: var(--theme-white) !important;
    /* ปรับเส้นขอบปุ่มบางๆ ให้เป็นโทนเขียวมรกตเข้มแบบโปร่งแสง */
    border: 1.5px solid rgba(6, 38, 22, 0.06) !important;
    padding: 0.5rem 0.9rem !important;
    border-radius: var(--theme-radius-pill) !important;
    box-shadow: var(--theme-shadow);
    transition: all 0.2s ease-in-out;
}

.pagination .page-item:not(.active) .page-link:hover {
    color: var(--theme-white) !important;
    background-color: var(--theme-primary-bright) !important;
    border-color: var(--theme-primary-bright) !important;
    transform: translateY(-1px);
}

.pagination .page-link:focus {
    /* ปรับวงแหวนเรืองรองตอนคลิกเลือกปุ่ม (Focus Ring) ให้เป็นสีเขียวมรกตโปร่งแสง ดูนุ่มตา */
    box-shadow: 0 0 0 4px rgba(11, 60, 36, 0.12) !important;
    background-color: var(--theme-white) !important;
}

.pagination .page-item.active .page-link {
    /* ปรับปุ่มที่กำลังเลือกอยู่ (Active) ให้เป็นไล่เฉดสีเขียวมรกตทรงพลังตามตัวแปรใหม่ */
    background: linear-gradient(135deg, var(--theme-primary-light) 0%, var(--theme-primary-hover) 100%) !important;
    color: var(--theme-white) !important;
    border-color: var(--theme-primary-light) !important;
    /* ปรับเงาฟุ้งของปุ่ม Active ให้เป็นสีเขียวมรกตสวยงาม */
    box-shadow: 0 4px 12px rgba(80, 200, 120, 0.25) !important;
    z-index: 3;
}

.pagination .page-item.disabled .page-link {
    color: #a0aec0 !important;
    background-color: #edf2f7 !important;
    border-color: #e2e8f0 !important;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.65;
}


.shadow-soft {
    box-shadow: var(--theme-shadow) !important;
}

.shadow-hover:hover {
    box-shadow: var(--theme-shadow-hover) !important;
}

.hover-opacity-100 {
    transition: opacity 0.2s ease;
}

.hover-opacity-100:hover {
    opacity: 1 !important;
}

.hover-bg-light:hover {
    /* ปรับสีพื้นหลังตอน Hover เมนูย่อยให้เป็นสีเทาอมเขียวจางมากๆ เพื่อความกลมกลืน */
    background-color: rgba(6, 38, 22, 0.03) !important;
}

.input-search-padded {
    padding-right: 140px !important;
}

.alert-custom-pink {
    /* เปลี่ยนจาก Alert สีชมพูเดิม เป็น Alert ธีมสีเขียวมรกตที่เด่นชัดและคลีนสะอาดตา */
    border-left: 4px solid var(--theme-primary-light) !important;
    background-color: rgba(80, 200, 120, 0.04) !important;
    border-radius: var(--theme-radius-card) !important;
    /* ปรับเส้นขอบรอบข้างให้ออกเทาอมเขียวบางๆ */
    border-top: 1px solid rgba(6, 38, 22, 0.04);
    border-right: 1px solid rgba(6, 38, 22, 0.04);
    border-bottom: 1px solid rgba(6, 38, 22, 0.04);
}

.icon-circle-pink {
    /* เปลี่ยนวงกลมไอคอนสีชมพูเดิม ให้เป็นสีเขียวมรกตสว่างทรงพลังตามตัวแปรใหม่ */
    background-color: var(--theme-primary-light);
    color: var(--theme-white);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* ปรับแสงเงาฟุ้งใต้ไอคอนให้เรืองแสงเป็นสีเขียวมรกตพรีเมียม */
    box-shadow: 0 4px 10px rgba(80, 200, 120, 0.3);
}


.hero-section {
    background: linear-gradient(135deg, #051A10 0%, var(--theme-primary-bright) 40%, var(--theme-primary-dark) 100%);
    color: var(--theme-white);
}

.text-pink-highlight {
    /* ปรับสีข้อความเน้นเด่นให้เป็นสีเขียวมรกตสว่าง พร้อมปรับแสงนีออนเรืองแสงด้านหลังให้เปล่งประกายสีเขียวสวยงาม */
    color: var(--theme-primary-light);
    text-shadow: 0 0 20px rgba(80, 200, 120, 0.4);
}

.product-card-custom {
    background-color: var(--theme-white);
    /* ปรับเส้นขอบการ์ดบางๆ ให้เป็นโทนเขียวมรกตเข้มแบบโปร่งแสง */
    border: 1px solid rgba(6, 38, 22, 0.05) !important;
    border-radius: var(--theme-radius-card) !important;
    box-shadow: var(--theme-shadow);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-card-custom:hover {
    transform: translateY(-4px);
    box-shadow: var(--theme-shadow-hover);
}

.product-img-wrapper {
    /* ปรับพื้นหลังกรอบใส่รูปภาพให้อมเขียวมิ้นต์จางๆ ดูคลีนและสะอาดตาเข้ากับตัวสินค้า */
    background-color: #F4F7F5 !important;
    aspect-ratio: 1 / 1;
    padding: 10px;
    border-radius: var(--theme-radius-card) var(--theme-radius-card) 0 0;
}

.product-img {
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-card-custom:hover .product-img {
    transform: scale(1.04);
}

.product-card-custom .badge {
    /* ปรับเงาฟุ้งของป้ายสินค้า (Badge) ให้เรืองแสงอมเขียวมรกตพรีเมียม (แทนสีชมพูเดิม) */
    box-shadow: 0 2px 8px rgba(80, 200, 120, 0.25);
    letter-spacing: 0.3px;
}

.cta-glow-card {
    /* ปรับพื้นหลังกล่อง CTA ให้เป็นไล่เฉดสีเขียวมรกตเข้มลึก ดูพรีเมียมและน่าดึงดูด */
    background: linear-gradient(135deg, var(--theme-primary-bright) 0%, var(--theme-primary-dark) 100%) !important;
    border-radius: var(--theme-radius-card) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: var(--theme-shadow);
}

.card-bg-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 60%;
    /* ปรับแสงรัศมีวงกลม (Radial Glow Overlay) ตรงกลางกล่อง จากสีชมพูเดิมให้เป็นสีเขียวมรกตสว่างแบบฟุ้งกระจาย เพิ่มความโมเดิร์น */
    background: radial-gradient(circle, rgba(80, 200, 120, 0.18) 0%, transparent 70%) !important;
    transform: translate(-50%, -50%);
    filter: blur(60px);
    z-index: 1;
    pointer-events: none;
}

.z-3 {
    position: relative;
    z-index: 3;
}

.cta-icon-wrapper i {
    /* ปรับสีไอคอนในกล่อง CTA ให้เป็นสีเขียวมรกตสว่าง และปรับเงาให้นีออนเรืองแสงอย่างสวยงาม */
    color: var(--theme-primary-light) !important;
    filter: drop-shadow(0 0 10px rgba(80, 200, 120, 0.45));
}

.cta-description {
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.6;
    max-width: 720px;
}

.bg-theme-navigation {
    background: linear-gradient(135deg, var(--theme-primary-dark) 0%, var(--theme-primary-bright) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-bottom: 2px solid var(--theme-primary-light) !important;
    box-shadow: var(--theme-shadow) !important;
}

.btn-theme-section-back {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: var(--theme-white) !important;
    font-size: 1.4rem;
    font-weight: 900;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

}

.btn-theme-section-back:hover {
    background-color: var(--theme-primary-light) !important;
    border-color: var(--theme-primary-light) !important;
    color: var(--theme-white) !important;
    transform: scale(1.05);
}

.btn-theme-section-back:active {
    transform: scale(0.95);
}

.slider-single {
    background-color: var(--theme-white);
    /* ปรับเส้นขอบกล่องสไลเดอร์บางๆ ให้เป็นโทนเขียวมรกตเข้มแบบโปร่งแสง */
    border: 1px solid rgba(6, 38, 22, 0.05);
    border-radius: var(--theme-radius-card);
    padding: 1rem;
    box-shadow: var(--theme-shadow);
    margin-bottom: 1rem;
}

.slider-single img {
    max-height: 340px;
    object-fit: contain;
    width: 100%;
}

.slider-nav .p-1 img {
    /* ปรับเส้นขอบเริ่มต้นของรูปตัวอย่างขนาดเล็ก (Thumbnail) ให้เป็นเทาอมเขียวจางๆ */
    border: 1px solid #D2DDD7;
    border-radius: var(--theme-radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    max-height: 70px;
    object-fit: contain;
}

.slider-nav .slick-current img,
.slider-nav .p-1 img:hover {
    /* เปลี่ยนเส้นขอบและเงาเรืองแสงของรูปที่เลือกอยู่หรือรูปที่เลื่อนเมาส์ผ่าน ให้เป็นสีเขียวมรกตสว่างสดใส */
    border-color: var(--theme-primary-light) !important;
    box-shadow: 0 0 8px rgba(80, 200, 120, 0.25);
}

.more-content .d-flex {
    padding: 0.75rem;
    /* ปรับพื้นหลังให้อมเขียวมิ้นต์จางๆ เบาสบายตา */
    background-color: #F4F7F5;
    /* ปรับเส้นขอบบางๆ ให้เป็นโทนเขียวมรกตเข้มแบบโปร่งแสง */
    border: 1px solid rgba(6, 38, 22, 0.03);
    border-radius: var(--theme-radius-sm);
    transition: background-color 0.2s ease;
}

.more-content .d-flex:hover {
    /* ปรับสีตอน Hover ให้ออกโทนเทาอมเขียวสว่างนุ่มๆ */
    background-color: #E9EFEA;
}

.more-content .product-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    background-color: var(--theme-white);
    border-radius: var(--theme-radius-sm);
    /* ปรับเส้นขอบรูปภาพเริ่มต้นเป็นโทนเทาอมเขียวอ่อน */
    border: 1px solid #D2DDD7;
}

.alert-light-custom {
    background-color: var(--theme-white-light) !important;
    /* ปรับเส้นขอบกล่องแจ้งเตือนแบบซอฟต์เป็นโทนเทาอมเขียวอ่อน */
    border: 1px solid #D2DDD7 !important;
    /* ปรับสีตัวอักษรให้ออกโทนเทาอมเขียวเข้มเพื่อให้อ่านง่ายและกลมกลืน */
    color: #435149 !important;
    border-radius: var(--theme-radius-sm) !important;
    padding: 1rem !important;
}

.border-bottom-dash-footer {
    /* ปรับเส้นประคั่นเนื้อหาเป็นโทนเทาอมเขียวจางๆ */
    border-bottom: 1px dashed #D2DDD7;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
}

.more-content {
    display: none;
}

#loadmore {
    color: var(--color-muted);
    display: block;
    transition: .3s;
}

#loadmore:hover {
    color: var(--color-primary-hover);
    text-decoration: none;
}

.end-more-content {
    color: #000 !important;
    background-color: transparent !important;
    pointer-events: none;
}

.custom-tag-item {
    /* ปรับพื้นหลังของแท็กเริ่มต้นให้มีติ่งเขียวพาสเทลจางๆ ดูโมเดิร์นเฮลตี้ */
    background-color: #ECF2EE !important;
    /* สีข้อความดึงค่าจากตัวแปรเขียวมรกตโทนทึบพรีเมียม */
    color: var(--theme-primary-bright) !important;
    /* ปรับเส้นขอบบางๆ ให้เป็นโทนเขียวมรกตโทนทึบแบบโปร่งแสง */
    border: 1px solid rgba(11, 60, 36, 0.08) !important;
    padding: 0.35rem 0.9rem !important;
    border-radius: var(--theme-radius-pill) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    /* ปรับเงาตกกระทบบางๆ ใต้แท็กให้ออกโทนเขียวเข้มจางๆ */
    box-shadow: 0 2px 6px rgba(6, 38, 22, 0.02);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-tag-item:hover {
    /* ปรับเอฟเฟกต์ตอน Hover แท็กให้เป็นไล่เฉดสีเขียวมรกตทรงพลังตามตัวแปรใหม่ */
    background: linear-gradient(135deg, var(--theme-primary-light) 0%, var(--theme-primary-hover) 100%) !important;
    color: var(--theme-white) !important;
    border-color: var(--theme-primary-light) !important;
    transform: translateY(-2px);
    /* ปรับเงาฟุ้งเรืองแสงของแท็กตอน Hover ให้เป็นสีเขียวมรกตสวยงามพรีเมียม (แทนสีชมพูเดิม) */
    box-shadow: 0 4px 12px rgba(80, 200, 120, 0.25);
}

.custom-tag-item:active {
    transform: translateY(0);
}

.custom-cart-group-wrapper {
    /* ปรับพื้นหลังให้อมเขียวมิ้นต์จางๆ สบายตา */
    background-color: #F4F7F5;
    /* ปรับเส้นขอบบางๆ ให้เป็นโทนเขียวมรกตโทนทึบแบบโปร่งแสง */
    border: 1.5px solid rgba(11, 60, 36, 0.08);
    border-radius: var(--theme-radius-pill);
    padding: 4px;
    display: inline-flex;
    align-items: center;
    width: 100%;
}

.custom-qty-input-modern {
    background-color: transparent !important;
    border: none !important;
    color: var(--theme-primary-dark) !important;
    font-weight: 700 !important;
    height: 44px !important;
    box-shadow: none !important;
    padding: 0 0.5rem !important;
}

.custom-qty-input-modern::-webkit-outer-spin-button,
.custom-qty-input-modern::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.btn-cart-modern-action {
    /* เปลี่ยนปุ่มแอ็กชันในตะกร้าสินค้าให้เป็นไล่เฉดสีเขียวมรกตทรงพลังตามตัวแปรใหม่ */
    background: linear-gradient(135deg, var(--theme-primary-light) 0%, var(--theme-primary-hover) 100%) !important;
    color: var(--theme-white) !important;
    border: none !important;
    font-weight: 600;
    height: 44px;
    padding: 0 1.5rem !important;
    border-radius: var(--theme-radius-pill) !important;
    /* ปรับเงาฟุ้งของปุ่มให้เรืองแสงเป็นสีเขียวมรกตสวยงามพรีเมียม (แทนสีชมพูเดิม) */
    box-shadow: 0 4px 12px rgba(80, 200, 120, 0.25);
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-cart-modern-action:hover {
    background: linear-gradient(135deg, var(--theme-primary-hover) 0%, var(--theme-primary-light) 100%) !important;
    transform: translateY(-1px) scale(1.02);
    /* เพิ่มความเรืองแสงสีเขียวมรกตเมื่อเอาเมาส์มาวาง */
    box-shadow: 0 6px 16px rgba(80, 200, 120, 0.35);
}

.btn-cart-modern-action:active {
    transform: translateY(0) scale(1);
}

.btn-cart-modern-disabled {
    /* ปรับสีปุ่มสถานะปิดใช้งาน (Disabled) ให้ออกโทนเทาอมเขียวหม่นจางๆ เพื่อไม่ให้หลุดธีมธรรมชาติ */
    background-color: #E1E8E4 !important;
    color: #8C9B92 !important;
    border: none !important;
    font-weight: 500;
    height: 44px;
    padding: 0 1.5rem !important;
    border-radius: var(--theme-radius-pill) !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem;
    cursor: not-allowed;
    box-shadow: none !important;
}

.shop-item-custom {
    background-color: var(--theme-white);
    /* ปรับเส้นขอบการ์ดร้านค้าบางๆ ให้เป็นโทนเขียวมรกตเข้มแบบโปร่งแสง */
    border: 1px solid rgba(6, 38, 22, 0.05) !important;
    border-radius: var(--theme-radius-card) !important;
    overflow: hidden;
    padding: 12px;
    box-shadow: var(--theme-shadow);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.shop-item-custom:hover {
    transform: translateY(-4px);
    box-shadow: var(--theme-shadow-hover);
}

.shop-img-wrapper {
    /* ปรับพื้นหลังกรอบใส่รูปภาพใหอมเขียวมิ้นต์จางๆ ดูสะอาดตาและโมเดิร์น */
    background-color: #F4F7F5;
    border-radius: var(--theme-radius-sm);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin-bottom: 12px;
}

.shop-img-wrapper img {
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.shop-item-custom:hover .shop-img-wrapper img {
    transform: scale(1.04);
}

.product-title-link a {
    color: var(--theme-primary-dark);
    /* #0A1128 */
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-title-link a:hover {
    /* ปรับสีชื่อสินค้าเมื่อ Hover ให้เปลี่ยนเป็นสีเขียวมรกตสว่างเด่นชัด */
    color: var(--theme-primary-light);
}

.points-badge {
    /* ปรับป้ายคะแนนสะสม (Points Badge) ให้เป็นพื้นหลังสีเขียวมรกตจางมากๆ และตัวอักษรเป็นสีเขียวมรกตสว่าง */
    background-color: rgba(80, 200, 120, 0.08);
    color: var(--theme-primary-light);
    padding: 0.25rem 0.75rem;
    border-radius: var(--theme-radius-pill);
    display: inline-flex;
    align-items: center;
}

.price-text {
    color: var(--theme-primary-dark);
}

.old-price-text {
    color: #a0aec0;
}

.btn-pricing-custom {
    padding: 0.4rem 1.2rem;
    border-radius: var(--theme-radius-pill);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    transition: all 0.2s ease;
}

.btn-shop-action {
    /* เปลี่ยนปุ่มกดสั่งซื้อในร้านค้าให้เป็นไล่เฉดสีเขียวมรกตทรงพลังตามตัวแปรใหม่ */
    background: linear-gradient(135deg, var(--theme-primary-light) 0%, var(--theme-primary-hover) 100%);
    color: var(--theme-white);
    /* ปรับเงาฟุ้งของปุ่มให้เรืองแสงเป็นสีเขียวมรกตสวยงามพรีเมียม */
    box-shadow: 0 4px 10px rgba(80, 200, 120, 0.25);
}

.btn-shop-action:hover {
    background: linear-gradient(135deg, var(--theme-primary-hover) 0%, var(--theme-primary-light) 100%);
    transform: translateY(-1px);
    /* เพิ่มความเรืองแสงสีเขียวมรกตเมื่อเอาเมาส์มาวาง */
    box-shadow: 0 6px 14px rgba(80, 200, 120, 0.35);
}

.btn-shop-disabled {
    /* ปรับปุ่มสถานะปิดใช้งานให้ออกโทนเทาอมเขียวจางๆ เพื่อความกลมกลืน */
    background-color: #E1E8E4 !important;
    color: #8C9B92 !important;
    cursor: not-allowed;
}

.btn-theme-offcanvas-back {
    width: 34px;
    height: 34px;
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: var(--theme-white) !important;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-theme-offcanvas-back:hover {
    background-color: var(--theme-primary-light) !important;
    border-color: var(--theme-primary-light) !important;
    transform: scale(1.05);
}

.offcanvas-title i {
    /* ปรับสีไอคอนหัวข้อให้เป็นสีเขียวมรกตสว่าง และปรับเงาให้นีออนเรืองแสงเป็นสีเขียวสวยงามพรีเมียม */
    color: var(--theme-primary-light) !important;
    filter: drop-shadow(0 0 8px rgba(80, 200, 120, 0.35));
}

.profile-card-custom {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: var(--theme-radius-card) !important;
    box-shadow: var(--theme-shadow);
}

.profile-img-wrapper img {
    border: 2px solid var(--theme-white);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
    object-fit: cover;
}

.avatar-sm-custom {
    width: 46px;
    height: 46px;
}

.text-pink-light {
    color: var(--theme-primary-light) !important;
}

.position-badge {
    background-color: var(--theme-primary-light) !important;
    color: var(--theme-white) !important;
    padding: 0.3rem 0.75rem !important;
    border-radius: var(--theme-radius-pill) !important;
    /* ปรับเงาฟุ้งใต้ป้ายตำแหน่ง (Position Badge) ให้เรืองแสงเป็นประกายสีเขียวมรกตที่ดูโมเดิร์น */
    box-shadow: 0 2px 8px rgba(80, 200, 120, 0.35);
}

.menu-action-card {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: var(--theme-radius-card) !important;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-action-card:hover {
    background: rgba(255, 255, 255, 0.09) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    transform: translateX(-4px);
}

.menu-action-link {
    text-decoration: none !important;
    color: inherit !important;
}

.menu-icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--theme-white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.icon-admin {
    /* ปรับไล่เฉดสีไอคอนแอดมินจากสีน้ำเงิน-ม่วงเดิม ให้เป็นสีเขียวป่าลึกผสมเขียวหยกพรีเมียม */
    background: linear-gradient(135deg, var(--theme-primary-bright) 0%, #1A4D3E 100%);
}

.icon-logout {
    /* ปรับไล่เฉดสีไอคอนออกจากระบบจากสีชมพูเดิม ให้เป็นสีเขียวมรกตสว่างทรงพลังตามตัวแปรใหม่ */
    background: linear-gradient(135deg, var(--theme-primary-light) 0%, var(--theme-primary-hover) 100%);
}

.text-muted-custom {
    color: rgba(255, 255, 255, 0.45) !important;
}

.menu-icon-circle img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.menu-action-card:hover .menu-icon-circle img {
    transform: scale(1.08) translateX(1px);
}

.balance-card-custom {
    background: linear-gradient(135deg, var(--theme-primary-dark) 0%, var(--theme-primary-bright) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: var(--theme-radius-card) !important;
    box-shadow: var(--theme-shadow) !important;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.balance-card-custom:hover {
    transform: translateY(-3px);
    box-shadow: var(--theme-shadow-hover) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

.balance-bonus::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -15%;
    width: 65%;
    height: 130%;
    /* ปรับแสงรัศมีวงกลมเรืองแสง (Radial Gradient Backdrop) จากสีชมพูเดิม ให้เป็นประกายสีเขียวมรกตสว่างแบบฟุ้งกระจายดูหรูหราทันสมัย */
    background: radial-gradient(circle, rgba(80, 200, 120, 0.18) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.balance-icon-circle {
    width: 42px;
    height: 42px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.25s ease;
}

.balance-icon-circle img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.balance-bonus .balance-icon-circle {
    /* ปรับพื้นหลังวงกลมไอคอนโบนัสยอดเงิน จากสีชมพูเดิมให้เป็นสีเขียวมรกตสว่างแบบโปร่งแสง */
    background-color: rgba(80, 200, 120, 0.18);
}

.balance-card-custom:hover .balance-icon-circle img {
    transform: scale(1.08) rotate(3deg);
}

.text-white-opacity {
    color: rgba(255, 255, 255, 0.75) !important;
}

.balance-card-custom .text-muted-custom {
    color: rgba(255, 255, 255, 0.45) !important;
}

.transaction-card-custom {
    background-color: var(--theme-white) !important;
    /* ปรับเส้นขอบการ์ดเริ่มต้นบางๆ ให้เป็นโทนเขียวมรกตเข้มแบบโปร่งแสง */
    border: 1px solid rgba(6, 38, 22, 0.04) !important;
    border-radius: var(--theme-radius-card) !important;
    padding: 1.5rem 1rem;
    box-shadow: var(--theme-shadow) !important;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.transaction-card-custom:hover {
    transform: translateY(-4px);
    box-shadow: var(--theme-shadow-hover) !important;
    /* เปลี่ยนสีเส้นขอบเมื่อ Hover จากสีชมพูเดิมเป็นสีเขียวมรกตสว่างเด่นชัด */
    border-color: var(--theme-primary-light) !important;
}

.icon-box-custom {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    /* ปรับพื้นหลังกล่องไอคอนให้อมเขียวมิ้นต์จางมากๆ ดูสะอาดตา */
    background-color: #F4F7F5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    transition: all 0.25s ease;
}

.icon-box-custom img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-header-img {
    height: 22px;
    width: auto;
    object-fit: contain;
    vertical-align: -4px;
}

.transaction-card-custom:hover .icon-box-custom {
    /* ปรับพื้นหลังกล่องไอคอนเมื่อ Hover การ์ด ให้เป็นสีเขียวมรกตสว่างแบบจางมากๆ */
    background-color: rgba(80, 200, 120, 0.08);
}

.transaction-card-custom:hover .icon-box-custom img {
    transform: scale(1.1) translateY(-1px);
    /* ปรับเงาฟุ้งรอบไอคอนตอน Hover ให้เรืองแสงสีเขียวมรกตพรีเมียม (แทนสีชมพูเดิม) */
    filter: drop-shadow(0 2px 6px rgba(80, 200, 120, 0.25));
}

.transaction-title {
    color: var(--theme-primary-dark);
    line-height: 1.4;
    margin-bottom: 0;
}

.alert-title-block img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    vertical-align: -3px;
}

.custom-alert-empty img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    /* ปรับเงาเรืองแสงรอบไอคอนแจ้งเตือนเปล่าให้เป็นสีเขียวมรกตประกายสวยงาม */
    filter: drop-shadow(0 0 12px rgba(80, 200, 120, 0.3));
    opacity: 0.8;
}

.custom-alert-item {
    /* ปรับเส้นขอบเน้นแนวตั้งด้านซ้ายให้เป็นสีเขียวมรกตสว่างเด่นชัดตามตัวแปรใหม่ */
    border-left: 3px solid var(--theme-primary-light) !important;
    padding: 1.15rem 1rem !important;
}

.text-pink-highlight {
    color: var(--theme-primary-light) !important;
}

.custom-alert-item .text-white {
    font-size: 0.9rem;
}

.text-pink-muted {
    color: var(--theme-primary-light) !important;
    opacity: 0.8;
}

.bg-bonus-balance-box {
    /* เปลี่ยนจากกล่องโบนัสโทนสีชมพูเดิม ให้เป็นสีเขียวมรกตสว่างแบบซอฟต์โปร่งแสงดูพรีเมียม */
    background-color: rgba(80, 200, 120, 0.05) !important;
    border: 1px solid rgba(80, 200, 120, 0.12) !important;
    border-radius: var(--theme-radius-card) !important;
}

.bank-info-wrapper {
    /* ปรับพื้นหลังกล่องข้อมูลธนาคารให้อมเขียวมิ้นต์จางๆ สะอาดตา */
    background-color: #F4F7F5 !important;
    /* ปรับเส้นขอบบางๆ ให้เป็นโทนเขียวมรกตเข้มแบบโปร่งแสง */
    border: 1px solid rgba(6, 38, 22, 0.04) !important;
    border-radius: var(--theme-radius-card) !important;
}

.border-bottom-dash {
    /* ปรับเส้นประคั่นเนื้อหาเป็นโทนเทาอมเขียวจางๆ ให้กลมกลืน */
    border-bottom: 1px dashed #D2DDD7 !important;
}

.currency-prefix-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0.32rem;
    z-index: 5;
    color: var(--theme-primary-bright);
    font-weight: 700;
}

.custom-modal-input {
    padding-left: 1.5rem !important;
    padding-right: 4rem !important;
    padding-top: 1rem !important;
    height: 56px !important;
}

.form-floating>.custom-modal-input~label {
    padding-left: 1rem !important;
}

.form-floating>.custom-modal-input:focus~label,
.form-floating>.custom-modal-input:not(:placeholder-shown)~label {
    transform: scale(0.85) translateY(-0.6rem) translateX(0rem) !important;
    color: var(--theme-primary-bright);
}

.custom-search-input-pill {
    padding-left: 1.25rem !important;
    padding-right: 3rem !important;
    height: 56px !important;
}

.search-icon-inside {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0.1rem;
    z-index: 5;
    color: var(--theme-primary-bright);
    font-size: 1.15rem;
    pointer-events: none;
    transition: color 0.2s ease;
}

.form-floating:focus-within .search-icon-inside {
    /* ปรับสีของไอคอนแว่นขยายภายในช่องค้นหาเมื่อกำลังพิมพ์ (Focus) ให้เปลี่ยนเป็นสีเขียวมรกตสว่างเด่นชัด (แทนสีชมพูเดิม) */
    color: var(--theme-primary-light);
}

.form-floating>.custom-search-input-pill~label {
    padding-left: 1.25rem !important;
}

.modal-header .btn-close,
.offcanvas-header .btn-close {
    background-color: rgba(0, 0, 0, 0.05) !important;
    border-radius: 50% !important;
    padding: 0.6rem !important;
    opacity: 0.8 !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    filter: invert(0) !important;
}

.offcanvas-header .btn-close {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
    filter: invert(1) !important;
}

.modal-header .btn-close:hover,
.offcanvas-header .btn-close:hover {
    /* ปรับสีพื้นหลังและเส้นขอบปุ่มปิดเมื่อ Hover ให้เปลี่ยนเป็นสีเขียวมรกตสว่างตามตัวแปรใหม่ */
    background-color: var(--theme-primary-light) !important;
    border-color: var(--theme-primary-light) !important;
    filter: none !important;
    opacity: 1 !important;
    transform: rotate(90deg) !important;
    /* ปรับเงาเรืองแสงรอบปุ่มปิดตอน Hover ให้เรืองแสงเป็นประกายสีเขียวมรกตที่ดูโมเดิร์น (แทนสีชมพูเดิม) */
    box-shadow: 0 0 15px rgba(80, 200, 120, 0.55) !important;
}

.modal-header .btn-close:focus,
.offcanvas-header .btn-close:focus {
    box-shadow: none !important;
}

.custom-alert-danger-box-premium {
    /* ปรับปรุงกล่องข้อความแจ้งเตือนสีชมพูเดิม ให้เป็นกล่องธีมสีเขียวมรกตที่ดูสะอาดตา พรีเมียม และเข้ากับแบรนด์ */
    background-color: rgba(80, 200, 120, 0.05) !important;
    border: 1px solid rgba(80, 200, 120, 0.18) !important;
    color: var(--theme-primary-dark) !important;
    border-radius: var(--theme-radius-sm) !important;
    padding: 0.85rem 1rem !important;
}

.custom-alert-danger-box-premium i {
    /* ปรับสีไอคอนภายในกล่องแจ้งเตือนให้เป็นสีเขียวมรกตสว่าง */
    color: var(--theme-primary-light) !important;
}

.custom-alert-danger-box-premium .text-bold-highlight {
    /* ปรับสีข้อความเน้นหนาให้เป็นสีเขียวมรกตสว่างให้สอดคล้องกัน */
    color: var(--theme-primary-light) !important;
    font-weight: 700;
}

.animate-arrow {
    display: inline-block;
    /* ปรับสีลูกศรวิ่งอนิเมชันให้เป็นสีเขียวมรกตสว่าง */
    color: var(--theme-primary-light) !important;
    animation: arrow-bounce 1.5s infinite ease-in-out;
}

@keyframes arrow-bounce {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(4px);
    }
}

.badge-verified-custom {
    /* ปรับไล่เฉดสีพื้นหลังป้ายยืนยันความถูกต้อง (Verified Badge) จากสีชมพูเดิม ให้เป็นสีเขียวมรกตสว่างแบบซอฟต์โปร่งแสงผสมเทาอมเขียวจางๆ */
    background: linear-gradient(135deg, rgba(80, 200, 120, 0.08) 0%, rgba(11, 60, 36, 0.02) 100%) !important;
    color: var(--theme-primary-light) !important;
    border: 1px solid rgba(80, 200, 120, 0.18) !important;
    letter-spacing: 0.2px;
    /* ปรับเงาบางๆ ใต้ป้ายให้สอดคล้องกับโทนสีใหม่ */
    box-shadow: 0 2px 6px rgba(80, 200, 120, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.badge-verified-custom i {
    font-size: 1.15rem !important;
    color: var(--theme-primary-light) !important;
}

.custom-suggestions-box-premium {
    position: absolute;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 106000000 !important;
    background-color: var(--theme-white) !important;
    /* ปรับเส้นขอบและเงาตกกระทบของกล่องแนะนำให้มีมิติอมเขียวเข้มลึกแบบจางๆ ดูเบาสบายตา */
    border: 1px solid rgba(6, 38, 22, 0.08) !important;
    border-radius: var(--theme-radius-card) !important;
    box-shadow: 0 12px 32px rgba(6, 38, 22, 0.1) !important;
    overflow: hidden;
    margin-top: 6px !important;
}

.custom-suggestions-box-premium .suggestion-item {
    display: block;
    width: 100%;
}

.custom-suggestions-box-premium .suggestion-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.85rem 1.25rem !important;
    background-color: var(--theme-white);
    /* ปรับเส้นขอบคั่นระหว่างแถวให้เป็นโทนเขียวเข้มแบบโปร่งแสงบางๆ */
    border-bottom: 1px solid rgba(6, 38, 22, 0.04);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.custom-suggestions-box-premium .suggestion-item:last-child .suggestion-item-row {
    border-bottom: none !important;
}

.custom-suggestions-box-premium .suggestion-item-row:hover,
.custom-suggestions-box-premium .suggestion-item-row.selected-highlight {
    /* ปรับสีพื้นหลังไฮไลท์เมื่อ Hover หรือกดเลือก ให้เป็นสีเขียวมรกตสว่างแบบจางมากๆ */
    background-color: rgba(80, 200, 120, 0.05) !important;
    padding-left: 1.5rem !important;
}

.custom-suggestions-box-premium .suggestion-item-row:hover .text-theme-navy {
    /* ปรับให้ข้อความหลักเปลี่ยนเป็นสีเขียวมรกตเมื่อเลื่อนเมาส์ผ่านแถว */
    color: var(--theme-primary-light) !important;
}

.custom-suggestions-box-premium .suggestion-empty-row {
    padding: 1.75rem 1.25rem !important;
    background-color: var(--theme-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.suggestion-empty-row i {
    /* ปรับสีไอคอนแจ้งเตือนเมื่อไม่พบคำค้นหาให้เป็นสีเขียวมรกตสว่าง และปรับเงานีออนเรืองแสงให้กลมกลืน */
    color: var(--theme-primary-light) !important;
    opacity: 0.8;
    filter: drop-shadow(0 0 8px rgba(80, 200, 120, 0.3));
}


.stat-card-custom {
    background-color: var(--theme-white) !important;
    /* ปรับเส้นขอบการ์ดสถิติบางๆ ให้เป็นโทนเขียวมรกตเข้มแบบโปร่งแสง */
    border: 1px solid rgba(6, 38, 22, 0.04) !important;
    border-radius: var(--theme-radius-card) !important;
    box-shadow: var(--theme-shadow) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.stat-card-custom:hover {
    transform: translateY(-4px);
    box-shadow: var(--theme-shadow-hover) !important;
}

.status-active-card {
    /* พื้นหลังดึงค่าจากตัวแปรเขียวมรกตเข้มลึก ช่วยให้การ์ดสถานะเปิดใช้งานดูโดดเด่นและมั่นคง */
    background: linear-gradient(135deg, var(--theme-primary-dark) 0%, var(--theme-primary-bright) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.stat-icon-wrapper {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    /* ปรับพื้นหลังวงกลมไอคอนให้อมเขียวมิ้นต์จางมากๆ ดูสะอาดตา */
    background-color: #F4F7F5;
}

.status-active-card .stat-icon-wrapper {
    background-color: rgba(255, 255, 255, 0.08) !important;
}

.text-success-custom {
    /* ใช้สีเขียวมรกตสว่างระดับสากลเพื่อแสดงสถานะความสำเร็จอย่างชัดเจน */
    color: #10B981 !important;
}

.animate-pulse-custom {
    animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.85;
        transform: scale(0.98);
    }
}

.card-dashboard-custom {
    background-color: var(--theme-white) !important;
    /* ปรับเส้นขอบการ์ดแดชบอร์ดบางๆ ให้เป็นโทนเขียวมรกตเข้มแบบโปร่งแสง */
    border: 1px solid rgba(6, 38, 22, 0.04) !important;
    border-radius: var(--theme-radius-card) !important;
    box-shadow: var(--theme-shadow) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card-dashboard-custom:hover {
    transform: translateY(-4px);
    box-shadow: var(--theme-shadow-hover) !important;
    /* เปลี่ยนสีเส้นขอบการ์ดเมื่อ Hover จากสีชมพูเดิมให้เป็นสีเขียวมรกตสว่างแบบบางๆ */
    border-color: rgba(80, 200, 120, 0.15) !important;
}

.dashboard-link-block {
    text-decoration: none !important;
    display: block;
}

.dashboard-img-holder {
    width: 48px;
    height: 48px;
    /* ปรับพื้นหลังวงกลมไอคอนเริ่มต้นให้อมเขียวมิ้นต์จางๆ */
    background-color: #F4F7F5;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.card-dashboard-custom:hover .dashboard-img-holder {
    /* เปลี่ยนพื้นหลังวงกลมไอคอนเมื่อ Hover จากสีชมพูจางเดิม ให้เป็นสีเขียวมรกตสว่างแบบโปร่งแสงบางเบา */
    background-color: rgba(80, 200, 120, 0.08);
}

.avatar-xs {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-dashboard-custom:hover .avatar-xs {
    transform: scale(1.08) translateY(-1px);
}

.dashboard-menu-title {
    color: var(--theme-primary-dark);
    transition: color 0.2s ease;
}

.card-dashboard-custom:hover .dashboard-menu-title {
    /* เปลี่ยนสีหัวข้อเมนูเมื่อ Hover ให้กลายเป็นสีเขียวมรกตสว่างตามตัวแปรใหม่ */
    color: var(--theme-primary-light);
}


.bg-password-card-custom {
    background-color: var(--theme-white) !important;
    /* ปรับเส้นขอบการ์ดรหัสผ่านบางๆ ให้เป็นโทนเขียวมรกตเข้มแบบโปร่งแสง */
    border: 1px solid rgba(6, 38, 22, 0.04) !important;
    border-radius: var(--theme-radius-card) !important;
    box-shadow: var(--theme-shadow) !important;
}

.header-hr-password {
    border: 0;
    height: 3px;
    /* เปลี่ยนเส้นคั่นหัวข้อจากสีชมพูเดิม ให้เป็นไล่เฉดสีเขียวมรกตสว่าง ค่อยๆ จางหายไปทางขวา */
    background: linear-gradient(to right, var(--theme-primary-light), transparent);
    margin: 1rem 0 1.5rem 0;
    opacity: 1;
}

.input-icon-password-right {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0.1rem;
    z-index: 5;
    color: #a0aec0;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}

.form-floating:focus-within .input-icon-password-right {
    color: var(--theme-primary-bright);
}

.floating-input-login {
    padding-right: 3.5rem !important;
    padding-top: 1.2rem !important;
}

.floating-input {
    padding-top: 1.4rem !important;
}

textarea.floating-input {
    padding-top: 2rem !important;
}

/*
.login-main-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}
.login-main-wrapper::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(6, 38, 22, 0.5) 0%, rgba(11, 60, 36, 0.65) 100%);
    z-index: 1;
}
.login-main-wrapper .container {
    position: relative;
    z-index: 2;
}
*/
.signup-form .input-icon-bootstrap {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0.18rem;
    z-index: 5;
    color: #a0aec0;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}


.form-floating:focus-within .input-icon-bootstrap {
    color: var(--theme-primary-bright);
}

.bg-card-custom {
    background-color: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    /* ปรับเงาของการ์ดกระจกฝ้าให้มีมิติอมเขียวเข้มลึกแบบจางๆ ดูเบาสบายตาและพรีเมียม */
    box-shadow: 0 20px 40px rgba(6, 38, 22, 0.12) !important;
    border-radius: var(--theme-radius-card);
}

.bg-login-card-custom.card-custom {
    background-color: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    /* ปรับเงาของการ์ดกระจกฝ้าในหน้า Login ให้สอดคล้องกัน */
    box-shadow: 0 20px 40px rgba(6, 38, 22, 0.12) !important;
}

.signup-form .floating-input-login {
    /* ปรับพื้นหลังอินพุตในฟอร์มสมัครสมาชิกให้อมเขียวมิ้นต์จางๆ */
    background-color: rgba(244, 247, 245, 0.75) !important;
    /* ปรับเส้นขอบเริ่มต้นให้ออกโทนเทาอมเขียวอ่อนโปร่งแสง */
    border: 1.5px solid rgba(11, 60, 36, 0.1) !important;
}

.signup-form .floating-input-login:focus {
    background-color: var(--theme-white) !important;
    border-color: var(--theme-primary-bright) !important;
}

.list-group-item.custom-alert-empty {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px dashed rgba(255, 255, 255, 0.12) !important;
    border-radius: var(--theme-radius-card) !important;
    padding: 2rem 1.25rem !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.list-group-item.custom-alert-empty img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    /* ปรับเงาฟุ้งรอบภาพไอคอนแจ้งเตือนว่างเปล่าให้เรืองแสงเป็นประกายสีเขียวมรกต (แทนสีชมพูเดิม) */
    filter: drop-shadow(0 0 10px rgba(80, 200, 120, 0.25));
    opacity: 0.75;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.list-group-item.custom-alert-empty:hover img {
    transform: scale(1.05) rotate(-3deg);
}

.custom-widget-address-box {
    background-color: var(--theme-white) !important;
    /* ปรับเส้นขอบกล่องข้อมูลที่อยู่บางๆ ให้เป็นโทนเขียวมรกตเข้มแบบโปร่งแสง */
    border: 1px solid rgba(6, 38, 22, 0.05) !important;
    border-radius: var(--theme-radius-card) !important;
    box-shadow: var(--theme-shadow) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-widget-address-box:hover {
    transform: translateY(-2px);
    /* เปลี่ยนสีเส้นขอบเมื่อ Hover จากสีชมพูเดิมเป็นสีเขียวมรกตสว่างเด่นชัด */
    border-color: var(--theme-primary-light) !important;
    /* ปรับเงาฟุ้งตอน Hover ให้เป็นประกายสีเขียวมรกตซอฟต์ๆ */
    box-shadow: 0 8px 20px rgba(80, 200, 120, 0.08) !important;
}

.btn-widget-edit-link {
    /* เปลี่ยนสีลิงก์ข้อความแก้ไขที่อยู่จากสีชมพูเดิมเป็นสีเขียวมรกตสว่างตามตัวแปรใหม่ */
    color: var(--theme-primary-light) !important;
    font-weight: 600;
    transition: color 0.2s ease;
}

.custom-widget-address-box:hover .btn-widget-edit-link {
    /* เปลี่ยนสีโฮเวอร์ของลิงก์ข้อความให้เป็นสีเขียวมรกตที่เข้มขึ้นเล็กน้อยตามตัวแปร */
    color: var(--theme-primary-hover) !important;
}

.border-bottom-widget-dash {
    /* ปรับเส้นประคั่นเนื้อหาด้านล่างเป็นโทนเทาอมเขียวจางๆ ให้ดูสะอาดตา */
    border-bottom: 1px dashed #D2DDD7 !important;
}

.text-navy-detail-custom {
    color: var(--theme-primary-dark) !important;
    line-height: 1.6;
}

.custom-widget-address-box i.text-theme-royal {
    color: var(--theme-primary-bright) !important;
}



.custom-widget-empty-box {
    /* ปรับพื้นหลังกล่องว่างเปล่าให้อมเขียวมิ้นต์จางๆ เบาสบายตา */
    background-color: rgba(244, 247, 245, 0.8) !important;
    /* ปรับเส้นประคั่นรอบกล่องให้ออกโทนเทาอมเขียวอ่อนโปร่งแสง */
    border: 1.5px dashed rgba(11, 60, 36, 0.1) !important;
    border-radius: var(--theme-radius-card) !important;
    /* ปรับเงาด้านใน (Inset Shadow) ให้ออกโทนเขียวเข้มแบบบางจางที่สุด */
    box-shadow: inset 0 0 12px rgba(6, 38, 22, 0.01);
    transition: all 0.25s ease;
}

.custom-widget-empty-box:hover {
    background-color: var(--theme-white) !important;
    /* เปลี่ยนสีเส้นขอบเมื่อ Hover จากสีชมพูเดิมเป็นสีเขียวมรกตสว่างเด่นชัด */
    border-color: var(--theme-primary-light) !important;
    transform: translateY(-2px);
    box-shadow: var(--theme-shadow) !important;
}

.widget-empty-icon-circle-img {
    width: 46px;
    height: 46px;
    background-color: var(--theme-white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(10, 17, 40, 0.04);
    transition: transform 0.3s ease;
}

.custom-widget-empty-box:hover .widget-empty-icon-circle-img {
    transform: scale(1.06) rotate(5deg);
    /* เปลี่ยนสีพื้นหลังวงกลมไอคอนเมื่อ Hover จากสีชมพูจางเดิม ให้เป็นสีเขียวมรกตสว่างแบบโปร่งแสงซอฟต์ๆ */
    background-color: rgba(80, 200, 120, 0.05);
}

.widget-empty-link {
    text-decoration: none !important;
    /* ปรับสีลิงก์ข้อความเริ่มต้นให้ออกโทนเทาอมเขียวหม่น */
    color: #55635a !important;
    transition: color 0.2s ease;
}

.custom-widget-empty-box:hover .widget-empty-link {
    /* เปลี่ยนสีลิงก์ข้อความเมื่อ Hover ให้กลายเป็นสีเขียวมรกตสว่างตามตัวแปรใหม่ */
    color: var(--theme-primary-light) !important;
}

.custom-cart-item-row {
    background-color: var(--theme-white) !important;
    /* ปรับเส้นขอบแถวรายการสินค้าบางๆ ให้เป็นโทนเขียวมรกตเข้มแบบโปร่งแสง */
    border: 1px solid rgba(6, 38, 22, 0.04) !important;
    border-radius: var(--theme-radius-card) !important;
    box-shadow: var(--theme-shadow) !important;
    padding: 1.25rem !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-cart-item-row:hover {
    transform: translateY(-2px);
    box-shadow: var(--theme-shadow-hover) !important;
}


.btn-theme-cart-delete {
    width: 32px;
    height: 32px;
    background-color: rgba(80, 200, 120, 0.06) !important;
    color: var(--theme-danger) !important;
    border: 1px solid rgba(80, 200, 120, 0.15) !important;
    border-radius: 50% !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.btn-theme-cart-delete:hover {
    background-color: var(--theme-danger) !important;
    color: var(--theme-white) !important;
    box-shadow: 0 4px 10px rgba(80, 200, 120, 0.3);
    transform: scale(1.05);
}



.product-img-holder-mini {
    background-color: #F4F7F5;
    border: 1px solid #D2DDD7;
    border-radius: var(--theme-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    flex-shrink: 0;
}

.product-img-holder-mini img {
    max-height: 100%;
    max-width: 100px;
    object-fit: contain;
}

.custom-qty-wrapper {
    /* ปรับพื้นหลังตัวควบคุมจำนวนให้อมเขียวมิ้นต์จางๆ */
    background-color: #F4F7F5;
    /* ปรับเส้นขอบบางๆ ให้เป็นโทนเขียวมรกตโทนทึบแบบโปร่งแสง */
    border: 1.5px solid rgba(11, 60, 36, 0.06);
    border-radius: var(--theme-radius-sm) !important;
    min-width: 80px;
}

.custom-qty-cart-input {
    background-color: transparent !important;
    border: none !important;
    color: var(--theme-primary-dark) !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    height: 28px !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.custom-qty-cart-input::-webkit-outer-spin-button,
.custom-qty-cart-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.btn-qty-action-custom {
    width: 26px;
    height: 26px;
    /* ปรับพื้นหลังปุ่มบวกลบให้ออกโทนเทาอมเขียวสว่างนุ่มๆ */
    background-color: #E9EFEA !important;
    color: var(--theme-primary-bright) !important;
    /* ปรับเส้นขอบให้ออกโทนเทาอมเขียวอ่อน */
    border: 1px solid #D2DDD7 !important;
    border-radius: 6px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: all 0.2s ease;
}

.btn-qty-action-custom:hover {
    background-color: var(--theme-primary-bright) !important;
    color: var(--theme-white) !important;
    border-color: var(--theme-primary-bright) !important;
}

.bg-danger-translucent-custom {
    /* เปลี่ยนจากกล่องแจ้งเตือนสีแดง/ชมพูเดิม ให้เป็นสีเขียวมรกตสว่างแบบซอฟต์โปร่งแสง และเส้นประโทนเขียวมรกตที่ดูสะอาดตาพรีเมียม */
    background: rgba(80, 200, 120, 0.04) !important;
    border: 1px dashed rgba(80, 200, 120, 0.18) !important;
    border-radius: var(--theme-radius-card) !important;
    color: var(--theme-primary-light) !important;
}

.custom-alert-dark-summary {
    background-color: var(--theme-white) !important;
    /* ปรับเส้นขอบกล่องสรุปยอดเงินบางๆ ให้เป็นโทนเขียวมรกตเข้มแบบโปร่งแสง */
    border: 1px solid rgba(6, 38, 22, 0.04) !important;
    border-radius: var(--theme-radius-card) !important;
    box-shadow: var(--theme-shadow) !important;
    padding: 1.5rem !important;
}

.border-bottom-summary-dash {
    /* ปรับเส้นประคั่นเนื้อหาเป็นโทนเทาอมเขียวจางๆ ให้กลมกลืน */
    border-bottom: 1px dashed #D2DDD7 !important;
}

.bg-payment-total-box-premium {
    /* เปลี่ยนจากกล่องแสดงยอดรวมสีชมพูเดิม ให้เป็นสีเขียวมรกตสว่างแบบซอฟต์โปร่งแสง ผสมเส้นขอบโทนเขียวมรกตบางเบาดูหรูหราโมเดิร์น */
    background-color: rgba(80, 200, 120, 0.04) !important;
    border: 1px solid rgba(80, 200, 120, 0.12) !important;
    border-radius: var(--theme-radius-sm) !important;
}

.custom-alert-dark-summary .text-secondary-detail {
    /* ปรับสีตัวอักษรรายละเอียดให้ออกโทนเทาอมเขียวหม่นเพื่อให้อ่านง่ายสบายตา */
    color: #4e5953 !important;
}

.custom-alert-dark-summary i.text-theme-royal {
    color: var(--theme-primary-bright) !important;
}


.custom-select-group-theme {
    /* ปรับพื้นหลังตัวเลือกให้อมเขียวมิ้นต์จางๆ ดูสะอาดตา */
    background-color: #F4F7F5 !important;
    /* ปรับเส้นขอบเริ่มต้นให้ออกโทนเทาอมเขียวอ่อน */
    border: 1.5px solid #D2DDD7 !important;
    border-radius: var(--theme-radius-pill) !important;
    box-shadow: var(--theme-shadow) !important;
    overflow: hidden;
    transition: all 0.2s ease-in-out;
}

.custom-select-group-theme:focus-within {
    background-color: var(--theme-white) !important;
    border-color: var(--theme-primary-bright) !important;
    /* ปรับวงแหวนเรืองรองตอนคลิกเลือก (Focus Ring) ให้เป็นสีเขียวมรกตโปร่งแสง ดูสบายตา */
    box-shadow: 0 0 0 4px rgba(80, 200, 120, 0.15) !important;
}

.bg-input-dark-addon-custom {
    background-color: transparent !important;
    color: var(--theme-primary-bright) !important;
    font-size: 1.1rem;
}

.custom-select-group-theme:focus-within .bg-input-dark-addon-custom {
    /* ปรับสีไอคอนเสริมด้านในกล่องเลือกเมื่อพิมพ์หรือเลือกอยู่ ให้เปลี่ยนเป็นสีเขียวมรกตสว่าง */
    color: var(--theme-primary-light) !important;
}

.custom-select-group-theme .form-select {
    background-color: transparent !important;
    border: none !important;
    color: var(--theme-primary-dark) !important;
    height: 48px !important;
    padding-left: 0.25rem !important;
    padding-right: 2.5rem !important;
    box-shadow: none !important;
}

.listinput-radio.custom-radio-card .custom-radio-label {
    background-color: var(--theme-white) !important;
    /* ปรับเส้นขอบการ์ดตัวเลือกเริ่มต้นบางๆ ให้เป็นโทนเขียวมรกตเข้มแบบโปร่งแสง */
    border: 1px solid rgba(6, 38, 22, 0.05) !important;
    border-radius: var(--theme-radius-card) !important;
    box-shadow: var(--theme-shadow) !important;
    padding: 0.85rem 1.25rem !important;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.listinput-radio.custom-radio-card:hover .custom-radio-label {
    transform: translateY(-2px);
    /* เปลี่ยนสีเส้นขอบการ์ดเมื่อ Hover จากสีชมพูจางเดิม ให้เป็นสีเขียวมรกตสว่างแบบบางเบาซอฟต์ๆ */
    border-color: rgba(80, 200, 120, 0.18) !important;
    box-shadow: 0 6px 16px rgba(6, 38, 22, 0.03) !important;
}

.listinput-radio.custom-radio-card .custom-radio-input {
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    visibility: hidden !important;
}

.listinput-radio.custom-radio-card .custom-radio-input:checked~.custom-radio-label {
    /* เปลี่ยนสถานะเมื่อกดเลือก (Checked) จากสีชมพูเดิม ให้พื้นหลังเป็นสีเขียวมรกตสว่างแบบจางมากๆ เส้นขอบเป็นสีเขียวมรกตสว่างหนาเด่นชัด และมีเงาเรืองแสงสีเขียวมรกตพรีเมียม */
    background-color: rgba(80, 200, 120, 0.03) !important;
    border: 1.5px solid var(--theme-primary-light) !important;
    box-shadow: 0 4px 15px rgba(80, 200, 120, 0.1) !important;
}

.list-group-radio-img {
    width: 40px !important;
    height: 40px !important;
    object-fit: contain;
    /* ปรับพื้นหลังรูปภาพประกอบตัวเลือกให้อมเขียวมิ้นต์จางๆ */
    background-color: #F4F7F5;
    /* ปรับเส้นขอบเริ่มต้นให้ออกโทนเทาอมเขียวอ่อน */
    border: 1px solid #D2DDD7 !important;
    padding: 2px;
    transition: transform 0.3s ease;
}

.listinput-radio.custom-radio-card:hover .list-group-radio-img {
    transform: scale(1.05);
}

.listinput-radio.custom-radio-card .text-navy-main {
    color: var(--theme-primary-dark) !important;
}

.listinput-radio.custom-radio-card .text-secondary-sub {
    /* ปรับสีตัวอักษรคำอธิบายย่อยให้ออกโทนเทาอมเขียวหม่นเพื่อให้อ่านง่ายสบายตา */
    color: #4e5953 !important;
}


.bg-widget-icon-holder-custom {
    /* ปรับพื้นหลังกล่องเก็บไอคอนเริ่มต้นให้อมเขียวมิ้นต์จางๆ */
    background-color: #F4F7F5 !important;
    /* ปรับเส้นขอบเริ่มต้นให้ออกโทนเทาอมเขียวอ่อน */
    border: 1px solid #D2DDD7 !important;
    border-radius: var(--theme-radius-sm) !important;
    transition: all 0.25s ease;
}

.card-custom:hover .bg-widget-icon-holder-custom {
    /* เปลี่ยนสีเมื่อ Hover การ์ดหลัก จากสีชมพูจางเดิม ให้เป็นสีเขียวมรกตสว่างแบบโปร่งแสงซอฟต์ๆ และเส้นขอบโทนเขียวมรกตบางเบา */
    background-color: rgba(80, 200, 120, 0.06) !important;
    border-color: rgba(80, 200, 120, 0.15) !important;
}

.custom-avatar-img-filter {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-custom:hover .custom-avatar-img-filter {
    transform: scale(1.06) rotate(3deg);
}

.pointer-events-responsive {
    pointer-events: auto !important;
}

.custom-wallet-info-card-premium {
    /* ปรับพื้นหลังกล่องกระเป๋าเงินให้อมเขียวมิ้นต์จางๆ สบายตา */
    background-color: #F4F7F5 !important;
    /* ปรับเส้นขอบบางๆ ให้เป็นโทนเขียวมรกตโทนทึบแบบโปร่งแสง */
    border: 1.5px solid rgba(11, 60, 36, 0.05) !important;
    border-radius: var(--theme-radius-card) !important;
}

.custom-wallet-info-card-premium i {
    color: var(--theme-primary-bright) !important;
}

.btn-clear-custom {
    position: absolute;
    right: 3.5rem;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0.1rem;
    background: transparent !important;
    border: none !important;
    color: #cbd5e1 !important;
    font-size: 1.1rem;
    padding: 0;
    z-index: 6;
    display: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.btn-clear-custom:hover {
    /* ปรับสีปุ่มล้างข้อความในช่องค้นหาเมื่อ Hover ให้เปลี่ยนเป็นสีเขียวมรกตสว่างเด่นชัด (แทนสีชมพูเดิม) */
    color: var(--theme-primary-light) !important;
    transform: translateY(-50%) scale(1.05);
}

.custom-search-input-pill-allocator {
    padding-left: 1.5rem !important;
    padding-right: 5rem !important;
    height: 56px !important;
}

.form-floating>.custom-search-input-pill-allocator~label {
    padding-left: 1.5rem !important;
}

.bg-invoice-meta-box-premium {
    /* ปรับพื้นหลังกล่องข้อมูลใบเสร็จให้อมเขียวมิ้นต์จางๆ คลีนสะอาดตา */
    background-color: #F4F7F5 !important;
    /* ปรับเส้นขอบบางๆ ให้เป็นโทนเขียวมรกตโทนทึบแบบโปร่งแสง */
    border: 1.5px solid rgba(11, 60, 36, 0.05) !important;
    border-radius: var(--theme-radius-card) !important;
}

.detail-info-list-premium {
    background-color: var(--theme-white) !important;
    /* ปรับเส้นขอบกล่องรายการรายละเอียดบางๆ ให้เป็นโทนเขียวมรกตเข้มแบบโปร่งแสง */
    border: 1px solid rgba(6, 38, 22, 0.04) !important;
    border-radius: var(--theme-radius-card) !important;
    box-shadow: var(--theme-shadow) !important;
}

.btn-badge-warning-premium {
    /* เปลี่ยนปุ่มป้ายสถานะหลักให้เป็นไล่เฉดสีเขียวมรกตทรงพลังตามตัวแปรใหม่ */
    background: linear-gradient(135deg, var(--theme-primary-light) 0%, var(--theme-primary-hover) 100%) !important;
    color: var(--theme-white) !important;
    border: none !important;
    padding: 0.4rem 1.25rem !important;
    border-radius: var(--theme-radius-pill) !important;
    /* ปรับเงาฟุ้งใต้ปุ่มให้เรืองแสงเป็นประกายสีเขียวมรกตพรีเมียม (แทนสีชมพูเดิม) */
    box-shadow: 0 4px 10px rgba(80, 200, 120, 0.25) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.btn-badge-warning-premium:hover {
    background: linear-gradient(135deg, var(--theme-primary-hover) 0%, var(--theme-primary-light) 100%) !important;
    transform: translateY(-1px);
    /* เพิ่มความเรืองแสงสีเขียวมรกตเมื่อเอาเมาส์มาวาง */
    box-shadow: 0 6px 14px rgba(80, 200, 120, 0.35) !important;
}

.btn-badge-light-premium {
    /* ปรับพื้นหลังปุ่มสถานะแบบซอฟต์ให้ออกโทนเทาอมเขียวสว่างนุ่มๆ */
    background-color: #E9EFEA !important;
    color: var(--theme-primary-bright) !important;
    /* ปรับเส้นขอบให้ออกโทนเทาอมเขียวอ่อน */
    border: 1px solid #D2DDD7 !important;
    padding: 0.4rem 1.25rem !important;
    border-radius: var(--theme-radius-pill) !important;
    transition: all 0.2s ease;
}

.btn-badge-light-premium:hover {
    background-color: var(--theme-primary-bright) !important;
    color: var(--theme-white) !important;
    border-color: var(--theme-primary-bright) !important;
}

.text-navy-meta-custom {
    color: var(--theme-primary-dark) !important;
}

.custom-invoice-product-row {
    background-color: var(--theme-white) !important;
    /* ปรับเส้นขอบแถวสินค้าใบเสร็จบางๆ ให้เป็นโทนเขียวมรกตเข้มแบบโปร่งแสง */
    border: 1px solid rgba(6, 38, 22, 0.04) !important;
    border-radius: 12px !important;
    box-shadow: var(--theme-shadow) !important;
    transition: all 0.2s ease-in-out;
}

.custom-invoice-product-row:hover {
    transform: translateY(-1px);
    box-shadow: var(--theme-shadow-hover) !important;
    /* เปลี่ยนสีเส้นขอบการ์ดเมื่อ Hover จากสีชมพูจางเดิม ให้เป็นสีเขียวมรกตสว่างแบบบางเบาซอฟต์ๆ */
    border-color: rgba(80, 200, 120, 0.12) !important;
}

.badge-pink-light {
    /* เปลี่ยนป้ายสถานะสีชมพูอ่อนเดิม ให้เป็นพื้นหลังสีเขียวมรกตจางมากๆ และตัวอักษรกับเส้นขอบเป็นสีเขียวมรกตสว่างดูคลีนสะอาดตา */
    background-color: rgba(80, 200, 120, 0.06) !important;
    color: var(--theme-primary-light) !important;
    border: 1px solid rgba(80, 200, 120, 0.15) !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: var(--theme-radius-pill) !important;
}


.order-card-wrapper {
    background: transparent !important;
    padding: 0 !important;
}

.custom-qr-card-box {
    /* ปรับเส้นขอบกล่องคิวอาร์บางๆ ให้เป็นโทนเขียวมรกตเข้มแบบโปร่งแสง */
    border: 1px solid rgba(6, 38, 22, 0.04) !important;
    border-radius: var(--theme-radius-card) !important;
    box-shadow: var(--theme-shadow) !important;
    overflow: hidden;
}

.qr-wrapper,
.head-qr {
    border-radius: var(--theme-radius-card) var(--theme-radius-card) 0 0 !important;
    width: 100%;
    max-width: 240px;
}

.bg-qr-body {
    /* ปรับพื้นหลังกรอบคิวอาร์ให้อมเขียวมิ้นต์จางๆ สะอาดตา */
    background-color: #F4F7F5 !important;
    /* ปรับเส้นประคั่นเนื้อหาเป็นโทนเทาอมเขียวจางๆ */
    border-bottom: 1px dashed #D2DDD7 !important;
}

.qr-code-frame {
    background-color: var(--theme-white);
    /* ปรับเส้นขอบกรอบคิวอาร์โค้ดด้านในให้ออกโทนเทาอมเขียวอ่อน */
    border: 1.5px solid rgba(6, 38, 22, 0.06);
    padding: 12px;
    display: inline-block;
    border-radius: 12px;
    /* ปรับเงาด้านใน (Inset Shadow) ให้ออกโทนเขียวเข้มแบบบางจางที่สุด */
    box-shadow: inset 0 0 10px rgba(6, 38, 22, 0.01);
    max-width: 200px;
}

.custom-bank-card-box {
    /* ปรับเส้นขอบกล่องธนาคารบางๆ ให้เป็นโทนเขียวมรกตเข้มแบบโปร่งแสง */
    border: 1px solid rgba(6, 38, 22, 0.04) !important;
    border-radius: var(--theme-radius-card) !important;
    box-shadow: var(--theme-shadow) !important;
}

.bg-account-copy-row {
    /* ปรับพื้นหลังแถวคัดลอกเลขบัญชีให้อมเขียวมิ้นต์จางๆ คลีนสะอาดตา */
    background-color: #F4F7F5 !important;
    /* ปรับเส้นขอบรอบข้างให้ออกโทนเทาอมเขียวอ่อนโปร่งแสง */
    border: 1.5px solid rgba(11, 60, 36, 0.04) !important;
}

.btn-copy-custom-premium {
    /* เปลี่ยนปุ่มคัดลอกจากสีชมพูเดิม ให้เป็นสีเขียวมรกตสว่างแบบโปร่งแสงซอฟต์ๆ ดูสบายตาและหรูหรา */
    background-color: rgba(80, 200, 120, 0.08) !important;
    color: var(--theme-primary-light) !important;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

.btn-copy-custom-premium:hover {
    /* ปรับสีเมื่อ Hover ปุ่มคัดลอก ให้กลายเป็นสีเขียวมรกตสว่างแบบเต็มสีและตัวอักษรสีขาว */
    background-color: var(--theme-primary-light) !important;
    color: var(--theme-white) !important;
    /* ปรับเงาฟุ้งใต้ปุ่มคัดลอกตอน Hover ให้เรืองแสงเป็นประกายสีเขียวมรกตสวยงามพรีเมียม */
    box-shadow: 0 4px 10px rgba(80, 200, 120, 0.3);
}

/* --- โซนป้ายสถานะระบบ (Status Badges) มีการดึงรหัสสีที่สอดคล้องกับแบรนด์เฮลตี้/มินิมอลยุคใหม่ --- */
.badge-status-success-premium {
    /* สีเขียวมรกตสว่างพรีเมียม สื่อถึงความสำเร็จอย่างถูกต้อง ปลอดภัย */
    background-color: rgba(16, 185, 129, 0.08) !important;
    color: #10B981 !important;
    border: 1px solid rgba(16, 185, 129, 0.15) !important;
}

.badge-status-warning-premium {
    /* ปรับสีป้ายสถานะรอคอย/เตือน ให้เป็นสีส้มแอปริคอตที่เข้าคู่กับธีมเขียวมรกต (ดึงค่าจากตัวแปรส้มแอปริคอตในชุดแรก) */
    background-color: rgba(224, 122, 95, 0.08) !important;
    color: #E07A5F !important;
    border: 1px solid rgba(224, 122, 95, 0.15) !important;
}

.badge-status-danger-premium {
    /* สีแดงพรีเมียมที่ซอฟต์ลงเล็กน้อยเพื่อไม่ให้หลุดโทนธรรมชาติของแบรนด์ */
    background-color: rgba(239, 68, 68, 0.08) !important;
    color: #EF4444 !important;
    border: 1px solid rgba(239, 68, 68, 0.15) !important;
}


.dropzone.custom-dropzone-box {
    /* ปรับพื้นหลังกล่องอัปโหลดไฟล์ให้อมเขียวมิ้นต์จางๆ ดูสะอาดตา */
    background-color: #F4F7F5 !important;
    /* ปรับเส้นประคั่นรอบกล่องให้ออกโทนเทาอมเขียวอ่อนโปร่งแสง */
    border: 2px dashed rgba(11, 60, 36, 0.12) !important;
    border-radius: var(--theme-radius-card) !important;
    padding: 2rem 1.5rem !important;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropzone.custom-dropzone-box:hover,
.dropzone.custom-dropzone-box.dz-drag-hover {
    /* เปลี่ยนเอฟเฟกต์ตอนลากไฟล์มาวาง (Drag Over) จากสีชมพูเดิม ให้พื้นหลังเป็นสีเขียวมรกตสว่างแบบจางมากๆ และเส้นขอบเป็นสีเขียวมรกตสว่างเด่นชัด */
    background-color: rgba(80, 200, 120, 0.03) !important;
    border-color: var(--theme-primary-light) !important;
    /* ปรับเงาฟุ้งตอน Hover ให้เป็นประกายสีเขียวมรกตบางเบาซอฟต์ๆ */
    box-shadow: 0 8px 24px rgba(80, 200, 120, 0.08) !important;
}

.container-icon-upload-custom {
    width: 64px;
    height: 64px;
    background-color: var(--theme-white);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(10, 17, 40, 0.04);
    transition: all 0.3s ease;
}

.dropzone.custom-dropzone-box:hover .container-icon-upload-custom {
    transform: translateY(-2px);
    /* เปลี่ยนสีพื้นหลังวงกลมไอคอนเมื่อ Hover จากสีชมพูจางเดิม ให้เป็นสีเขียวมรกตสว่างแบบโปร่งแสงซอฟต์ๆ */
    background-color: rgba(80, 200, 120, 0.06);
}

.upload-icon-bootstrap i {
    /* เปลี่ยนสีไอคอนอัปโหลดจากสีชมพูเดิมเป็นสีเขียวมรกตสว่าง และปรับเงาเรืองแสงให้เป็นสีเขียวสวยงามพรีเมียม */
    color: var(--theme-primary-light) !important;
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 6px rgba(80, 200, 120, 0.3));
}

.slip-details-frame-premium {
    /* ปรับพื้นหลังกล่องข้อมูลสลิปให้อมเขียวมิ้นต์จางๆ สบายตา */
    background-color: #F4F7F5 !important;
    /* ปรับเส้นขอบบางๆ ให้เป็นโทนเขียวมรกตเข้มแบบโปร่งแสง */
    border: 1px solid rgba(6, 38, 22, 0.05) !important;
    border-radius: var(--theme-radius-card) !important;
    padding: 1.15rem !important;
}

.preview-slip-frame {
    /* ปรับพื้นหลังกรอบพรีวิวสลิปให้อมเขียวมิ้นต์จางๆ คลีนๆ */
    background-color: #F4F7F5;
    /* ปรับเส้นขอบเริ่มต้นให้ออกโทนเทาอมเขียวอ่อน */
    border: 1px solid #D2DDD7;
    padding: 6px;
    display: inline-block;
    border-radius: 12px;
}

.list-group-item.custom-order-item {
    background-color: var(--theme-white) !important;
    /* ปรับเส้นขอบแถวรายการออเดอร์บางๆ ให้เป็นโทนเขียวมรกตเข้มแบบโปร่งแสง */
    border: 1px solid rgba(6, 38, 22, 0.04) !important;
    border-radius: var(--theme-radius-card) !important;
    box-shadow: var(--theme-shadow) !important;
    margin-bottom: 0.75rem !important;
    padding: 0.5rem !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.list-group-item.custom-order-item:hover {
    cursor: pointer;
}

.list-group-item.custom-order-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--theme-shadow-hover) !important;
    /* เปลี่ยนสีเส้นขอบการ์ดเมื่อ Hover จากสีชมพูจางเดิม ให้เป็นสีเขียวมรกตสว่างแบบบางเบาซอฟต์ๆ */
    border-color: rgba(80, 200, 120, 0.12) !important;
}


.icon-circle-md-custom {
    width: 44px;
    height: 44px;
    border-radius: 50% !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    /* ปรับเงาตกกระทบบางๆ ใต้ไอคอนให้ออกโทนเขียวเข้มจางๆ */
    box-shadow: 0 4px 10px rgba(6, 38, 22, 0.02);
}

/* --- โซนสีไอคอนสถานะระบบ (Status Icons) ปรับรหัสสีให้เข้าคู่กับธีมแบรนด์เฮลตี้/มินิมอลรุ่นใหม่ --- */
.icon-circle-md-custom.status-success-accent {
    /* สีเขียวมรกตสว่างพรีเมียม แสดงสถานะสำเร็จ ปลอดภัย */
    background-color: rgba(16, 185, 129, 0.08) !important;
    color: #10B981 !important;
    border: 1px solid rgba(16, 185, 129, 0.15) !important;
}

.icon-circle-md-custom.status-warning-accent {
    /* ปรับเป็นสีส้มแอปริคอตที่นุ่มนวลและเข้าคู่กับธีมสีเขียวมรกตได้อย่างพรีเมียม (แทนสีเหลืองเตือนฉูดฉาดแบบเดิม) */
    background-color: rgba(224, 122, 95, 0.08) !important;
    color: #E07A5F !important;
    border: 1px solid rgba(224, 122, 95, 0.15) !important;
}

.icon-circle-md-custom.status-danger-accent {
    /* สีแดงพรีเมียมที่ซอฟต์ลงเล็กน้อยเพื่อไม่ให้หลุดโทนธรรมชาติของแบรนด์ */
    background-color: rgba(239, 68, 68, 0.08) !important;
    color: #EF4444 !important;
    border: 1px solid rgba(239, 68, 68, 0.15) !important;
}

.custom-order-empty {
    /* ปรับพื้นหลังกล่องออเดอร์ว่างเปล่าให้อมเขียวมิ้นต์จางๆ สบายตา */
    background: rgba(244, 247, 245, 0.5) !important;
    /* ปรับเส้นประคั่นรอบกล่องให้ออกโทนเทาอมเขียวอ่อนโปร่งแสง */
    border: 1px dashed rgba(6, 38, 22, 0.1) !important;
    border-radius: var(--theme-radius-card) !important;
    padding: 2.5rem 1.5rem !important;
}

.custom-order-empty i {
    /* เปลี่ยนสีไอคอนสถานะว่างเปล่าจากน้ำเงินเดิม เป็นสีเขียวมรกตโทนทึบพรีเมียมแบบโปร่งแสงดูนุ่มตา */
    color: var(--theme-primary-bright) !important;
    opacity: 0.4;
}


.hover-translate-up {
    transition: all 0.3s ease;
}

.hover-translate-up:hover {
    transform: translateY(-3px);
    box-shadow: var(--theme-shadow-hover) !important;
    /* เปลี่ยนสีเส้นขอบเมื่อ Hover จากสีชมพูจางเดิม ให้เป็นสีเขียวมรกตสว่างแบบบางเบาซอฟต์ๆ */
    border-color: rgba(80, 200, 120, 0.18) !important;
}

.icon-box-lg {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--theme-radius-sm);
    flex-shrink: 0;
    font-size: 1.25rem;
}

/* --- โซนป้ายสถานะแบบซอฟต์ (Soft Badges) ปรับโทนสีให้เข้าคู่กับธีมแบรนด์ดูแลสุขภาพรุ่นใหม่ --- */
.badge-soft-success {
    /* สีเขียวใบไม้สดชื่น ดูปลอดภัยและถูกต้องตามมาตรฐาน */
    background-color: rgba(25, 135, 84, 0.1) !important;
    color: #198754 !important;
}

.badge-soft-danger {
    /* สีแดงพรีเมียมที่ซอฟต์ลงสบายตา ไม่ดูฉูดฉาดเกินไป */
    background-color: rgba(220, 53, 69, 0.1) !important;
    color: #dc3545 !important;
}

.badge-soft-warning {
    /* ปรับเป็นสีส้มแอปริคอตนุ่มพรีเมียมที่เข้าคู่กับสีเขียวมรกตได้อย่างลงตัว (แทนสีส้ม/เหลืองเตือนแบบเดิม) */
    background-color: rgba(224, 122, 95, 0.1) !important;
    color: #E07A5F !important;
}

.empty-state-box {
    background-color: var(--theme-white);
    /* ปรับเส้นประรอบกล่องสถานะว่างเปล่าให้ออกโทนเทาอมเขียวอ่อนโปร่งแสง ดูสบายตาสะอาดตา */
    border: 1px dashed rgba(6, 38, 22, 0.15);
}

.avatar-premium-xl {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid var(--theme-white) !important;
    background-color: var(--theme-white-light);
}


.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.85rem 1.25rem;
    /* ดึงสีเขียวมรกตโทนทึบสุขุมมาเป็นสีข้อความเริ่มต้น */
    color: var(--theme-primary-bright);
    text-decoration: none;
    border-radius: var(--theme-radius-sm);
    font-weight: var(--fw-md);
    transition: all 0.25s ease;
    margin-bottom: 0.4rem;
}

.sidebar-link i {
    font-size: 1.15rem;
    margin-right: 0.75rem;
    color: inherit;
    opacity: 0.7;
    transition: all 0.25s ease;
}

.sidebar-link:hover:not(.active) {
    /* ปรับพื้นหลังตอน Hover เมนูที่ยังไม่ได้คลิก ให้เป็นสีเทาอมเขียวจางมากๆ เพื่อความสมูท */
    background-color: rgba(6, 38, 22, 0.03);
    /* เปลี่ยนสีข้อความเมื่อ Hover ให้เปลี่ยนเป็นสีเขียวมรกตสว่างเด่นชัด */
    color: var(--theme-primary-light);
    transform: translateX(3px);
}

.sidebar-link:hover:not(.active) i {
    opacity: 1;
    /* เปลี่ยนสีไอคอนเมื่อ Hover ให้เปลี่ยนเป็นสีเขียวมรกตสว่างสอดคล้องกัน */
    color: var(--theme-primary-light);
}

.sidebar-link.active {
    /* เปลี่ยนแถบเมนูที่กำลังคลิกเลือกใช้งาน (Active) ให้เป็นไล่เฉดสีเขียวมรกตทรงพลังตามตัวแปรใหม่ */
    background: linear-gradient(135deg, var(--theme-primary-light) 0%, var(--theme-primary-hover) 100%);
    color: var(--theme-white) !important;
    /* ปรับเงาฟุ้งใต้แถบเมนู Active ให้เรืองแสงเป็นประกายสีเขียวมรกตที่ดูโมเดิร์นหรูหรา (แทนสีชมพูเดิม) */
    box-shadow: 0 4px 12px rgba(80, 200, 120, 0.25);
}

.sidebar-link.active i {
    opacity: 1;
}

.sticky-sidebar {
    position: sticky;
    top: 90px;
}


.qr-wrapper {
    background-color: var(--theme-white);
    /* ปรับเส้นขอบกล่องคิวอาร์บางๆ ให้เป็นโทนเขียวมรกตเข้มแบบโปร่งแสง */
    border: 1px solid rgba(6, 38, 22, 0.08);
    border-radius: 1.25rem;
    padding: 1rem;
    display: inline-block;
    box-shadow: var(--theme-shadow);
    transition: transform 0.3s ease;
}

.qr-wrapper:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--theme-shadow-hover);
}

.input-group-copy {
    border-radius: var(--theme-radius-pill);
    background-color: var(--theme-white-light);
    /* ปรับเส้นขอบรอบกลุ่มช่องกรอกข้อมูลให้ออกโทนเทาอมเขียวอ่อนโปร่งแสง */
    border: 1px solid rgba(6, 38, 22, 0.06);
    overflow: hidden;
    padding: 0.25rem;
}

.input-group-copy .form-control {
    border: none !important;
    background-color: transparent !important;
    color: var(--theme-primary-bright) !important;
    font-weight: var(--fw-md);
    box-shadow: none !important;
}

.input-group-copy .btn-copy {
    border-radius: var(--theme-radius-pill) !important;
    background-color: var(--theme-white);
    /* ปรับเส้นขอบปุ่มเริ่มต้นบางๆ ให้เป็นโทนเขียวมรกตเข้มแบบโปร่งแสง */
    border: 1px solid rgba(6, 38, 22, 0.05);
    /* ปรับสีตัวอักษร/ไอคอนของปุ่มคัดลอกเริ่มต้นให้เป็นสีเขียวมรกตสว่างเด่นชัด (ดึงค่าจากตัวแปรใหม่แทนสีชมพูเดิม) */
    color: var(--theme-primary-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s;
}

.input-group-copy .btn-copy:hover {
    /* เมื่อ Hover ปุ่มคัดลอก จะเปลี่ยนพื้นหลังเป็นสีเขียวมรกตโทนทึบสุขุมพรีเมียม และข้อความด้านในเป็นสีขาว */
    background-color: var(--theme-primary-bright);
    color: var(--theme-white);
}


@media (max-width: 767.98px) {
    .desktop-grid-header {
        display: none !important;
    }
}

.grid-list-header {
    font-size: 0.85rem;
    /* ปรับสีตัวอักษรหัวข้อตารางให้เป็นสีเทาอมเขียวหม่นเพื่อความสบายตาและเข้าธีม */
    color: #617268;
    font-weight: var(--fw-lg);
    padding: 0.5rem 1.25rem;
    /* ปรับเส้นใต้หัวข้อบางๆ ให้เป็นโทนเขียวมรกตเข้มแบบโปร่งแสง */
    border-bottom: 2px solid rgba(6, 38, 22, 0.05);
}

.grid-list-item {
    background-color: var(--theme-white);
    /* ปรับเส้นขอบแถวรายการเริ่มต้นบางๆ ให้เป็นโทนเขียวมรกตเข้มแบบโปร่งแสง */
    border: 1px solid rgba(6, 38, 22, 0.04);
    border-radius: var(--theme-radius-card);
    padding: 1rem 1.25rem;
    margin-bottom: 0.5rem;
    transition: all 0.25s ease;
}

.grid-list-item:hover {
    box-shadow: var(--theme-shadow);
    /* เปลี่ยนสีเส้นขอบแถวรายการเมื่อ Hover จากสีชมพูจางเดิม ให้เป็นสีเขียวมรกตสว่างแบบบางเบาซอฟต์ๆ */
    border-color: rgba(80, 200, 120, 0.18);
    transform: translateY(-2px);
}

.mobile-label {
    display: none;
    font-size: 0.75rem;
    color: #a0aec0;
    margin-bottom: 0.15rem;
}

@media (max-width: 767.98px) {
    .mobile-label {
        display: block;
    }

    .grid-list-item {
        padding: 1.25rem;
    }

    .grid-item-data {
        margin-bottom: 1rem;
    }

    .grid-item-data:last-child {
        margin-bottom: 0;
    }
}

.filter-bar-group {
    border-radius: var(--theme-radius-pill);
    background-color: var(--theme-white);
    /* ปรับเส้นขอบกลุ่มตัวกรองบางๆ ให้เป็นโทนเขียวมรกตเข้มแบบโปร่งแสง */
    border: 1px solid rgba(6, 38, 22, 0.08);
    transition: all 0.3s ease;
    padding: 0.25rem;
}

.filter-bar-group:focus-within {
    /* เปลี่ยนวงแหวนเรืองรองตอนคลิก (Focus Ring) จากสีชมพูเดิม ให้เรืองแสงเป็นประกายสีเขียวมรกตโปร่งแสงที่ดูนุ่มนวลสบายตา และปรับเส้นขอบเป็นสีเขียวมรกตสว่าง */
    box-shadow: 0 0 0 4px rgba(80, 200, 120, 0.15);
    border-color: var(--theme-primary-light);
}

.filter-bar-group .form-control {
    background-color: transparent !important;
    border: none !important;
    color: var(--theme-primary-bright) !important;
    font-weight: var(--fw-md);
    box-shadow: none !important;
    height: 42px;
}

.filter-bar-group .form-control::placeholder {
    color: #a0aec0;
    font-weight: var(--fw-sm);
}

.select-with-icon-wrapper {
    position: relative;
    border-radius: var(--theme-radius-pill);
    background-color: var(--theme-white);
    /* ปรับเส้นขอบดร็อปดาวน์เลือกข้อมูลเริ่มต้นบางๆ ให้เป็นโทนเขียวมรกตเข้มแบบโปร่งแสง */
    border: 1px solid rgba(6, 38, 22, 0.08);
    box-shadow: var(--theme-shadow);
    transition: all 0.3s ease;
}

.select-with-icon-wrapper:hover {
    box-shadow: var(--theme-shadow-hover);
    /* ปรับเส้นขอบตอน Hover ให้เป็นโทนเขียวมรกตเข้มขึ้นเล็กน้อยแบบโปร่งแสง */
    border-color: rgba(6, 38, 22, 0.15);
}

.select-with-icon-wrapper .form-select {
    border: none !important;
    background-color: transparent !important;
    padding-left: 2.75rem !important;
    height: 50px;
    color: var(--theme-primary-bright);
    font-weight: var(--fw-md);
    cursor: pointer;
    box-shadow: none !important;
}

.select-icon-absolute {
    position: absolute;
    top: 50%;
    left: 1.2rem;
    transform: translateY(-50%);
    /* เปลี่ยนสีไอคอนที่อยู่ด้านหน้าดร็อปดาวน์ จากสีชมพูเดิมให้เป็นสีเขียวมรกตสว่างเด่นชัดตามตัวแปรใหม่ */
    color: var(--theme-primary-light);
    pointer-events: none;
    z-index: 4;
}

.modern-agreement-card {
    background: #ffffff;
    /* ปรับเส้นขอบการ์ดข้อตกลงบางๆ ให้เป็นโทนเขียวมรกตเข้มแบบโปร่งแสงจางๆ */
    border: 1px solid rgba(6, 38, 22, 0.05);
    border-radius: 20px;
    padding: 1.25rem;
    /* ปรับเงาตกกระทบบางๆ ใต้การ์ดให้ออกโทนเขียวเข้มจางที่สุด ดูเรียบหรูคลีนๆ */
    box-shadow: 0 10px 30px rgba(6, 38, 22, 0.03);
    transition: all 0.3s ease;
}

.custom-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.custom-checkbox-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    /* ปรับพื้นหลังกล่องติ๊กถูกเริ่มต้นให้อมเขียวมิ้นต์จางๆ */
    background: #F4F7F5;
    /* ปรับเส้นขอบเริ่มต้นให้ออกโทนเทาอมเขียวอ่อน */
    border: 2px solid #D2DDD7;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.checkmark-icon {
    width: 16px;
    height: 16px;
    color: white;
    transform: scale(0) rotate(-45deg);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-checkbox:checked+.custom-checkbox-label {
    /* เปลี่ยนกล่องตอนกดเลือก (Checked) ให้เป็นไล่เฉดสีเขียวมรกตทรงพลังตามตัวแปรใหม่ */
    background: linear-gradient(135deg, var(--theme-primary-hover) 0%, var(--theme-primary-light) 100%) !important;
    /* ปรับเส้นขอบตอนเลือกให้เป็นโทนเขียวมรกตโปร่งแสงบางเบา */
    border-color: rgba(80, 200, 120, 0.2) !important;
    color: var(--theme-white) !important;
    /* ปรับปรุงเงาเรืองแสงนีออนรอบกล่องติ๊กถูก จากสีส้ม/ชมพูเดิม ให้เปล่งประกายประกายสีเขียวมรกตสวยงามหรูหราโมเดิร์นเข้าธีม */
    box-shadow: 0 0 20px rgba(80, 200, 120, 0.4), 0 0 8px rgba(11, 60, 36, 0.2);
}

.custom-checkbox:checked+.custom-checkbox-label .checkmark-icon {
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.2));
}

.custom-checkbox:not(:disabled)+.custom-checkbox-label:hover {
    /* เปลี่ยนสีเส้นขอบตอนลากเมาส์ผ่านกล่องติ๊กถูก (Hover) ให้เป็นสีเขียวมรกตสว่าง (แทนสีชมพูเดิม) */
    border-color: #50C878;
    transform: scale(1.1);
}

.custom-checkbox:disabled+.custom-checkbox-label {
    background: #f3f4f6;
    border-color: #e5e7eb;
    cursor: not-allowed;
    opacity: 0.6;
}

.agreement-link {
    color: #1f2937;
    text-decoration: none;
    font-weight: 500;
    line-height: 1.6;
    display: inline-block;
}

.highlight-text {
    /* เปลี่ยนสีข้อความไฮไลท์ในลิงก์เริ่มต้นให้เป็นสีเขียวมรกตสว่างเด่นชัดน่าดึงดูด (แทนสีฟ้าเดิม) */
    color: #50C878;
    text-decoration: underline;
    margin-left: 4px;
    transition: all 0.3s ease;
}

.agreement-link:hover .highlight-text {
    /* เปลี่ยนสีข้อความไฮไลท์เมื่อ Hover ลิงก์ ให้เปลี่ยนเป็นสีเขียวมรกตโทนทึบพรีเมียม (แทนสีชมพูเดิม) */
    color: var(--theme-primary-bright);
}

.pepsi-dot-indicator {
    width: 8px;
    height: 8px;
    /* เปลี่ยนจุดไฟสัญญาณแจ้งเตือนให้เป็นสีเขียวมรกตสว่างตามตัวแปรใหม่ */
    background-color: var(--theme-primary-light);
    border-radius: var(--theme-radius-pill);
    /* ปรับแสงรัศมีเรืองแสงรอบจุดให้เปล่งประกายสีเขียวมรกตสวยงามโมเดิร์น */
    box-shadow: 0 0 8px var(--theme-primary-light);
}

.pepsi-content-card {
    /* ปรับพื้นหลังการ์ดแสดงเนื้อหาให้อมเขียวมิ้นต์จางๆ คลีนสะอาดตา */
    background-color: #F4F7F5;
    /* ปรับเส้นขอบการ์ดบางๆ ให้เป็นโทนเขียวมรกตโทนทึบแบบโปร่งแสง */
    border: 1px solid rgba(11, 60, 36, 0.05);
    border-radius: var(--theme-radius-card);
}


.success-checkmark-animated {
    font-size: 3.5rem;
    color: #50C878;
    animation: success-bounce 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes success-bounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}



/* **************************************
    HERO SECTION
   **************************************  */
.hero-theme-section {
    background: linear-gradient(135deg, var(--theme-secondary-bright) 0%, var(--theme-white) 40%, var(--theme-secondary-alpha) 100%);
}

.hero-theme-subtitle {
    color: var(--theme-secondary-dark);
}

.hero-theme-title {
    line-height: 1.35;
    filter: drop-shadow(0 2px 8px rgba(44, 53, 49, 0.05));
}

.hero-theme-text-highlight {
    color: var(--theme-secondary-bright);
    text-shadow: 0 4px 15px rgba(214, 175, 55, 0.3);
    font-weight: 800;
}

.hero-theme-description {
    line-height: 1.6;
    max-width: 500px;
    color: var(--theme-muted);
}

.hero-theme-image-wrapper {
    position: relative;
    display: inline-block;
}

.hero-theme-image-wrapper::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background: #1B4D3E;
    border-radius: 50%;
    transform: translate(-30%, -50%);
    filter: blur(80px);
    z-index: 0;
    opacity: 0.4;
}

.hero-main-img {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.15));
    animation: float-img 4s ease-in-out infinite;
}

@keyframes float-img {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        text-align: center !important;
    }

    .hero-image-wrapper {
        margin-bottom: 1.5rem;
    }
}



/* **************************************
    CARD & BACKGROUND
   **************************************  */
.card-theme-gold-light {
    background-color: var(--theme-white);
    box-shadow: 0 4px 10px rgba(138, 154, 134, 0.05), 0 20px 40px -10px rgba(44, 53, 49, 0.12) !important;
}

.bg-card-theme-gradient {
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(138, 154, 134, 0.04) 0%, rgba(255, 255, 255, 0) 50%, rgba(197, 160, 89, 0.04) 100%);
    pointer-events: none;
}

.bg-card-theme-gradient-circle {
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(138, 154, 134, 0.08) 0%, transparent 70%);
    filter: blur(50px);
    pointer-events: none;
}

.bg-card-deepneonaura {
    width: 85%;
    height: 85%;
    background: radial-gradient(circle, var(--theme-secondary-alpha) 0%, rgba(138, 154, 134, 0.15) 40%, transparent 75%);
    filter: blur(35px);
    pointer-events: none;
    transform: translate(-50%, -50%) scale(1.15);
}

.bg-card-radial-gradient {
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
    filter: blur(20px);
    pointer-events: none;
    transform: translate(-50%, -50%) rotate(45deg);
}

.bg-card-isometric-baseframe {
    width: 80%;
    height: 24px;
    background: rgba(197, 160, 89, 0.15);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
    bottom: 5px;
}


/* **************************************
    MARQUEE HEADER
   **************************************  */
.header-theme-marquee {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(197, 160, 89, 0.25);
    border-radius: var(--theme-radius-sm);
    box-shadow: 0 8px 20px -6px rgba(138, 154, 134, 0.15);
    display: flex;
    overflow: hidden;
    padding: .25rem .45rem;
}

.track-theme-marquee {
    white-space: nowrap;
    animation: marquee-scroll 25s linear infinite;
    padding: 4px 8px;
}

.track-theme-marquee .content-theme-marquee {
    display: inline-block;
    margin-right: 1rem;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}


.horizontal-member-card {
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

/* เอฟเฟกต์เมื่อเลื่อนเมาส์มาชี้ที่การ์ด (Hover Effect) */
.horizontal-member-card:hover {
    transform: translateY(-5px) scale(1.005);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
}

/* ยึดเส้นแบ่งฝั่งขวาเมื่อแสดงผลบนจอคอมพิวเตอร์ */
@media (min-width: 768px) {
    .border-end-md {
        border-right: 1px solid #edf2f7 !important;
    }

    .border-end-sm {
        border-right: 1px solid #e2e8f0 !important;
    }
}

/* ปรับแต่งป้ายข้อมูลย่อยด้านใน */
.info-tag {
    background-color: #f8f9fa;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #64748b;
}

/* ==========================================
   3. AVATAR & STATUS STYLES
   ========================================== */
.avatar-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    z-index: 2;
}

.member-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

/* เมื่อชี้ที่ตัวการ์ด ให้รูปโปรไฟล์ซูมเข้าเล็กน้อย */
.horizontal-member-card:hover .member-profile-img {
    transform: scale(1.08);
}

/* ไฟแสดงสถานะออนไลน์ */
.status-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid #ffffff;
}

.status-indicator.online {
    background-color: #22c55e;
}

.status-indicator.offline {
    background-color: #94a3b8;
}

/* ==========================================
   4. TIER DESIGN & PROGRESS BARS
   ========================================== */
.tier-icon-box {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    padding: 8px;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.tier-badge-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* สีฟอนต์เฉพาะของแต่ละระดับ */
.text-platinum-grade {
    color: #475569;
}

.text-gold-grade {
    color: #d97706;
}

.text-silver-grade {
    color: #64748b;
}

/* ปรับแต่งแถบ Progress Bar */
.progress-custom {
    background-color: #e2e8f0;
    border-radius: 10px;
    overflow: visible;
}

.bg-platinum-progress {
    background: linear-gradient(90deg, #94a3b8, #475569);
}

.bg-gold-progress {
    background: linear-gradient(90deg, #fbbf24, #d97706);
}

.bg-silver-progress {
    background: linear-gradient(90deg, #cbd5e1, #64748b);
}

/* ==========================================
   5. ADVANCED ANIMATIONS (ระบบอนิเมชั่น)
   ========================================== */

/* 5.1 อนิเมชั่นหน้าจอโหลดเข้า (Entry Animations) */
.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide-up {
    opacity: 0;
    animation: slideUp 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 5.2 อนิเมชั่นชีพจรสำหรับรูปภาพระดับ (Pulse Badge Animations) */
@keyframes pulsePlatinum {
    0% {
        box-shadow: 0 0 0 0 rgba(148, 163, 184, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(148, 163, 184, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(148, 163, 184, 0);
    }
}

.pulse-animation-platinum {
    animation: pulsePlatinum 2s infinite;
}

@keyframes pulseGold {
    0% {
        box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(217, 119, 6, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(217, 119, 6, 0);
    }
}

.pulse-animation-gold {
    animation: pulseGold 2s infinite;
}

@keyframes pulseSilver {
    0% {
        box-shadow: 0 0 0 0 rgba(100, 116, 139, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(100, 116, 139, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(100, 116, 139, 0);
    }
}

.pulse-animation-silver {
    animation: pulseSilver 2s infinite;
}

/* 5.3 เอฟเฟกต์แสงเงาพิเศษเบื้องหลังสำหรับการ์ด Platinum */
.platinum-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: none;
    z-index: 1;
}

.platinum-card:hover::before {
    left: 150%;
    transition: all 0.8s ease-in-out;
}


.floating-retention-card {
    top: 4.2rem;
    right: 10px;
    width: calc(100% - 30px);
    max-width: 200px;
    padding-left: 18px;
    animation: slideInRight 0.4s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(120%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (min-width: 768px) {
    .floating-retention-card {
        top: 5.1rem;
        right: 20px;
    }
}


.card-slick:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .08) !important;
}

.card-slick:hover .product-img {
    transform: scale(1.05);
}

.slick-prev:before,
.slick-next:before {
    color: #102542 !important;
    font-size: 24px;
}

.slick-prev {
    left: -15px;
    z-index: 2;
}

.slick-next {
    right: -15px;
    z-index: 2;
}

.slick-dots li button:before {
    color: #102542 !important;
}

.slick-dots li.slick-active button:before {
    color: var(--theme-primary-gradient) !important;
}


.income-card-glow {
    background: linear-gradient(135deg, #121824 0%, #1a2436 100%);
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(10, 15, 26, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.income-card-glow:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 40px rgba(255, 193, 7, 0.15),
        0 0 20px rgba(255, 193, 7, 0.1);
}

.bg-glow-orb {
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.25) 0%, rgba(255, 193, 7, 0) 70%);
    top: -50px;
    left: -50px;
    pointer-events: none;
    z-index: 0;
}

.income-icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffc107 0%, #ff8800 100%);
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(255, 136, 0, 0.3);
}

.income-amount {
    font-family: 'Inter', sans-serif;
    letter-spacing: -1px;
    background: linear-gradient(45deg, #ffe066, #ffc107, #ff9800);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 8px rgba(255, 193, 7, 0.3));
    font-weight: 900;
}

.btn-income-claim {
    border: none;
    transition: all 0.3s ease;
}

.btn-income-claim:hover {
    background: #ffc107 !important;
    color: #121824 !important;
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.3) !important;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.animate-pulse {
    animation: pulseGlow 2s infinite ease-in-out;
}

.tracking-wider {
    letter-spacing: 0.07rem;
}

.custom-trx-item {
    transition: all 0.2s ease-in-out;
    background-color: #ffffff;
    cursor: pointer;
}

.custom-trx-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .08) !important;
    background-color: #fcfcfc;
}

.icon-circle-md {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
    transition: transform 0.2s ease;
}

.custom-trx-item:hover .icon-circle-md {
    transform: scale(1.05);
}

/* ตกแต่งกล่องรายการโบนัส */
.custom-bonus-item {
    transition: all 0.2s ease-in-out;
    background-color: #ffffff;
    cursor: pointer;
}

/* เอฟเฟกต์เมื่อเมาส์ชี้กล่องโบนัส */
.custom-bonus-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .08) !important;
    background-color: #fafafa;
}

/* รหัสธุรกรรมให้ดูเด่นและเป็นระเบียบ */
.code-text {
    letter-spacing: 0.5px;
}

/* ตกแต่งป้ายขนาดเล็กพิเศษสำหรับเปอร์เซ็นต์ */
.custom-bonus-item .badge {
    font-size: 0.75rem;
    font-weight: 500;
}

.scroll-container {
    --cards-xs: 2;
    --gap: 1rem;
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: var(--gap) !important;
    padding-bottom: 1rem;
}

.scroll-item {
    flex-shrink: 0 !important;
    width: calc((100% - (var(--gap) * (var(--cards-xs) - 1))) / var(--cards-xs)) !important;
}

@media (min-width: 768px) {
    .scroll-container {
        --cards-xs: 3;
    }
}

@media (min-width: 992px) {
    .scroll-container {
        --cards-xs: 4;
    }
}


/* ปรับลักษณะหัวการ์ดให้จัดเรียงแบบบนลงล่าง เพื่อให้กล่องปุ่มแผ่กว้างด้านล่างเต็มๆ */
.order-type-header {
    background: transparent !important;
    border-bottom: none !important;
    padding: 4px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.header-text-block {
    width: 100%;
}

.btn-outline-theme-bill {
    color: #4A5D73;
    background-color: #F4F7FA;
    border: 1px solid rgba(166, 195, 228, 0.4);
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s ease;
}


.btn-outline-theme-bill:hover {
    color: #1E2E4A;
    background-color: #cccccc;
    border-color: var(--color-theme-darkest) !important;
}

/* จุดนำสายตากลางปุ่มยามปกติ */
.btn-outline-theme-bill .badge-dot {
    width: 7px;
    height: 7px;
    background-color: rgba(74, 93, 115, 0.3);
    /* สีจางยามไม่เลือก */
    border-radius: 50%;
    transition: all 0.25s ease;
}

/* ----------------------------------------------------
   🔥 บังคับรูปแบบทำงานร่วมกับ .btn-check ตอนถูกกดเลือก (Checked)
   ---------------------------------------------------- */
.btn-check:checked+.btn-outline-theme-bill {
    /* ใช้การไล่ระดับเฉดสีพรีเมียมอันเป็นเอกลักษณ์หลักของคุณ */
    background: linear-gradient(135deg, rgba(207, 226, 255, 0.95) 0%, rgba(166, 195, 228) 100%) !important;
    color: #1E2E4A !important;
    border-color: var(--color-theme-primary) !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(139, 173, 211, 0.25);
}

/* ปรับจุดนำสายตาให้เรืองแสงสีน้ำเงินเข้มข้นยามถูกเลือก */
.btn-check:checked+.btn-outline-theme-bill .badge-dot {
    background-color: #1E2E4A !important;
    box-shadow: 0 0 6px rgba(30, 46, 74, 0.4);
}

.card-hover:hover {
    box-shadow: var(--theme-shadow-hover);
    cursor: pointer;
}