/* ============================================================
   STYLE.CSS — Consolidated & Modernized White Theme
   All inline CSS from Header.php + Nav.php consolidated here
   ============================================================ */

/* ──────────── GOOGLE FONTS ──────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ──────────── CSS VARIABLES ──────────── */
:root {
    --primary: #ef4444;
    --primary-light: #f87171;
    --primary-dark: #dc2626;
    --accent: #ef4444;
    --accent-light: #f87171;
    --bg-body: #f5f7fa;
    --bg-card: #ffffff;
    --bg-hover: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 16px 40px rgba(0, 0, 0, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ──────────── RESET & BASE ──────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    background-color: var(--bg-body) !important;
    color: var(--text-primary) !important;
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ──────────── SCROLLBAR ──────────── */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--border-light);
}

::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* ──────────── TYPOGRAPHY ──────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

/* ──────────── LAYOUT — NAVBAR ──────────── */
.ws-bg-white.ws-sticky.ws-top-0 {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

/* ──────────── CARDS ──────────── */
.ws-bg-white,
.ws-rounded-lg.ws-bg-white,
.card {
    background: var(--bg-card) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.ws-wrap-box {
    transition: var(--transition);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.ws-wrap-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.ws-wrap-box a {
    display: block;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.ws-wrap-box .ws-overflow-hidden {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    overflow: hidden;
}

.ws-wrap-box img {
    transition: transform 0.4s ease;
    object-fit: cover;
}

.ws-wrap-box:hover img {
    transform: scale(1.05);
}

.ws-wrap-box .ws-min-h-\[50px\] {
    padding: 10px 12px;
}

.ws-wrap-box-title {
    font-weight: 600 !important;
    color: var(--text-primary) !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}

/* ──────────── BADGE / LABEL ──────────── */
.ws-absolute.ws-font-semibold.ws-bottom-\[5px\].ws-right-\[5px\] {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    border-radius: 6px !important;
    padding: 3px 8px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}

/* ──────────── SECTION TITLES ──────────── */
.ws-label-title {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: var(--text-primary) !important;
    letter-spacing: -0.02em;
}

/* ──────────── BUTTONS ──────────── */
.el-button {
    border-radius: var(--radius-sm) !important;
    font-weight: 600 !important;
    padding: 8px 20px !important;
    border: none !important;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px !important;
    line-height: 1.5;
}

.el-button--primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
}

.el-button--primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary)) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

.el-button--small {
    padding: 5px 14px !important;
    font-size: 12px !important;
    border-radius: 6px !important;
}

.el-button.is-plain {
    background: var(--bg-body) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border) !important;
}

.el-button.is-plain:hover {
    background: var(--bg-hover) !important;
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

/* Gradient CTA Buttons */
.ws-bg-gradient-to-l.ws-from-red-500.ws-to-pink-500 {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.20);
    transition: var(--transition);
}

.ws-bg-gradient-to-l.ws-from-red-500.ws-to-pink-500:hover {
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.35);
    transform: translateY(-1px);
}

/* ──────────── FORM INPUTS ──────────── */
.el-input__inner,
.el-input__inner2,
select.tw-border {
    -webkit-appearance: none;
    appearance: none;
    background-color: var(--bg-card) !important;
    border: 2px solid var(--border) !important;
    border-radius: var(--radius-sm) !important;
    color: var(--text-primary) !important;
    font-size: 14px !important;
    height: 44px !important;
    line-height: 44px !important;
    padding: 0 16px !important;
    transition: var(--transition);
    width: 100%;
    outline: none;
    font-family: inherit;
}

.el-input__inner:focus,
.el-input__inner2:focus,
select.tw-border:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
    outline: none;
}

.el-input__inner::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.el-input--suffix .el-input__inner {
    padding-right: 30px;
}

.el-select .el-input__inner {
    cursor: pointer;
    padding-right: 35px;
}

.el-input__inner2 {
    --el-input-inner-height: calc(var(--el-input-height, 40px) + 2px);
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    flex-grow: 1;
    height: 30px !important;
    height: var(--el-input-inner-height) !important;
    line-height: 30px !important;
    line-height: var(--el-input-inner-height) !important;
    padding: 0 !important;
}

.ws-auth .el-input__inner2 {
    color: #000;
}

.el-input--large .el-input__inner2 {
    --el-input-inner-height: calc(var(--el-input-height, 40px) - 2px);
}

.el-input__wrapper {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 2px 12px;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.el-input__wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* ──────────── NOTIFICATION MARQUEE ──────────── */
.tw-notification-home {
    overflow: hidden;
}

.ws-home .tw-notification-home marquee {
    color: var(--accent) !important;
    font-weight: 600;
}

.ws-home .tw-bg-white {
    background: var(--bg-card) !important;
    border-radius: var(--radius-md) !important;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

/* Bell icon */
.tw-absolute.tw-flex.tw-items-center.tw-justify-center.tw-text-xl {
    color: var(--accent) !important;
    background: var(--bg-card) !important;
    border-radius: var(--radius-sm) !important;
}

/* ──────────── SWIPER / BANNER ──────────── */
.swiper {
    border-radius: var(--radius-md) !important;
    overflow: hidden;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
    width: 8px !important;
    height: 8px !important;
    transition: var(--transition);
}

.swiper-pagination-bullet-active {
    background: #fff !important;
    width: 24px !important;
    border-radius: 4px !important;
}

@media screen and (min-width: 768px) {
    .swiper-desktop {
        display: block;
    }

    .swiper-mobile {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    .swiper-desktop {
        display: none;
    }

    .swiper-mobile {
        display: block;
    }
}

/* ──────────── SEARCH ──────────── */
#searchButton {
    position: relative;
    z-index: 1000;
}

#searchInputpc {
    background: var(--bg-body) !important;
    border: 2px solid var(--border) !important;
    border-radius: var(--radius-lg) !important;
    padding: 10px 5rem 10px 18px !important;
    font-size: 14px;
    transition: var(--transition);
}

#searchInputpc:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
    background: var(--bg-card) !important;
}

#searchPopover {
    display: none;
    position: fixed;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1500;
    width: 320px;
}

#searchPopover.visible {
    display: block;
}

/* ──────────── DROPDOWN MENUS ──────────── */
#dropdownContent,
.drop-profile-show-pc,
.drop-profile-show-mobile {
    background: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-lg) !important;
    padding: 8px !important;
}

#dropdownContent a,
.drop-profile-show-pc a,
.drop-profile-show-mobile a {
    border-radius: var(--radius-sm) !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--text-primary) !important;
    display: block;
    transition: var(--transition);
}

#dropdownContent a:hover,
.drop-profile-show-pc a:hover,
.drop-profile-show-mobile a:hover {
    background: var(--bg-body) !important;
    color: var(--primary) !important;
}

/* ──────────── MOBILE BOTTOM NAVBAR ──────────── */
@media only screen and (max-width: 600px) {
    .ws-sticky-navbar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid var(--border);
        padding: 4px 0;
        display: flex;
        justify-content: space-around;
        align-items: center;
        box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
    }

    .ws-sticky-navbar a {
        text-decoration: none;
        color: var(--text-secondary);
        padding: 6px 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        transition: var(--transition);
        border-radius: var(--radius-sm);
    }

    .ws-sticky-navbar a:hover,
    .ws-sticky-navbar a.active {
        color: var(--primary);
        background: rgba(239, 68, 68, 0.06);
    }

    .ws-sticky-navbar i {
        font-size: 20px;
        margin-bottom: 3px;
    }

    .ws-sticky-navbar span {
        font-weight: 600;
        font-size: 10px;
        letter-spacing: 0.02em;
    }
}

/* ──────────── MODALS ──────────── */
.modal.fade {
    display: none;
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(4px);
}

.modal.fade.show {
    display: flex !important;
}

.modal-dialog,
.el-dialog {
    background: var(--bg-card) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-xl) !important;
    border: none !important;
    overflow: hidden;
}

.el-dialog__header {
    padding: 16px 20px !important;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.el-dialog__body {
    padding: 20px !important;
}

.el-dialog__footer {
    padding: 12px 20px !important;
    border-top: 1px solid var(--border-light);
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.el-dialog__headerbtn {
    background: var(--bg-body) !important;
    border: none !important;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.el-dialog__headerbtn:hover {
    background: var(--border) !important;
}

.el-dialog__close {
    width: 16px;
    height: 16px;
    color: var(--text-secondary);
}

.open {
    display: block !important;
}

/* ──────────── SWAL / TOAST ──────────── */
.custom-swal-container {
    z-index: 2012;
}

/* ──────────── TOP SERVICES GRID ──────────── */
#category {
    padding: 0 !important;
}

#category>div {
    gap: 8px;
}

#category a {
    transition: var(--transition);
    border-radius: var(--radius-md);
    padding: 8px;
}

#category a:hover {
    background: var(--bg-body);
    transform: translateY(-2px);
}

#category img {
    border-radius: var(--radius-sm);
}

#category p {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--text-primary);
    margin-top: 4px;
}

/* ──────────── NAP THE (Card Recharge) ──────────── */
.ws-min-h-\[19\.3rem\] {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.ws-rounded-t-lg.ws-bg-white label {
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    font-size: 16px !important;
    padding: 14px 16px !important;
    border-bottom: 2px solid var(--border-light);
}

/* ──────────── FOOTER ──────────── */
footer,
.ws-text-white.ws-py-10 {
    color: #fff;
}

/* ──────────── FLOATING CHAT ──────────── */
.floating-chat {
    position: fixed;
    bottom: 25px !important;
    right: 25px;
    z-index: 99999;
}

.main-button {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    animation: pulseMain 2s infinite;
    flex-direction: column;
    padding-top: 4px;
    transition: var(--transition);
}

.main-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.45);
}

.main-button i {
    color: white;
    font-size: 22px;
}

.main-button span {
    color: white;
    font-weight: 500;
    font-size: 9px;
    letter-spacing: 0.5px;
    line-height: 1;
}

@keyframes pulseMain {

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

    50% {
        transform: scale(1.08);
    }
}

.sub-buttons {
    position: absolute;
    bottom: 70px;
    right: 5px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.35s ease;
}

.show-buttons .sub-buttons {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.sub-button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(15px);
    animation: popUp 0.4s forwards;
    overflow: hidden;
    transition: var(--transition);
}

.sub-button:hover {
    transform: scale(1.15) !important;
}

.show-buttons .sub-button:nth-child(1) {
    animation-delay: 0.05s;
}

.show-buttons .sub-button:nth-child(2) {
    animation-delay: 0.15s;
}

.show-buttons .sub-button:nth-child(3) {
    animation-delay: 0.25s;
}

@keyframes popUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }

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

.btn-zalo {
    background: #0068ff;
}

.btn-discord {
    background: #5865F2;
}

.btn-fb {
    background: #1877f2;
}

.btn-zalo img {
    width: 26px;
    height: 26px;
}

@media (max-width: 768px) {
    .floating-chat {
        bottom: 30px;
        right: 15px;
    }

    .main-button {
        width: 50px;
        height: 50px;
    }

    .sub-button {
        width: 40px;
        height: 40px;
    }
}

/* ──────────── PASSWORD LEVEL 2 BANNER ──────────── */
.password-level2-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    padding: 14px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

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

.password-level2-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.password-level2-banner-text {
    display: flex;
    align-items: center;
    color: #fff;
    flex: 1;
    min-width: 200px;
}

.password-level2-banner-text i {
    font-size: 28px;
    margin-right: 12px;
    animation: shake 2s infinite;
}

@keyframes shake {

    0%,
    100% {
        transform: rotate(0deg);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: rotate(-8deg);
    }

    20%,
    40%,
    60%,
    80% {
        transform: rotate(8deg);
    }
}

.password-level2-banner-text-content h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}

.password-level2-banner-text-content p {
    margin: 0;
    font-size: 12px;
    opacity: 0.95;
}

.password-level2-banner-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.password-level2-update-btn {
    background: #fff;
    color: #FF6B6B;
    padding: 10px 24px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.password-level2-update-btn i {
    margin-right: 8px;
    font-size: 16px;
}

.password-level2-update-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

body.has-password-banner {
    padding-top: 70px !important;
}

@media (max-width: 768px) {
    .password-level2-banner {
        padding: 10px 14px;
    }

    .password-level2-banner-content {
        flex-direction: column;
        align-items: stretch;
    }

    .password-level2-banner-text i {
        font-size: 24px;
        margin-right: 10px;
    }

    .password-level2-banner-text-content h4 {
        font-size: 13px;
    }

    .password-level2-banner-text-content p {
        font-size: 11px;
    }

    .password-level2-banner-actions {
        width: 100%;
        justify-content: center;
    }

    .password-level2-update-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    body.has-password-banner {
        padding-top: 100px !important;
    }
}

/* ──────────── CUSTOM BUTTONS (Snowflake) ──────────── */
.snowflake {
    position: absolute;
    width: 10px;
    height: 10px;
    background: linear-gradient(#fff, #fff);
    border-radius: 50%;
    filter: drop-shadow(0 0 10px #fff);
}

.custom-buttons-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.custom-buttons-container a {
    margin-bottom: 10px;
}

@media only screen and (min-width: 600px) {
    .custom-buttons-container {
        bottom: 20px;
    }
}

@media only screen and (max-width: 599px) {
    .custom-buttons-container {
        bottom: 57px;
    }
}

.custom-button {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    text-decoration: none;
    margin-bottom: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    transition: var(--transition);
}

.buy-button {
    background-color: #d872da;
}

.custom-button img {
    width: 30px;
    height: 30px;
    margin-right: 5px;
}

/* ──────────── UTILITY OVERRIDES ──────────── */
.tw-text-red-500 {
    --tw-text-opacity: 1;
    color: var(--primary) !important;
}

.tw-font-bold {
    font-weight: 700;
}

.tw-py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.tw-px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.tw-bg-white {
    --tw-bg-opacity: 1;
    background-color: var(--bg-card);
}

.tw-mb-4 {
    margin-bottom: 1rem;
}

.tw-relative {
    position: relative;
}

.tw-flex {
    display: flex;
}

.tw-h-10 {
    height: 2.5rem;
}

.tw-items-center {
    align-items: center;
}

.tw-justify-center {
    justify-content: center;
}

.tw-text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.tw-w-10 {
    width: 2.5rem;
}

.tw-absolute {
    position: absolute;
}

.tw-w-full {
    width: 100%;
}

.fade {
    display: none;
}

.fade.show {
    display: flex !important;
}

/* ──────────── MESSAGE ICON SHAKE ──────────── */
.message-icon.shake i {
    animation: shake 0.6s ease-in-out infinite;
}

/* ──────────── NAP THE CARD FORM (Home) ──────────── */
.el-form-item {
    margin-bottom: 12px;
}

/* ──────────── RESPONSIVE HELPERS ──────────── */
@media (max-width: 768px) {
    .ws-label-title {
        font-size: 15px !important;
    }

    .ws-wrap-box-title {
        font-size: 12px !important;
    }
}

/* ──────────── LOADING / SPINNER ──────────── */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ──────────── SELECTION COLOR ──────────── */
::selection {
    background: rgba(239, 68, 68, 0.15);
    color: var(--primary-dark);
}

/* ══════════════════════════════════════════════════
   SITE NAVBAR — Sticky, Modern, Glassmorphism
   ══════════════════════════════════════════════════ */
.site-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--border) !important;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04) !important;
    transition: box-shadow 0.3s ease;
}

.site-navbar.scrolled {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.site-navbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    gap: 12px;
}

.site-navbar-logo img {
    height: 44px;
    width: auto;
    transition: var(--transition);
}

.site-navbar-logo:hover img {
    transform: scale(1.03);
}

.site-navbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Desktop Nav Links ── */
.site-navbar-links {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 8px;
}

.navbar-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary) !important;
    text-decoration: none !important;
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
}

.navbar-link i {
    font-size: 16px;
}

.navbar-link:hover {
    color: var(--primary) !important;
    background: rgba(239, 68, 68, 0.06);
}

.navbar-link-arrow {
    font-size: 14px !important;
    transition: var(--transition);
}

/* Navbar dropdown (Lịch Sử Mua) */
.navbar-link-dropdown {
    position: relative;
}

.navbar-link-submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    min-width: 200px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 2002;
}

.navbar-link-dropdown:hover .navbar-link-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.navbar-link-dropdown:hover .navbar-link-arrow {
    transform: rotate(180deg);
}

.navbar-link-dropdown:hover>.navbar-link {
    color: var(--primary) !important;
    background: rgba(239, 68, 68, 0.06);
}

.navbar-submenu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary) !important;
    text-decoration: none !important;
    transition: var(--transition);
}

.navbar-submenu-item i {
    font-size: 16px;
    color: var(--text-muted);
    transition: var(--transition);
}

.navbar-submenu-item:hover {
    background: var(--bg-body);
    color: var(--primary) !important;
}

.navbar-submenu-item:hover i {
    color: var(--primary);
}

/* Push body down for fixed nav */
body {
    padding-top: 64px !important;
}

body.has-password-banner {
    padding-top: 134px !important;
}

/* ── Nav Buttons ── */
.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
    border: none;
}

.nav-btn i {
    font-size: 18px;
}

.nav-btn-outline {
    background: var(--bg-body);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.nav-btn-outline:hover {
    background: var(--bg-card);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.12);
}

.nav-btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
}

.nav-btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
    color: #fff !important;
}

.nav-btn-login {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.nav-btn-login:hover {
    background: var(--primary);
    color: #fff !important;
}

/* ── Profile Trigger ── */
.nav-profile-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px 4px 4px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-body);
    border: 1px solid var(--border);
}

.nav-profile-trigger:hover {
    background: var(--bg-card);
    border-color: var(--primary-light);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.1);
}

.nav-profile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-profile-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-profile-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-profile-balance {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
}

.nav-profile-arrow {
    font-size: 16px;
    color: var(--text-muted);
    transition: var(--transition);
}

.nav-profile-trigger:hover .nav-profile-arrow {
    color: var(--primary);
}

/* ── Mobile Menu Button ── */
.nav-mobile-menu-btn {
    display: none;
    width: 36px;
    height: 36px;
    background: var(--bg-body);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: var(--text-primary);
    transition: var(--transition);
}

.nav-mobile-menu-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ── Mobile Balance Badge ── */
.nav-mobile-balance {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 5px 12px 5px 5px;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(239, 68, 68, 0.03));
    border: 1px solid rgba(239, 68, 68, 0.18);
    text-decoration: none !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-mobile-balance::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-mobile-balance:hover::before,
.nav-mobile-balance:active::before {
    opacity: 1;
}

.nav-mobile-balance-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark, #dc2626));
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    flex-shrink: 0;
}

.nav-mobile-balance-icon i {
    font-size: 14px;
    color: #fff;
}

.nav-mobile-balance-amount {
    font-size: 12px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.01em;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.nav-mobile-balance:active {
    transform: scale(0.96);
}

@keyframes mobileBalancePulse {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    }
    50% {
        box-shadow: 0 2px 12px rgba(239, 68, 68, 0.5);
    }
}

.nav-mobile-balance-icon {
    animation: mobileBalancePulse 3s ease-in-out infinite;
}

/* ══════════════════════════════════════════════════
   DROPDOWN MENUS — Modern with icons, sections
   ══════════════════════════════════════════════════ */
.nav-dropdown-menu {
    position: absolute;
    z-index: 2001;
    display: none;
    width: 260px;
    max-height: 80vh;
    overflow-y: auto;
}

.nav-dropdown-inner {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 6px;
    animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

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

.nav-dropdown-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 10px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 4px;
}

.nav-dropdown-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary-light);
}

.nav-dropdown-user {
    display: flex;
    flex-direction: column;
}

.nav-dropdown-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-dropdown-balance {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
}

.nav-dropdown-section {
    padding: 4px 0;
    border-bottom: 1px solid var(--border-light);
}

.nav-dropdown-section:last-of-type {
    border-bottom: none;
}

.nav-dropdown-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 10px 4px;
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary) !important;
    transition: var(--transition);
    text-decoration: none !important;
}

.nav-dropdown-item i {
    font-size: 17px;
    color: var(--text-muted);
    width: 20px;
    text-align: center;
    transition: var(--transition);
}

.nav-dropdown-item:hover {
    background: var(--bg-body);
    color: var(--primary) !important;
}

.nav-dropdown-item:hover i {
    color: var(--primary);
}

.nav-dropdown-footer {
    padding-top: 4px;
    border-top: 1px solid var(--border-light);
}

.nav-dropdown-logout {
    color: var(--accent) !important;
}

.nav-dropdown-logout i {
    color: var(--accent) !important;
}

.nav-dropdown-logout:hover {
    background: rgba(239, 68, 68, 0.06) !important;
}

/* ══════════════════════════════════════════════════
   MODAL OVERLAY FIX — Dark semi-transparent backdrop
   ══════════════════════════════════════════════════ */
.modal.fade,
.el-overlay.ws-recharge-modal {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(15, 23, 42, 0.55) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    z-index: 2009 !important;
    align-items: center;
    justify-content: center;
}

.modal.fade.show,
.el-overlay.ws-recharge-modal.show {
    display: flex !important;
}

.modal-dialog,
.el-overlay-dialog {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: 16px;
}

/* ── Mobile Quick Action Shortcuts ── */
.nav-mobile-shortcuts {
    display: none;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    margin-right: 8px;
}

/* ── Mobile Recharge Dropdown ── */
.nav-mobile-recharge-wrap {
    position: relative;
}

.nav-mobile-recharge-trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary) !important;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.15);
    text-decoration: none !important;
    white-space: nowrap;
    transition: var(--transition);
    cursor: pointer;
    font-family: inherit;
    outline: none;
}

.nav-mobile-recharge-trigger i {
    font-size: 14px;
}

.nav-mobile-recharge-arrow {
    font-size: 12px !important;
    transition: transform 0.25s ease;
    margin-left: 1px;
}

.nav-mobile-recharge-wrap.open .nav-mobile-recharge-arrow {
    transform: rotate(180deg);
}

.nav-mobile-recharge-trigger:hover,
.nav-mobile-recharge-trigger:active,
.nav-mobile-recharge-wrap.open .nav-mobile-recharge-trigger {
    background: var(--primary);
    color: #fff !important;
    border-color: var(--primary);
    box-shadow: 0 3px 12px rgba(239, 68, 68, 0.25);
}

.nav-mobile-recharge-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    min-width: 160px;
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06);
    padding: 5px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 2002;
}

.nav-mobile-recharge-wrap.open .nav-mobile-recharge-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-mobile-recharge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-primary, #1f2937) !important;
    text-decoration: none !important;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-mobile-recharge-item i {
    font-size: 16px;
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.nav-mobile-recharge-item:hover,
.nav-mobile-recharge-item:active {
    background: rgba(239, 68, 68, 0.06);
    color: var(--primary) !important;
}

/* ── Responsive Navbar ── */
@media (max-width: 768px) {
    .site-navbar-links {
        display: none !important;
    }

    .nav-mobile-shortcuts {
        display: flex;
    }

    .nav-btn-text {
        display: none;
    }

    .nav-btn {
        padding: 8px 10px;
    }

    .nav-profile-trigger {
        display: none !important;
    }

    .nav-mobile-menu-btn {
        display: flex;
    }

    .nav-mobile-balance {
        display: flex;
    }

    body {
        padding-top: 56px !important;
    }

    body.has-password-banner {
        padding-top: 156px !important;
    }
}

@media (min-width: 769px) {
    .nav-mobile-menu-btn {
        display: none !important;
    }

    .nav-mobile-balance {
        display: none !important;
    }
}

/* ══════════════════════════════════════════════════
   AUTH MODALS V2 — Modern Glassmorphism
   ══════════════════════════════════════════════════ */
.auth-v2-card {
    background: #fff !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12) !important;
    overflow: hidden;
    position: relative;
    animation: authV2SlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes authV2SlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

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

/* Top accent bar */
.auth-v2-accent {
    height: 5px;
    background: linear-gradient(90deg, var(--primary), #ff8a80, var(--primary-dark));
    background-size: 200% 100%;
    animation: accentShimmer 3s ease infinite;
}

.auth-v2-accent-emerald {
    background: linear-gradient(90deg, #10b981, #6ee7b7, #059669);
    background-size: 200% 100%;
    animation: accentShimmer 3s ease infinite;
}

@keyframes accentShimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Close button */
.auth-v2-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.auth-v2-close:hover {
    background: #e5e7eb;
    color: #111;
    transform: rotate(90deg);
}

/* Body */
.auth-v2-body {
    padding: 36px 32px 28px;
    text-align: center;
}

/* Avatar */
.auth-v2-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.25);
    animation: authAvatarPulse 2s ease-in-out infinite;
}

.auth-v2-avatar i {
    font-size: 32px;
    color: #fff;
}

.auth-v2-avatar-emerald {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
}

@keyframes authAvatarPulse {

    0%,
    100% {
        box-shadow: 0 8px 24px rgba(239, 68, 68, 0.25);
    }

    50% {
        box-shadow: 0 8px 32px rgba(239, 68, 68, 0.4);
    }
}

.auth-v2-avatar-emerald {
    animation-name: authAvatarPulseGreen;
}

@keyframes authAvatarPulseGreen {

    0%,
    100% {
        box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
    }

    50% {
        box-shadow: 0 8px 32px rgba(16, 185, 129, 0.4);
    }
}

/* Text */
.auth-v2-title {
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 4px;
    letter-spacing: -0.02em;
}

.auth-v2-subtitle {
    font-size: 14px;
    color: #9ca3af;
    margin: 0 0 24px;
    font-weight: 400;
}

/* Input fields */
.auth-v2-field {
    margin-bottom: 14px;
    text-align: left;
}

.auth-v2-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.25s ease;
    overflow: hidden;
}

.auth-v2-input-wrap:focus-within {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.08);
}

.auth-v2-input-wrap>i:first-child {
    position: absolute;
    left: 14px;
    font-size: 20px;
    color: #9ca3af;
    transition: color 0.25s ease;
    z-index: 1;
}

.auth-v2-input-wrap:focus-within>i:first-child {
    color: var(--primary);
}

.auth-v2-input {
    width: 100%;
    padding: 13px 14px 13px 44px;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    outline: none;
    font-family: inherit;
}

.auth-v2-input::placeholder {
    color: #b0b7c3;
    font-weight: 400;
}

/* Password toggle */
.auth-v2-eye {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: #9ca3af;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.auth-v2-eye:hover {
    background: #f3f4f6;
    color: #374151;
}

/* Submit button */
.auth-v2-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3);
    margin-top: 20px;
    font-family: inherit;
    letter-spacing: 0.01em;
}

.auth-v2-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.4);
}

.auth-v2-submit:active {
    transform: translateY(0);
}

.auth-v2-submit i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.auth-v2-submit:hover i {
    transform: translateX(4px);
}

.auth-v2-submit-emerald {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3) !important;
}

.auth-v2-submit-emerald:hover {
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4) !important;
}

/* Divider */
.auth-v2-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: #d1d5db;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.auth-v2-divider::before,
.auth-v2-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.auth-v2-divider span {
    padding: 0 14px;
    color: #9ca3af;
}

/* Social buttons */
.auth-v2-socials {
    display: flex;
    gap: 10px;
}

.auth-v2-social {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 14px;
    border-radius: 10px;
    border: 2px solid #e5e7eb;
    background: #fff;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
    color: #374151 !important;
    transition: all 0.2s ease;
}

.auth-v2-social i {
    font-size: 20px;
}

.auth-v2-social-fb:hover {
    border-color: #1877f2;
    background: #eff6ff;
    color: #1877f2 !important;
}

.auth-v2-social-fb i {
    color: #1877f2;
}

.auth-v2-social-gg:hover {
    border-color: #ea4335;
    background: #fef2f2;
    color: #ea4335 !important;
}

.auth-v2-social-gg i {
    color: #ea4335;
}

/* Footer */
.auth-v2-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f3f4f6;
    font-size: 14px;
    color: #9ca3af;
    text-align: center;
}

.auth-v2-link {
    color: var(--primary) !important;
    font-weight: 700;
    text-decoration: none !important;
    margin-left: 4px;
    transition: color 0.2s ease;
}

.auth-v2-link:hover {
    color: var(--primary-dark) !important;
    text-decoration: underline !important;
}

/* Alert area */
.auth-alert-area:not(:empty) {
    margin-bottom: 16px;
    text-align: left;
}

/* Responsive */
@media (max-width: 480px) {
    .auth-v2-body {
        padding: 28px 20px 22px;
    }

    .auth-v2-avatar {
        width: 60px;
        height: 60px;
    }

    .auth-v2-avatar i {
        font-size: 26px;
    }

    .auth-v2-title {
        font-size: 20px;
    }

    .auth-v2-socials {
        flex-direction: column;
    }
}

/* ══════════════════════════════════════════════════
   AUTH PAGES — Standalone Login / Register
   ══════════════════════════════════════════════════ */
.auth-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    background: var(--bg-body);
}

.auth-page-container {
    width: 100%;
    max-width: 460px;
}

.auth-page-card {
    background: #fff !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden;
    position: relative;
}

.animate-fadeInUp {
    animation: authPageFadeInUp 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes authPageFadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

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

.auth-page-accent {
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #ff8a80, var(--primary-dark));
    background-size: 200% 100%;
    animation: accentShimmer 3s ease infinite;
}

.auth-page-accent-green {
    background: linear-gradient(90deg, #10b981, #6ee7b7, #059669) !important;
    background-size: 200% 100% !important;
}

.auth-page-content {
    padding: 40px 36px 32px;
}

.auth-page-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 24px;
}

.auth-page-logo img {
    height: 44px;
    object-fit: contain;
    display: block;
}

.auth-page-title {
    font-size: 26px;
    font-weight: 800;
    color: #111827;
    text-align: center;
    margin: 0 0 6px;
    letter-spacing: -0.02em;
}

.auth-page-desc {
    font-size: 14px;
    color: #9ca3af;
    text-align: center;
    margin: 0 0 28px;
}

.auth-page-alert:not(:empty) {
    margin-bottom: 18px;
}

.auth-page-field {
    margin-bottom: 18px;
}

.auth-page-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.auth-page-label-hint {
    font-weight: 400;
    color: #9ca3af;
    font-size: 12px;
}

.auth-page-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.25s ease;
}

.auth-page-input-wrap:focus-within {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.06);
}

.auth-page-input-wrap>i:first-child {
    position: absolute;
    left: 14px;
    font-size: 20px;
    color: #9ca3af;
    transition: color 0.25s ease;
    z-index: 1;
}

.auth-page-input-wrap:focus-within>i:first-child {
    color: var(--primary);
}

.auth-page-input {
    width: 100%;
    padding: 13px 14px 13px 44px;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    outline: none;
    font-family: inherit;
}

.auth-page-input::placeholder {
    color: #b0b7c3;
    font-weight: 400;
}

.auth-page-eye {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: #9ca3af;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.auth-page-eye:hover {
    background: #f3f4f6;
    color: #374151;
}

.auth-page-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.25);
    margin-top: 24px;
    font-family: inherit;
}

.auth-page-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.35);
}

.auth-page-submit:active {
    transform: translateY(0);
}

.auth-page-submit i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.auth-page-submit:hover i {
    transform: translateX(4px);
}

.auth-page-submit-green {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.25) !important;
}

.auth-page-submit-green:hover {
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35) !important;
}

.auth-page-divider {
    display: flex;
    align-items: center;
    margin: 22px 0;
    color: #d1d5db;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.auth-page-divider::before,
.auth-page-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.auth-page-divider span {
    padding: 0 14px;
    color: #9ca3af;
}

.auth-page-socials {
    display: flex;
    gap: 10px;
}

.auth-page-social {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 2px solid #e5e7eb;
    background: #fff;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
    color: #374151 !important;
    transition: all 0.2s ease;
}

.auth-page-social i {
    font-size: 20px;
}

.auth-page-social-fb:hover {
    border-color: #1877f2;
    background: #eff6ff;
    color: #1877f2 !important;
}

.auth-page-social-fb i {
    color: #1877f2;
}

.auth-page-social-gg:hover {
    border-color: #ea4335;
    background: #fef2f2;
    color: #ea4335 !important;
}

.auth-page-social-gg i {
    color: #ea4335;
}

.auth-page-switch {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f3f4f6;
    font-size: 14px;
    color: #9ca3af;
}

.auth-page-switch a {
    color: var(--primary) !important;
    font-weight: 700;
    text-decoration: none !important;
    margin-left: 4px;
}

.auth-page-switch a:hover {
    text-decoration: underline !important;
}

@media (max-width: 480px) {
    .auth-page {
        padding: 20px 12px;
    }

    .auth-page-content {
        padding: 28px 20px 24px;
    }

    .auth-page-title {
        font-size: 22px;
    }

    .auth-page-socials {
        flex-direction: column;
    }
}

/* ══════════════════════════════════════════════════
   NOTICE MODAL — Clean & Minimal
   ══════════════════════════════════════════════════ */
.notice-card {
    background: #fff !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12) !important;
    overflow: hidden;
}

.notice-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.notice-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.notice-bell {
    font-size: 18px;
    color: var(--primary);
}

.notice-heading {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.notice-close {
    width: 28px;
    height: 28px;
    border: none;
    background: var(--bg-body);
    border-radius: 50%;
    font-size: 18px;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    line-height: 1;
}

.notice-close:hover {
    background: var(--border);
    color: var(--text-primary);
}

.notice-content {
    padding: 20px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-height: 480px;
    overflow-y: auto;
}

.notice-actions {
    display: flex;
    gap: 8px;
    padding: 14px 20px;
    border-top: 1px solid var(--border);
}

.notice-act {
    flex: 1;
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
}

.notice-act-ghost {
    background: var(--bg-body);
    color: var(--text-muted);
}

.notice-act-ghost:hover {
    background: var(--border);
    color: var(--text-primary);
}

.notice-act-solid {
    background: var(--primary);
    color: #fff;
}

.notice-act-solid:hover {
    opacity: 0.9;
}

/* ══════════════════════════════════════════════════
   FOOTER — Modern Clean Layout
   ══════════════════════════════════════════════════ */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Payment Bar */
.footer-payment-bar {
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 14px 0;
    margin-top: 40px;
}

.footer-payment-bar .footer-container {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-payment-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.footer-payment-label i {
    color: var(--primary);
    font-size: 16px;
}

.footer-payment-methods {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-payment-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--bg-body);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.footer-payment-pill img {
    height: 20px;
    width: auto;
}

/* Features */
.footer-features {
    padding: 32px 0;
}

.footer-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.footer-feature-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff !important;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    transition: var(--transition);
}

.footer-feature-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.08);
}

.footer-feature-card i {
    font-size: 28px;
    color: var(--primary);
    flex-shrink: 0;
}

.footer-feature-card span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

/* Main Footer */
.site-footer {
    background: #fff !important;
    border-top: 1px solid var(--border) !important;
    padding-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}


.footer-logo-wrap {
    margin-bottom: 14px;
}

.footer-logo-wrap img {
    height: 40px;
    width: auto;
}

.footer-desc {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-links a i {
    font-size: 14px;
}

.footer-heading {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.footer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 14px;
    padding: 12px;
    background: var(--bg-body);
    border-radius: var(--radius-sm);
}

.footer-info-item i {
    font-size: 20px;
    color: var(--primary);
    margin-top: 2px;
}

.footer-info-item strong {
    display: block;
    font-size: 13px;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.footer-info-item span {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-messenger-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary);
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none !important;
    transition: var(--transition);
    margin-bottom: 16px;
}

.footer-messenger-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.footer-messenger-btn i {
    font-size: 18px;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    word-break: break-all;
}

.footer-contact-item i {
    font-size: 16px;
    color: var(--primary);
    flex-shrink: 0;
}

.footer-bottom {
    margin-top: 32px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom span {
    font-size: 12px;
    color: var(--text-muted);
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .footer-feature-card {
        padding: 12px;
    }

    .footer-feature-card i {
        font-size: 22px;
    }

    .footer-feature-card span {
        font-size: 12px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-payment-bar {
        display: none;
    }
}

/* ══════════════════════════════════════════════════
   USER LAYOUT — Sidebar + Main
   ══════════════════════════════════════════════════ */
.user-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px;
    min-height: 70vh;
}

.user-sidebar {
    position: sticky;
    top: 80px;
    height: fit-content;
}

.user-main {
    min-width: 0;
}

/* Sidebar Profile */
.sb-profile-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 16px;
}

.sb-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.sb-user-info {
    display: flex;
    flex-direction: column;
}

.sb-username {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
}

.sb-uid {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
}

/* Sidebar Nav */
.sb-nav {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.sb-nav-group {
    padding: 12px 8px;
}

.sb-nav-group+.sb-nav-group {
    border-top: 1px solid #f3f4f6;
}

.sb-nav-group-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9ca3af;
    padding: 0 10px 8px;
}

.sb-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #374151 !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.sb-nav-item:hover {
    background: #fef2f2;
    color: var(--primary) !important;
}

.sb-nav-item i {
    font-size: 20px;
    color: #9ca3af;
    transition: color 0.2s ease;
}

.sb-nav-item:hover i {
    color: var(--primary);
}

/* Mobile toggle */
.sb-mobile-toggle {
    display: none;
}

/* ── Page Heading ── */
.page-heading {
    margin-bottom: 20px;
}

.page-heading-title {
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 4px;
}

.page-heading-title i {
    font-size: 24px;
    color: var(--primary);
}

.page-heading-desc {
    font-size: 14px;
    color: #9ca3af;
    margin: 0;
}

/* ══════════════════════════════════════════════════
   NAP THE PAGE — Cards & Form
   ══════════════════════════════════════════════════ */
.napthe-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.napthe-form-card,
.napthe-info-card,
.napthe-history-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.card-header-strip {
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #ff8a80, var(--primary-dark));
}

.card-header-strip-amber {
    background: linear-gradient(90deg, #f59e0b, #fbbf24, #d97706);
}

.card-inner {
    padding: 24px;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-title i {
    font-size: 20px;
    color: var(--primary);
}

.card-title-amber i {
    color: #f59e0b;
}

/* Form fields */
.napthe-field {
    margin-bottom: 16px;
}

.napthe-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.napthe-input-wrap,
.napthe-select-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    transition: all 0.25s ease;
}

.napthe-input-wrap:focus-within,
.napthe-select-wrap:focus-within {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.06);
}

.napthe-input-wrap>i:first-child,
.napthe-select-wrap>i:first-child {
    position: absolute;
    left: 12px;
    font-size: 20px;
    color: #9ca3af;
    z-index: 1;
    transition: color 0.25s ease;
}

.napthe-input-wrap:focus-within>i:first-child,
.napthe-select-wrap:focus-within>i:first-child {
    color: var(--primary);
}

.napthe-input,
.napthe-select {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    outline: none;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
}

.napthe-select {
    cursor: pointer;
    padding-right: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239ca3af'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 20px;
}

.napthe-input::placeholder {
    color: #b0b7c3;
    font-weight: 400;
}

/* Submit */
.napthe-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.25);
    margin-top: 22px;
    font-family: inherit;
}

.napthe-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.35);
}

.napthe-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.napthe-submit i {
    font-size: 20px;
}

.napthe-alert-area:not(:empty) {
    margin-bottom: 16px;
}

/* Notes */
.napthe-notes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.napthe-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    background: #f0fdf4;
    border-radius: 10px;
    font-size: 13px;
    color: #374151;
    line-height: 1.5;
}

.napthe-note i {
    font-size: 18px;
    color: #10b981;
    margin-top: 1px;
    flex-shrink: 0;
}

.napthe-note-warn {
    background: #fef3c7;
}

.napthe-note-warn i {
    color: #f59e0b;
}

/* ── History Table ── */
.napthe-history-card {
    margin-bottom: 24px;
}

.napthe-history-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #f3f4f6;
}

.napthe-history-desc {
    font-size: 13px;
    color: #9ca3af;
    margin: 4px 0 0;
}

.napthe-refresh-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    background: var(--primary);
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.napthe-refresh-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.napthe-table-wrap {
    overflow-x: auto;
}

.napthe-table {
    width: 100%;
    border-collapse: collapse;
}

.napthe-table th {
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    background: #f9fafb;
    text-align: left;
    border-bottom: 2px solid #e5e7eb;
}

.napthe-table td {
    padding: 12px 16px;
    font-size: 13px;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: top;
}

.napthe-table tbody tr:hover {
    background: #fafafa;
}

.napthe-carrier {
    display: block;
    font-weight: 700;
    color: #111827;
}

.napthe-date {
    display: block;
    font-size: 12px;
    color: #9ca3af;
    margin-top: 2px;
}

.napthe-pin {
    display: block;
    font-weight: 600;
    font-family: monospace;
    font-size: 13px;
}

.napthe-serial {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}

.napthe-amount {
    display: block;
    font-weight: 700;
    color: #111827;
}

.napthe-received {
    display: block;
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    margin-top: 2px;
}

.napthe-amount-sm {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
    display: none;
}

.napthe-status {
    font-size: 12px;
    font-weight: 600;
}

/* Responsive helpers */
.hide-mobile {
    display: table-cell;
}

.show-mobile {
    display: none;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .napthe-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .user-layout {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 12px 8px;
    }

    .user-sidebar {
        position: static;
    }

    .sb-profile-card {
        display: none;
    }

    .sb-nav {
        display: none;
        margin-bottom: 16px;
    }

    .sb-nav.sb-nav-open {
        display: block;
    }

    .sb-mobile-toggle {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
        padding: 12px 16px;
        border: none;
        border-radius: 12px;
        background: #fff;
        color: #374151;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        margin-bottom: 16px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        font-family: inherit;
    }

    .sb-mobile-toggle i {
        font-size: 22px;
        color: var(--primary);
    }

    .page-heading-title {
        font-size: 18px;
    }

    .card-inner {
        padding: 16px;
    }

    .napthe-history-header {
        padding: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .napthe-table th,
    .napthe-table td {
        padding: 10px 12px;
    }

    .hide-mobile {
        display: none !important;
    }

    .show-mobile {
        display: block !important;
    }
}

@media (max-width: 480px) {

    .napthe-table th,
    .napthe-table td {
        padding: 8px;
        font-size: 12px;
    }
}

/* ══════════════════════════════════════════════════
   HERO BANNER — Homepage
   ══════════════════════════════════════════════════ */
.hero-banner {
    display: grid;
    grid-template-columns: 1fr 220px 280px;
    gap: 16px;
    margin-bottom: 16px;
}

/* Main Swiper */
.hero-banner-main {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    background: #e5e7eb;
    max-height: 350px;
}

.hero-swiper {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    height: 100%;
}

.hero-swiper-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
}

.hero-swiper-slide {
    min-width: 100%;
    height: 100%;
}

.hero-swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dots */
.hero-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero-dot.active {
    background: #fff;
    transform: scale(1.2);
    border-color: rgba(0, 0, 0, 0.1);
}

/* Arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    color: #111;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-swiper:hover .hero-arrow {
    opacity: 1;
}

.hero-arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

.hero-arrow-prev {
    left: 10px;
}

.hero-arrow-next {
    right: 10px;
}

/* Side images */
.hero-banner-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-side-img {
    flex: 1;
    border-radius: 14px;
    overflow: hidden;
    background: #e5e7eb;
    min-height: 140px;
}

.hero-side-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.hero-side-img:hover img {
    transform: scale(1.03);
}

/* NapThe Card in hero */
.hero-banner-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

.hero-card-strip {
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #ff8a80, var(--primary-dark));
}

.hero-card-inner {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hero-card-inner .napthe-field {
    margin-bottom: 10px;
}

.hero-card-inner .napthe-submit {
    margin-top: auto;
}

.hero-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-card-title i {
    color: var(--primary);
    font-size: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-banner {
        grid-template-columns: 1fr 260px;
    }

    .hero-banner-side {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hero-banner-side {
        display: none;
    }

    .hero-banner-card {
        order: 1;
    }

    .hero-banner-main {
        order: -1;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .hero-banner-main {
        height: 250px;
    }
}

/* ══════════════════════════════════════════════════
   TOP SERVICES — Category Icons
   ══════════════════════════════════════════════════ */
.top-services {
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.top-services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.top-service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 12px 4px;
    border-radius: 12px;
    transition: all 0.25s ease;
    cursor: pointer;
}

.top-service-item:hover {
    background: #fef2f2;
    transform: translateY(-3px);
}

.top-service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    overflow: hidden;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.top-service-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    display: block;
}

.top-service-name {
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    text-align: center;
    line-height: 1.3;
    word-break: break-word;
}

.top-service-item:hover .top-service-name {
    color: var(--primary);
}

@media (max-width: 768px) {
    .top-services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .top-service-icon {
        width: 48px;
        height: 48px;
    }

    .top-service-icon img {
        width: 48px;
        height: 48px;
    }

    .top-service-name {
        font-size: 11px;
        max-width: 70px;
    }
}

@media (max-width: 480px) {
    .top-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ══════════════════════════════════════════════════
   HOME NOTICE BAR — Marquee
   ══════════════════════════════════════════════════ */
.home-notice-bar {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 14px;
    padding: 10px 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary);
    gap: 12px;
    overflow: hidden;
}

.home-notice-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), #ff8a80);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    animation: bellPulse 2s ease-in-out infinite;
}

@keyframes bellPulse {

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

    50% {
        transform: scale(1.1) rotate(5deg);
    }
}

.home-notice-text {
    flex: 1;
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.home-notice-text marquee {
    color: var(--primary-dark, #b91c1c);
}

@media (max-width: 768px) {
    .home-notice-bar {
        padding: 8px 12px;
        border-radius: 10px;
    }

    .home-notice-icon {
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 15px;
    }

    .home-notice-text {
        font-size: 13px;
    }
}

/* ══════════════════════════════════════════════════
   CATEGORY SECTIONS — Homepage
   ══════════════════════════════════════════════════ */
.cat-section {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.cat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f3f4f6;
}

.cat-header-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), #ff8a80);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
}

.cat-header-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    letter-spacing: 0.3px;
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.cat-card {
    display: block;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    background: #f9fafb;
    transition: all 0.25s ease;
    border: 1px solid #f3f4f6;
}

.cat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
}

.cat-card-img {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e5e7eb;
}

.cat-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.cat-card-badge {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: linear-gradient(135deg, var(--primary), #dc2626);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.cat-card-badge i {
    font-size: 13px;
}

.cat-card-body {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cat-card-title {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.cat-card-sold {
    font-size: 11px;
    font-weight: 600;
    color: #16a34a;
    display: flex;
    align-items: center;
    gap: 4px;
}

.cat-card-sold i {
    font-size: 13px;
}

.cat-card:hover .cat-card-title {
    color: var(--primary);
}

@media (max-width: 1024px) {
    .cat-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .cat-section {
        padding: 14px;
        border-radius: 10px;
    }

    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .cat-header-title {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .cat-card-title {
        font-size: 12px;
    }

    .cat-card-body {
        padding: 8px;
    }
}

/* ══════════════════════════════════════════════════════════════
   CREATE INVOICE PAGE — Premium Redesign
   ══════════════════════════════════════════════════════════════ */

/* Error Box */
.invoice-error-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border: 1px solid #fecaca;
    border-radius: var(--radius-md);
    color: #dc2626;
    font-weight: 600;
    font-size: 15px;
}

.invoice-error-box i {
    font-size: 24px;
}

/* Page Header */
.invoice-page-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #ffffff, #fef7f7);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.invoice-page-header-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: var(--radius-md);
    font-size: 24px;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.25);
}

.invoice-page-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 2px;
    letter-spacing: -0.02em;
}

.invoice-page-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 400;
}

/* Main Card */
.invoice-main-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    padding: 28px;
    margin-bottom: 20px;
}

.invoice-card-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 36px;
    align-items: flex-start;
}

/* QR Section */
.invoice-qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.invoice-qr-wrapper {
    position: relative;
    padding: 14px;
    background: #fff;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.invoice-qr-wrapper:hover {
    border-color: var(--primary-light);
    box-shadow: 0 8px 30px rgba(239, 68, 68, 0.12);
    transform: translateY(-2px);
}

.invoice-qr-glow {
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.05), rgba(239, 68, 68, 0.15));
    z-index: -1;
    animation: qrGlow 3s ease-in-out infinite;
}

@keyframes qrGlow {

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

    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

.invoice-qr-image {
    width: 240px;
    height: auto;
    border-radius: var(--radius-sm);
    display: block;
}

.invoice-qr-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 6px 14px;
    background: var(--bg-body);
    border-radius: 20px;
    margin: 0;
}

.invoice-qr-hint i {
    font-size: 16px;
    color: var(--primary);
}

/* Info Section */
.invoice-info-section {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.invoice-info-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-light);
}

.invoice-info-title i {
    font-size: 20px;
    color: var(--primary);
}

/* Info Rows */
.invoice-info-rows {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.invoice-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
}

.invoice-info-row:last-child {
    border-bottom: none;
}

.invoice-info-row-memo {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.invoice-info-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    min-width: 140px;
}

.invoice-info-label i {
    font-size: 18px;
    color: var(--text-muted);
}

.invoice-info-value {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.invoice-info-stk span {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 16px;
    letter-spacing: 1px;
    color: var(--primary-dark);
}

/* Memo Box */
.invoice-memo-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(135deg, #fef2f2, #fff5f5);
    border: 2px dashed var(--primary-light);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-dark);
    word-break: break-all;
}

/* Copy Button */
.invoice-copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: var(--bg-body);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
}

.invoice-copy-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

/* Warning Box */
.invoice-warning {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 18px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border: 1px solid #fde68a;
    border-radius: var(--radius-md);
    font-size: 13px;
    color: #92400e;
    line-height: 1.5;
}

.invoice-warning-icon {
    min-width: 24px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f59e0b;
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
}

.invoice-warning-text {
    flex: 1;
}

/* Auto Note */
.invoice-auto-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 1px solid #bbf7d0;
    border-radius: var(--radius-md);
    font-size: 13px;
    color: #166534;
}

.invoice-auto-note i {
    font-size: 18px;
    color: #16a34a;
}

/* ── History Card ── */
.invoice-history-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.invoice-history-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-light);
    background: linear-gradient(135deg, #fafafa, #ffffff);
}

.invoice-history-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.invoice-history-title i {
    font-size: 22px;
    color: var(--primary);
}

.invoice-table-wrapper {
    overflow-x: auto;
    width: 100%;
}

.invoice-table {
    width: 100%;
    min-width: 750px;
    border-collapse: collapse;
}

.invoice-table thead tr {
    background: var(--bg-body);
}

.invoice-table th {
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: left;
    white-space: nowrap;
    border-bottom: 2px solid var(--border);
}

.invoice-table th i {
    font-size: 14px;
    vertical-align: middle;
    margin-right: 4px;
    opacity: 0.6;
}

.invoice-table tbody tr {
    transition: var(--transition);
    border-bottom: 1px solid var(--border-light);
}

.invoice-table tbody tr:last-child {
    border-bottom: none;
}

.invoice-table tbody tr:hover {
    background: var(--bg-hover);
}

.invoice-table td {
    padding: 12px 16px;
    font-size: 13px;
    color: var(--text-primary);
    vertical-align: middle;
}

.invoice-td-time {
    color: var(--text-secondary);
    font-size: 12px;
    white-space: nowrap;
}

.invoice-td-content {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.invoice-change-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.invoice-change-positive {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.invoice-change-negative {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* Empty State */
.invoice-empty-row {
    text-align: center;
    padding: 40px 20px !important;
}

.invoice-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.invoice-empty-state i {
    font-size: 40px;
    opacity: 0.4;
}

.invoice-empty-state span {
    font-size: 14px;
    font-weight: 500;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .invoice-page-header {
        padding: 16px;
        gap: 12px;
    }

    .invoice-page-header-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 20px;
    }

    .invoice-page-title {
        font-size: 17px;
    }

    .invoice-main-card {
        padding: 20px 16px;
    }

    .invoice-card-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .invoice-qr-image {
        width: 200px;
    }

    .invoice-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 12px 0;
    }

    .invoice-info-label {
        min-width: auto;
    }

    .invoice-info-value {
        width: 100%;
        justify-content: space-between;
    }

    .invoice-history-header {
        padding: 14px 16px;
    }

    .invoice-table th,
    .invoice-table td {
        padding: 10px 12px;
    }

    .invoice-pagination,
    .invoice-pagination-footer {
        gap: 6px;
    }
}

/* ── Pagination ── */
.invoice-pagination,
.invoice-pagination-footer {
    display: flex;
    align-items: center;
    gap: 8px;
}

.invoice-pagination-footer {
    justify-content: center;
    padding: 16px 24px;
    border-top: 1px solid var(--border-light);
    background: linear-gradient(135deg, #fafafa, #ffffff);
}

.invoice-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: var(--bg-body);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.invoice-page-btn:hover:not(.disabled) {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
    transform: translateY(-1px);
}

.invoice-page-btn.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.invoice-page-info {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    min-width: 50px;
    text-align: center;
    letter-spacing: 0.5px;
}

/* ══════════════════════════════════════════════════════════════
   PROFILE PAGES — Premium Redesign
   ══════════════════════════════════════════════════════════════ */

/* Page Header */
.profile-page-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #ffffff, #fef7f7);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.profile-page-header-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: var(--radius-md);
    font-size: 24px;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.25);
}

.profile-page-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 2px;
    letter-spacing: -0.02em;
}

.profile-page-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 400;
}

/* Info Card */
.profile-info-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 20px;
}

.profile-info-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-light);
    background: linear-gradient(135deg, #fafafa, #ffffff);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.profile-info-card-header i {
    font-size: 22px;
    color: var(--primary);
}

/* Info Grid */
.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 0;
}

.profile-info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-light);
    border-right: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
}

.profile-info-item:hover {
    background: var(--bg-hover);
}

.profile-info-item:nth-child(2n) {
    border-right: none;
}

.profile-info-item-full {
    grid-column: 1 / -1;
    border-right: none;
}

.profile-info-item:last-child {
    border-bottom: none;
}

.profile-info-item-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 18px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.profile-info-item-content {
    flex: 1;
    min-width: 0;
}

.profile-info-item-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
}

.profile-info-item-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.profile-username {
    color: var(--primary) !important;
}

.profile-money-value {
    color: #16a34a !important;
    font-size: 18px !important;
}

.profile-robux-value {
    color: #d97706 !important;
    font-size: 18px !important;
}

/* Highlight items */
.profile-info-money {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
}

.profile-info-money:hover {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0) !important;
}

.profile-info-robux {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
}

.profile-info-robux:hover {
    background: linear-gradient(135deg, #fef3c7, #fde68a) !important;
}

/* Top-up Button */
.profile-topup-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(22, 163, 106, 0.25);
}

.profile-topup-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(22, 163, 106, 0.35);
    color: #fff !important;
}

/* ── Security Section ── */
.profile-security-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.profile-security-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    transition: var(--transition);
}

.profile-security-card:hover {
    box-shadow: var(--shadow-md);
}

.profile-security-card-single {
    max-width: 520px;
}

.profile-security-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-light);
}

.profile-security-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: #fff;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.profile-security-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 2px;
}

.profile-security-desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 400;
}

/* ── Alerts ── */
.profile-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 18px;
}

.profile-alert i {
    font-size: 20px;
    min-width: 20px;
    margin-top: 1px;
}

.profile-alert-warning {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border: 1px solid #fde68a;
    color: #92400e;
}

.profile-alert-warning i {
    color: #f59e0b;
}

.profile-alert-success {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 1px solid #bbf7d0;
    color: #166534;
}

.profile-alert-success i {
    color: #22c55e;
}

/* ── Form Styles ── */
.profile-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.profile-form-alert {
    margin-bottom: 4px;
}

.profile-form-group {
    margin-bottom: 16px;
}

.profile-form-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.profile-form-label i {
    font-size: 16px;
    color: var(--text-secondary);
}

.profile-input-wrapper {
    position: relative;
}

.profile-input {
    width: 100%;
    padding: 12px 44px 12px 16px;
    background: var(--bg-body);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-primary);
    font-family: inherit;
    transition: var(--transition);
    outline: none;
}

.profile-input:focus {
    border-color: var(--primary);
    background: var(--bg-card);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
}

.profile-input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.profile-input-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--text-muted);
    pointer-events: none;
}

/* ── Buttons ── */
.profile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    letter-spacing: 0.02em;
    margin-top: 4px;
}

.profile-btn:hover {
    transform: translateY(-1px);
}

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

.profile-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.profile-btn-purple {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.3);
}

.profile-btn-purple:hover {
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.profile-btn-blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.profile-btn-blue:hover {
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .profile-page-header {
        padding: 16px;
        gap: 12px;
    }

    .profile-page-header-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 20px;
    }

    .profile-page-title {
        font-size: 17px;
    }

    .profile-info-grid {
        grid-template-columns: 1fr;
    }

    .profile-info-item {
        border-right: none !important;
    }

    .profile-info-item-full {
        grid-column: 1;
    }

    .profile-security-grid {
        grid-template-columns: 1fr;
    }

    .profile-security-card {
        padding: 18px 16px;
    }

    .profile-info-card-header {
        padding: 14px 18px;
    }

    .profile-info-item {
        padding: 14px 18px;
    }
}

/* ══════════════════════════════════════════════════════════════
   HISTORY PAGES — Premium Redesign
   ══════════════════════════════════════════════════════════════ */

/* Page Header */
.hist-page-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #ffffff, #fef7f7);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
}

.hist-page-header-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: var(--radius-md);
    font-size: 24px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.hist-page-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 2px;
    letter-spacing: -0.02em;
}

.hist-page-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 400;
}

.hist-refresh-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    padding: 8px 18px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(239, 68, 68, 0.25);
}

.hist-refresh-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(239, 68, 68, 0.35);
    color: #fff !important;
}

/* Card */
.hist-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 20px;
}

.hist-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-light);
    background: linear-gradient(135deg, #fafafa, #ffffff);
    flex-wrap: wrap;
    gap: 10px;
}

.hist-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.hist-card-title i {
    font-size: 22px;
    color: var(--primary);
}

/* Table-specific styles */
.hist-id-badge {
    display: inline-block;
    padding: 2px 8px;
    background: var(--bg-body);
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

.hist-category {
    font-weight: 600;
    color: var(--text-primary);
}

.hist-account-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hist-acc-tk {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 13px;
}

.hist-acc-mk {
    font-size: 12px;
    color: var(--text-muted);
}

/* ── Order Cards (HistoryCayThue) ── */
.hist-orders-container {
    padding: 20px 24px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 16px;
}

.hist-order-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.hist-order-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border);
    transform: translateY(-2px);
}

.hist-order-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: var(--bg-body);
    border-bottom: 1px solid var(--border-light);
}

.hist-order-number {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-primary);
}

.hist-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.hist-status-success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.hist-status-pending {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}

.hist-status-cancel {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.hist-order-body {
    padding: 16px 18px;
}

.hist-order-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.hist-order-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hist-order-field-label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.hist-order-field-label i {
    font-size: 14px;
}

.hist-order-field-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    word-break: break-all;
}

.hist-price {
    color: var(--primary-dark) !important;
    font-weight: 700 !important;
}

.hist-detail-tag {
    display: inline-block;
    padding: 2px 8px;
    background: var(--bg-body);
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-right: 4px;
    margin-bottom: 2px;
}

.hist-order-footer {
    padding: 12px 18px;
    border-top: 1px solid var(--border-light);
    background: var(--bg-body);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hist-order-note {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.hist-order-note i {
    font-size: 16px;
    min-width: 16px;
    margin-top: 1px;
}

.hist-order-note-shop {
    padding: 8px 12px;
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border: 1px solid #fde68a;
    border-radius: var(--radius-sm);
    color: #92400e;
}

.hist-shop-reason {
    color: var(--primary-dark);
    font-weight: 700;
}

.hist-order-note-warn {
    color: var(--primary-dark);
    font-weight: 600;
}

.hist-order-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
}

.hist-order-time i {
    font-size: 14px;
}

/* Empty State */
.hist-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 60px 20px;
    color: var(--text-muted);
}

.hist-empty-state i {
    font-size: 48px;
    opacity: 0.35;
}

.hist-empty-state span {
    font-size: 15px;
    font-weight: 500;
}

/* Auth Modal */
.hist-auth-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}

.hist-auth-modal {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    max-width: 460px;
    width: 100%;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.hist-auth-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 30px;
    text-align: center;
    color: #fff;
}

.hist-auth-header i {
    font-size: 56px;
    margin-bottom: 12px;
    display: block;
    animation: lockPulse 2s infinite;
}

@keyframes lockPulse {

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

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

.hist-auth-header h3 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 800;
}

.hist-auth-header p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

.hist-auth-body {
    padding: 28px;
}

.hist-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: var(--bg-body);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary) !important;
    text-decoration: none;
    transition: var(--transition);
}

.hist-back-btn:hover {
    background: var(--border-light);
    color: var(--text-primary) !important;
    transform: translateY(-1px);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hist-page-header {
        padding: 16px;
        gap: 12px;
    }

    .hist-page-header-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 20px;
    }

    .hist-page-title {
        font-size: 17px;
    }

    .hist-refresh-btn {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }

    .hist-card-header {
        padding: 14px 16px;
    }

    .hist-orders-container {
        padding: 16px;
        grid-template-columns: 1fr;
    }

    .hist-order-info-grid {
        grid-template-columns: 1fr;
    }

    .hist-auth-header {
        padding: 24px 20px;
    }

    .hist-auth-body {
        padding: 20px;
    }
}

/* ══════════════════════════════════════════════════════════════
   VOUCHER PAGE — Styles
   ══════════════════════════════════════════════════════════════ */
.voucher-code {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #16a34a;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
}

.voucher-code:hover {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(22, 163, 106, 0.15);
}

.voucher-code i {
    font-size: 14px;
    opacity: 0.6;
}

.voucher-discount {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border: 1px solid #fecaca;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 800;
    color: #dc2626;
}

.voucher-uses {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.voucher-service {
    display: inline-block;
    padding: 3px 10px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #2563eb;
}