/* ============================================================================
   NQVN — BRAND UNIFIED LAYER
   ----------------------------------------------------------------------------
   Mục tiêu:
   • Đồng bộ toàn bộ trang khách hàng (dashboard, nhiệm vụ, nạp/rút, ticket,
     tài khoản, bảng xếp hạng...) với ngôn ngữ thiết kế của landing page chính.
   • Bảng màu: Xanh dương #0f9d63 · Xanh lá #23b878 · Vàng #e8a83a · Đỏ #e5484d
   • Phong cách: fintech premium, bo góc mềm, đổ bóng nhẹ, gradient tinh tế,
     không rập khuôn template admin đại trà.
   • File này được nạp SAU tất cả CSS cũ để ghi đè an toàn.
   ========================================================================== */

:root {
    /* Bảng màu "Emerald Vault" — ngọc lục bảo + vàng đồng, bỏ hẳn tím/xanh đại trà */
    --brand-emerald: #0f9d63;
    --brand-emerald-2: #23b878;
    --brand-emerald-3: #34d399;
    --brand-gold: #d99a2b;
    --brand-gold-2: #f7c65a;
    --brand-forest: #06231b;
    --brand-forest-2: #0a3327;

    --brand-blue: #0f9d63;
    --brand-blue-2: #34d399;
    --brand-green: #23b878;
    --brand-green-2: #0b8a55;
    --brand-yellow: #e8a83a;
    --brand-red: #e5484d;
    --brand-navy: #06231b;
    --brand-navy-2: #0a3327;
    --brand-ink: #10241d;
    --brand-muted: #6d8579;
    --brand-line: #e2ede7;
    --brand-soft: #f5f8f5;
    --brand-card: #ffffff;
    --brand-grad: linear-gradient(135deg, #0f9d63 0%, #34d399 100%);
    --brand-grad-gold: linear-gradient(135deg, #d99a2b 0%, #f7c65a 100%);
    --brand-grad-soft: linear-gradient(135deg, rgba(15,157,99,.10) 0%, rgba(217,154,43,.10) 100%);
    --brand-radius: 20px;
    --brand-radius-sm: 13px;
    --brand-shadow: 0 12px 34px -12px rgba(6, 35, 27, .16);
    --brand-shadow-lg: 0 28px 60px -22px rgba(6, 35, 27, .30);
}

/* ============================================================================
   1. NỀN & TYPOGRAPHY
   ========================================================================== */
body {
    background-color: var(--brand-soft) !important;
    background-image:
        radial-gradient(circle at 88% -8%, rgba(15, 157, 99, .10), transparent 34%),
        radial-gradient(circle at 2% 12%, rgba(35, 184, 120, .09), transparent 30%);
    background-attachment: fixed;
    color: var(--brand-ink);
    -webkit-font-smoothing: antialiased;
}

body .page {
    background: transparent !important;
}

::selection {
    background: rgba(15, 157, 99, .18);
    color: var(--brand-ink);
}

/* Thanh cuộn mảnh, hiện đại */
*::-webkit-scrollbar { width: 9px; height: 9px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb {
    background: #c6ded1;
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: content-box;
}
*::-webkit-scrollbar-thumb:hover { background: #9dbfae; background-clip: content-box; }

/* ============================================================================
   2. HEADER
   ========================================================================== */
.app-header {
    background: rgba(255, 255, 255, .82) !important;
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid rgba(231, 238, 249, .9) !important;
    box-shadow: 0 8px 26px -18px rgba(6, 35, 27, .35);
}

.app-header .main-header-container {
    padding-inline: 18px;
}

.header-link .noti,
.header-link .currency-img,
.header-link .avatar {
    background: #f2f8f4;
    box-shadow: none;
    border: 1px solid var(--brand-line);
    transition: all .25s ease;
}
.header-link:hover .noti,
.header-link:hover .currency-img {
    background: #e4f4ec;
    border-color: #c4e8d6;
    transform: translateY(-1px);
}

.header-link .noti i { color: var(--brand-blue); }

/* Logo header gọn gàng */
.app-header .horizontal-logo .header-logo img {
    max-height: 34px;
    width: auto;
}

/* Dropdown header */
.main-header-dropdown {
    border: 1px solid var(--brand-line) !important;
    border-radius: 16px !important;
    box-shadow: var(--brand-shadow-lg) !important;
    overflow: hidden;
}
.main-header-dropdown .dropdown-item {
    border-radius: 10px;
    margin: 2px 6px;
    transition: background .2s ease;
}
.main-header-dropdown .dropdown-item:hover {
    background: #f1f9f4 !important;
}

/* ============================================================================
   3. SIDEBAR — điểm nhấn thương hiệu
   ========================================================================== */
.app-sidebar {
    background:
        radial-gradient(circle at 20% 0%, rgba(52, 211, 153, .28), transparent 42%),
        radial-gradient(circle at 90% 100%, rgba(35, 184, 120, .20), transparent 46%),
        linear-gradient(180deg, #06231b 0%, #0a3327 55%, #051d16 100%) !important;
    border-inline-end: 0 !important;
    box-shadow: 18px 0 50px -34px rgba(8, 22, 39, .85);
}

.app-sidebar .main-sidebar-header {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding-block: 14px;
}
.app-sidebar .main-sidebar-header .header-logo img {
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .35));
}

.app-sidebar .slide__category {
    padding: 18px 22px 8px !important;
}
.app-sidebar .slide__category .category-name {
    color: rgba(197, 216, 243, .62) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 1.6px !important;
    text-transform: uppercase;
}

.app-sidebar .side-menu__item {
    position: relative;
    margin: 3px 12px;
    padding: 10px 14px !important;
    border-radius: 12px;
    color: #c9e2d5 !important;
    transition: background .22s ease, color .22s ease, transform .22s ease;
}
.app-sidebar .side-menu__item:hover {
    background: rgba(255, 255, 255, .07) !important;
    color: #ffffff !important;
    transform: translateX(2px);
}
.app-sidebar .side-menu__item.active {
    background: linear-gradient(135deg, #0f9d63 0%, #23b878 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 26px -10px rgba(15, 157, 99, .75);
    padding: 10px 14px !important;
}
.app-sidebar .side-menu__item.active::before {
    content: "";
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 22px;
    border-radius: 0 4px 4px 0;
    background: #ffffff;
    opacity: .9;
}
.app-sidebar .side-menu__label {
    color: inherit !important;
    font-weight: 600;
    font-size: 14px;
}
.app-sidebar .side-menu__item img {
    opacity: .9;
    filter: brightness(0) invert(1);
    width: 21px !important;
    margin-right: 10px !important;
    opacity: .72;
}
.app-sidebar .side-menu__item.active img,
.app-sidebar .side-menu__item:hover img {
    opacity: 1;
}
.app-sidebar .side-menu__angle { color: rgba(201, 217, 240, .7) !important; }

/* Submenu */
.app-sidebar .slide-menu .side-menu__item {
    color: rgba(201, 217, 240, .78) !important;
    font-size: 13.5px;
    padding-block: 8px !important;
}
.app-sidebar .slide-menu .side-menu__item:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, .06) !important;
}
.app-sidebar .slide-menu .side-menu__item.active {
    background: rgba(15, 157, 99, .28) !important;
    color: #fff !important;
    box-shadow: none;
}
.app-sidebar .slide-menu .side-menu__item.active::before { display: none; }

/* Nút thu gọn sidebar */
.app-sidebar .slide-left,
.app-sidebar .slide-right {
    background: rgba(255, 255, 255, .08);
    border-radius: 10px;
}

/* ============================================================================
   4. NỘI DUNG TRANG
   ========================================================================== */
.main-content.app-content {
    padding-top: 4px;
}

.page-header-breadcrumb {
    padding: 6px 2px 2px;
    margin-bottom: 8px;
}

.page-header-breadcrumb .breadcrumb {
    margin-bottom: 2px;
}
.page-header-breadcrumb .breadcrumb-item,
.page-header-breadcrumb .breadcrumb-item a {
    color: var(--brand-muted);
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
}
.page-header-breadcrumb .breadcrumb-item a:hover { color: var(--brand-blue); }
.page-header-breadcrumb .breadcrumb-item.active { color: var(--brand-blue); }

.page-title {
    font-size: 21px !important;
    font-weight: 800 !important;
    letter-spacing: -.2px;
    color: var(--brand-ink);
    position: relative;
    display: inline-block;
}

/* ============================================================================
   5. CARD
   ========================================================================== */
.card {
    border: 1px solid var(--brand-line) !important;
    border-radius: var(--brand-radius) !important;
    box-shadow: var(--brand-shadow);
    background: var(--brand-card);
    transition: transform .28s ease, box-shadow .28s ease;
}
.card:hover {
    box-shadow: 0 20px 46px -20px rgba(6, 35, 27, .24);
}
.card.custom-card { overflow: hidden; }

.card-header {
    background: transparent !important;
    border-bottom: 1px solid var(--brand-line) !important;
    padding: 18px 22px;
}
.card-header-title {
    font-weight: 800;
    font-size: 15.5px;
    color: var(--brand-ink);
    margin: 0;
}
.card-body { padding: 22px; }
.card-footer {
    background: transparent !important;
    border-top: 1px solid var(--brand-line) !important;
    padding: 16px 22px;
}

/* Card có viền gradient nhẹ cho khối nổi bật */
.card.card-glow {
    position: relative;
}
.card.card-glow::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: var(--brand-grad);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: .55;
}

/* ============================================================================
   6. BUTTON
   ========================================================================== */
.btn {
    border-radius: 11px;
    font-weight: 700;
    letter-spacing: .2px;
    transition: all .22s ease;
}
.btn-primary {
    background: linear-gradient(135deg, #0f9d63 0%, #34d399 100%) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 10px 24px -12px rgba(15, 157, 99, .85);
}
.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #0b8a55 0%, #2fb87f 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px -12px rgba(15, 157, 99, .9);
}
.btn-primary-gradient {
    background: var(--brand-grad) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 12px 26px -12px rgba(35, 184, 120, .7);
}
.btn-primary-gradient:hover {
    transform: translateY(-1px);
    color: #fff !important;
    box-shadow: 0 16px 32px -12px rgba(35, 184, 120, .85);
}
.btn-success {
    background: linear-gradient(135deg, #23b878 0%, #0b8a55 100%) !important;
    border-color: transparent !important;
    box-shadow: 0 10px 24px -12px rgba(35, 184, 120, .8);
}
.btn-light {
    background: #f2f8f4 !important;
    border-color: var(--brand-line) !important;
    color: var(--brand-ink) !important;
}
.btn-light:hover { background: #e4f4ec !important; color: var(--brand-blue) !important; }
.btn-outline-primary {
    color: var(--brand-blue) !important;
    border-color: rgba(15, 157, 99, .35) !important;
}
.btn-outline-primary:hover {
    background: var(--brand-blue) !important;
    border-color: var(--brand-blue) !important;
    color: #fff !important;
}
.btn-wave { position: relative; overflow: hidden; }

/* ============================================================================
   7. FORM
   ========================================================================== */
.form-control,
.form-select,
.select2-container--default .select2-selection--single,
.choices__inner {
    border-radius: 12px !important;
    border: 1px solid #dfece4 !important;
    background-color: #fbfdfb !important;
    color: var(--brand-ink) !important;
    font-weight: 500;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-control:focus,
.form-select:focus,
.select2-container--default.select2-container--focus .select2-selection--single,
.choices__inner:focus-within {
    border-color: rgba(15, 157, 99, .65) !important;
    background-color: #fff !important;
    box-shadow: 0 0 0 4px rgba(15, 157, 99, .12) !important;
}
.form-label {
    font-weight: 700;
    font-size: 13px;
    color: #3f574b;
    margin-bottom: 6px;
}
.input-group-text {
    background: #f2f8f4;
    border-color: #dfece4;
    border-radius: 12px;
    color: var(--brand-muted);
    font-weight: 600;
}
.form-check-input:checked {
    background-color: var(--brand-blue);
    border-color: var(--brand-blue);
}
.form-text { color: var(--brand-muted); }

/* ============================================================================
   8. TABLE
   ========================================================================== */
.table {
    --bs-table-bg: transparent;
    margin-bottom: 0;
}
.table thead th {
    background: #f4faf6 !important;
    color: #5b7568 !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: .7px;
    border-bottom: 1px solid var(--brand-line) !important;
    padding: 13px 16px;
    white-space: nowrap;
}
.table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #f1f7f3 !important;
    vertical-align: middle;
    font-size: 13.5px;
    color: #2f473c;
}
.table tbody tr { transition: background .18s ease; }
.table tbody tr:hover { background: #f7fbf8 !important; }
.table tbody tr:last-child td { border-bottom: 0 !important; }
.table-responsive { border-radius: 14px; }

/* ============================================================================
   9. BADGE / ALERT / PAGINATION
   ========================================================================== */
.badge {
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: .2px;
    padding: .42em .8em;
}
.bg-primary-transparent { background: rgba(15, 157, 99, .12) !important; }
.bg-success-transparent { background: rgba(35, 184, 120, .13) !important; }
.bg-warning-transparent { background: rgba(255, 176, 32, .16) !important; }
.bg-danger-transparent { background: rgba(255, 71, 87, .13) !important; }

.alert {
    border: 1px solid transparent;
    border-radius: 14px;
    font-weight: 500;
}
.alert-primary { background: #eaf7f0; border-color: #cbead9; color: #1b4fb0; }
.alert-success { background: #eafaf3; border-color: #cdf2e2; color: #0a7a4b; }
.alert-warning { background: #fdf6e7; border-color: #fbe7c2; color: #9a6a12; }
.alert-danger { background: #fff0f1; border-color: #ffd6da; color: #b83236; }

.pagination .page-link {
    border-radius: 10px !important;
    margin: 0 2px;
    border: 1px solid var(--brand-line);
    color: #3f574b;
    font-weight: 700;
}
.pagination .page-item.active .page-link {
    background: var(--brand-grad);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 18px -10px rgba(15, 157, 99, .8);
}

/* ============================================================================
   10. TABS / PILLS / NAV
   ========================================================================== */
.nav-pills .nav-link {
    border-radius: 11px;
    font-weight: 700;
    color: #5b7568;
}
.nav-pills .nav-link.active {
    background: var(--brand-grad);
    color: #fff;
    box-shadow: 0 10px 22px -12px rgba(15, 157, 99, .8);
}

/* ============================================================================
   11. MODAL
   ========================================================================== */
.modal-content {
    border: 0 !important;
    border-radius: 22px !important;
    box-shadow: var(--brand-shadow-lg);
    overflow: hidden;
}
.modal-header {
    border-bottom: 1px solid var(--brand-line);
    padding: 20px 24px;
}
.modal-title { font-weight: 800; font-size: 17px; }
.modal-body { padding: 22px 24px; }
.modal-footer { border-top: 1px solid var(--brand-line); padding: 16px 24px; }

/* ============================================================================
   12. FOOTER
   ========================================================================== */
.footer {
    background: transparent !important;
    border-top: 1px solid var(--brand-line);
    color: var(--brand-muted);
    font-size: 12.5px;
}
.footer a { color: var(--brand-blue); font-weight: 700; }

/* Nút cuộn lên */
.scrollToTop {
    background: var(--brand-grad) !important;
    box-shadow: 0 14px 30px -12px rgba(15, 157, 99, .85) !important;
    border-radius: 14px !important;
}

/* ============================================================================
   13. THẺ SỐ LIỆU NHANH (dùng chung nhiều trang)
   ========================================================================== */
.card-stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}
.card-stat {
    border-radius: 16px;
    padding: 16px 18px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: var(--brand-shadow);
}
.card-stat::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 92% 8%, rgba(255,255,255,.3), transparent 55%);
    pointer-events: none;
}
.card-stat .cs-lbl { font-size: 12px; opacity: .9; font-weight: 600; }
.card-stat .cs-val { font-size: 21px; font-weight: 900; line-height: 1.25; margin-top: 2px; }
.card-stat.cs-1 { background: linear-gradient(135deg, #0f9d63, #34d399); }
.card-stat.cs-2 { background: linear-gradient(135deg, #23b878, #0b8a55); }
.card-stat.cs-3 { background: linear-gradient(135deg, #e8a83a, #e08a1e); }
.card-stat.cs-4 { background: linear-gradient(135deg, #0b8a55, #0a7a4b); }

/* ============================================================================
   14. TRANG ĐĂNG NHẬP / ĐĂNG KÝ
   ========================================================================== */
body.auth-page {
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background:
        radial-gradient(circle at 12% 18%, rgba(52, 211, 153, .35), transparent 42%),
        radial-gradient(circle at 88% 82%, rgba(35, 184, 120, .30), transparent 44%),
        linear-gradient(135deg, #041a13 0%, #0a3327 55%, #06231b 100%) !important;
    background-attachment: fixed;
    overflow-x: hidden;
}
body.auth-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .10) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: .5;
    pointer-events: none;
}

.auth-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 430px;
    background: rgba(255, 255, 255, .97);
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 26px;
    padding: 34px 30px 28px;
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .65);
    backdrop-filter: blur(8px);
    animation: authRise .55s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes authRise {
    from { opacity: 0; transform: translateY(18px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.auth-card .auth-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}
.auth-card .auth-logo img {
    max-width: 190px;
    height: auto;
}
.auth-card .auth-title {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    color: var(--brand-ink);
    margin: 4px 0 4px;
    letter-spacing: -.3px;
}
.auth-card .auth-sub {
    text-align: center;
    color: var(--brand-muted);
    font-size: 13.5px;
    margin-bottom: 22px;
}
.auth-card label {
    font-weight: 700;
    font-size: 13px;
    color: #3f574b;
}
.auth-card input[type="text"],
.auth-card input[type="password"],
.auth-card input[type="email"],
.auth-card select {
    width: 100%;
    border-radius: 12px !important;
    border: 1px solid #dfece4 !important;
    background: #fbfdfb !important;
    padding: 11px 14px !important;
    font-size: 14px;
    color: var(--brand-ink);
    transition: all .2s ease;
    box-shadow: none !important;
}
.auth-card input:focus {
    outline: none !important;
    border-color: rgba(15, 157, 99, .65) !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(15, 157, 99, .12) !important;
}
.auth-card button[type="submit"],
.auth-card .auth-submit {
    width: 100%;
    border: 0;
    border-radius: 12px;
    padding: 12px 16px;
    font-weight: 800;
    font-size: 14.5px;
    color: #fff;
    background: var(--brand-grad);
    box-shadow: 0 14px 30px -14px rgba(15, 157, 99, .9);
    transition: transform .2s ease, box-shadow .2s ease;
    cursor: pointer;
}
.auth-card button[type="submit"]:hover,
.auth-card .auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px -14px rgba(35, 184, 120, .9);
}
.auth-card .auth-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 16px;
    border-radius: 12px;
    border: 1px solid #e2eee7;
    background: #fff;
    color: #2f473c;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all .2s ease;
}
.auth-card .auth-google:hover {
    background: #f4faf6;
    border-color: #c4e8d6;
    color: var(--brand-blue);
}
.auth-card .auth-foot {
    text-align: center;
    font-size: 13.5px;
    color: var(--brand-muted);
    margin-top: 18px;
}
.auth-card .auth-foot a { color: var(--brand-blue); font-weight: 800; text-decoration: none; }
.auth-card .auth-foot a:hover { text-decoration: underline; }
.auth-card .auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 13px;
    border-radius: 999px;
    background: rgba(35, 184, 120, .12);
    color: #0a7a4b;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .4px;
    margin: 0 auto 12px;
}
.auth-card .auth-badge .dot-live {
    width: 7px; height: 7px; border-radius: 50%;
    background: #23b878;
    box-shadow: 0 0 0 0 rgba(35, 184, 120, .7);
    animation: authPulse 1.8s infinite;
}
@keyframes authPulse {
    0% { box-shadow: 0 0 0 0 rgba(35, 184, 120, .7); }
    70% { box-shadow: 0 0 0 9px rgba(35, 184, 120, 0); }
    100% { box-shadow: 0 0 0 0 rgba(35, 184, 120, 0); }
}
.auth-card .auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #8ba396;
    font-size: 12px;
    font-weight: 600;
    margin: 16px 0;
}
.auth-card .auth-divider::before,
.auth-card .auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e2ede7;
}

/* Modal phụ trong trang auth (2FA / quên mật khẩu) */
body.auth-page .modal-content {
    border-radius: 20px !important;
}

/* ============================================================================
   15. HIỆU ỨNG XUẤT HIỆN MỀM
   ========================================================================== */
.main-content .card,
.main-content .card-stat-row,
.main-content .smm-hero,
.main-content .smm-banner {
    animation: brandFadeUp .5s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes brandFadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .main-content .card,
    .main-content .card-stat-row,
    .main-content .smm-hero,
    .main-content .smm-banner,
    .auth-card { animation: none !important; }
}

/* ============================================================================
   16. RESPONSIVE
   ========================================================================== */
@media (max-width: 991.98px) {
    .main-content.app-content { padding-top: 8px; }
    .page-title { font-size: 19px !important; }
    .card-body { padding: 18px; }
    .card-header { padding: 15px 18px; }
}
@media (max-width: 575.98px) {
    .auth-card { padding: 26px 20px 22px; border-radius: 22px; }
    .card-stat-row { grid-template-columns: 1fr 1fr; gap: 10px; }
    .card-stat { padding: 13px 14px; }
    .card-stat .cs-val { font-size: 18px; }
    .table thead th { font-size: 10.5px !important; padding: 11px 12px; }
    .table tbody td { padding: 12px; font-size: 12.5px; }
}

/* ============================================================================
   17. TINH CHỈNH CHO CÁC TRANG RIÊNG
   ========================================================================== */
/* Trang nạp thẻ / nạp bank: khối chọn mệnh giá */
.card-stat + .card { margin-top: 4px; }

/* Trang hồ sơ: avatar */
.profile-avatar,
.avatar-xl {
    box-shadow: 0 12px 30px -14px rgba(15, 157, 99, .7);
}

/* Nút hành động nhỏ gọn trong bảng */
.table .btn { padding: 6px 12px; font-size: 12px; border-radius: 9px; }

/* Làm dịu các khối hero tự viết để không lệch tông */
.smm-hero,
.smm-banner {
    border-radius: 26px !important;
}

/* Đồng bộ link trong nội dung */
.main-content a:not(.btn):not(.nav-link):not(.dropdown-item):not(.page-link) {
    color: var(--brand-blue);
}
