/* ========================================
   VL1 Hào Kiệt — Fresh Green Redesign v2
   Mobile-first · Green dominant · Animated
======================================== */

/* === CSS Variables === */
:root {
    --green-50: #f0fdf4;
    --green-100: #dcfce7;
    --green-200: #bbf7d0;
    --green-300: #86efac;
    --green-400: #4ade80;
    --green-500: #22c55e;
    --green-600: #16a34a;
    --green-700: #15803d;
    --green-800: #166534;
    --green-900: #14532d;
    --green-950: #052e16;

    --surface-dark: #0a1f15;
    --surface-card: rgba(10, 31, 21, 0.85);
    --surface-glass: rgba(22, 101, 52, 0.12);
    --surface-glow: rgba(34, 197, 94, 0.08);

    --border-subtle: rgba(34, 197, 94, 0.15);
    --border-accent: rgba(74, 222, 128, 0.3);

    --text-primary: #f0fdf4;
    --text-secondary: rgba(240, 253, 244, 0.7);
    --text-muted: rgba(240, 253, 244, 0.5);
    --text-gold: #fde68a;
    --text-on-dark: #f0fdf4;

    --danger: #ef4444;
    --danger-soft: rgba(239, 68, 68, 0.15);
    --warning: #fbbf24;

    --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(34, 197, 94, 0.15);

    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Animations === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-32px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(32px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(34, 197, 94, 0.1); }
    50% { box-shadow: 0 0 40px rgba(34, 197, 94, 0.25); }
}

@keyframes borderGlow {
    0%, 100% { border-color: rgba(34, 197, 94, 0.2); }
    50% { border-color: rgba(34, 197, 94, 0.5); }
}

/* === Base Reset === */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.client-shell,
body.auth-shell {
    font-family: 'Bai Jamjuree', 'Poppins', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* === Auth Shell (Login/Register/Forgot) === */
body.auth-shell {
    background: var(--green-950);
    background-image:
        radial-gradient(ellipse at 20% 0%, rgba(34, 197, 94, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(22, 163, 74, 0.08) 0%, transparent 50%);
    position: relative;
}

body.auth-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url("../images/bg_login.jpg") center/cover repeat;
    opacity: 0.08;
    z-index: 0;
}

body.auth-shell::after {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 46, 22, 0.9) 0%, rgba(10, 31, 21, 0.95) 100%);
    z-index: 0;
}

/* === Client Shell (Dashboard) === */
body.client-shell {
    background: var(--surface-dark);
    background-image:
        radial-gradient(ellipse at top left, rgba(34, 197, 94, 0.06) 0%, transparent 40%),
        radial-gradient(ellipse at bottom right, rgba(22, 163, 74, 0.04) 0%, transparent 40%);
}

body.client-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: url("../images/bg_faction.png") center 5rem / 14rem repeat;
    opacity: 0.06;
    z-index: 0;
}

body.client-shell > header,
body.client-shell > nav,
body.client-shell > main {
    position: relative;
    z-index: 1;
}

/* === Login Layout === */
.login-layout {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.login-card {
    width: min(100%, 64rem);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    background: rgba(10, 31, 21, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    animation: fadeInUp 0.6s ease-out;
}

.login-banner {
    display: none;
    position: relative;
    min-height: 15rem;
    background:
        linear-gradient(135deg, rgba(22, 163, 74, 0.4), rgba(5, 46, 22, 0.8)),
        url("../images/bg_faction.png") center/12rem repeat;
    overflow: hidden;
}

.login-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(34, 197, 94, 0.1) 50%, transparent 70%);
    background-size: 200% 200%;
    animation: shimmer 4s ease-in-out infinite;
}

/* === Download Buttons (desktop banner) === */
.download-links {
    position: absolute;
    left: 50%;
    bottom: 1.5rem;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 1;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 150px;
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-lg);
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    text-decoration: none;
    transition: all var(--transition);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.download-btn:hover {
    background: rgba(34, 197, 94, 0.25);
    border-color: rgba(34, 197, 94, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.2);
    color: #fff;
    text-decoration: none;
}

.download-icon {
    height: 28px;
    width: auto;
}

.download-btn small {
    display: block;
    font-size: 0.65rem;
    opacity: 0.7;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.download-btn strong {
    display: block;
    font-size: 0.95rem;
    line-height: 1.2;
}

.login-form-container {
    padding: 1.5rem;
    animation: fadeIn 0.5s ease-out 0.2s both;
}

.login-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.login-header img {
    height: 5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

.login-header h2 {
    margin: 0 0 0.35rem;
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    color: var(--text-gold);
    font-weight: 700;
    text-shadow: 0 2px 12px rgba(253, 230, 138, 0.2);
}

.login-header small {
    color: var(--text-secondary);
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.login-form-container form,
.loginform {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.link-forgot {
    display: inline-flex;
    align-items: center;
    color: var(--green-300);
    font-size: 0.92rem;
    font-weight: 600;
    transition: color var(--transition);
}

.link-forgot:hover {
    color: var(--green-100);
}

/* === App Header (new - no sidebar) === */
.app-header {
    position: sticky !important;
    top: 0;
    z-index: 100 !important;
    background: rgba(10, 31, 21, 0.92);
    border-bottom: 1px solid var(--border-subtle);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.app-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 64rem;
    margin: 0 auto;
    padding: 0.65rem 1rem;
}

.app-logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none !important;
}

.app-logo img {
    transition: transform var(--transition);
}

.app-logo:hover img {
    transform: scale(1.06) rotate(-3deg);
}

.app-logo span {
    font-size: 1rem;
    font-weight: 700;
    color: var(--green-100);
    letter-spacing: 0.02em;
}

.app-header-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-username {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.12);
    color: var(--green-200);
    font-size: 0.88rem;
    font-weight: 600;
}

.header-username i {
    color: var(--green-400);
}

.header-logout-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.12);
    color: #fca5a5 !important;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all var(--transition);
}

.header-logout-btn:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.25);
    color: #fecaca !important;
    text-decoration: none;
}

/* === App Main Content (no sidebar) === */
.app-main {
    min-height: calc(100vh - 8rem);
    padding: 1rem 0 0rem;
}

/* === Bottom Navigation Bar (always visible) === */
.app-bottom-nav {
    position: sticky !important;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(8, 24, 16, 0.96);
    border-top: 1px solid var(--border-subtle);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.25);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.app-bottom-nav-inner {
    display: flex;
    align-items: stretch;
    justify-content: center;
    max-width: 40rem;
    margin: 0 auto;
    padding: 0.35rem 0.5rem;
    gap: 0.15rem;
}

/* Each nav tab */
.nav-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.5rem 0.25rem;
    border-radius: var(--radius-md);
    color: var(--text-muted);
    text-decoration: none !important;
    font-size: 0.72rem;
    font-weight: 600;
    transition: all var(--transition);
    position: relative;
    min-width: 0;
}

.nav-tab i {
    font-size: 1.15rem;
    transition: all var(--transition);
}

.nav-tab span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* Active & hover */
.nav-tab::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2.5px;
    background: var(--green-400);
    border-radius: 0 0 4px 4px;
    transition: width var(--transition);
}

.nav-tab:hover {
    color: var(--green-200);
    background: rgba(34, 197, 94, 0.06);
}

.nav-tab.active {
    color: var(--green-300);
    background: rgba(34, 197, 94, 0.1);
}

.nav-tab.active::before {
    width: 50%;
}

.nav-tab.active i {
    color: var(--green-400);
    transform: scale(1.1);
}

/* Special topup button in center */
.nav-tab-topup {
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-600), var(--green-700));
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.35), 0 0 20px rgba(34, 197, 94, 0.15);
    margin-top: -1rem;
    margin-bottom: 0.15rem;
    transition: all var(--transition);
}

.nav-tab-topup i {
    color: #fff !important;
    font-size: 1.1rem;
}

.nav-tab:hover .nav-tab-topup,
.nav-tab.active .nav-tab-topup {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.45), 0 0 30px rgba(34, 197, 94, 0.2);
}

/* Logout tab subtle styling */
.nav-tab-logout {
    color: rgba(252, 165, 165, 0.5);
}

.nav-tab-logout:hover {
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.06);
}

.shadow-top {
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.15);
}

/* === Typography === */
a {
    color: var(--green-300);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--green-100);
    text-decoration: underline;
}

label,
.table td,
.table th,
.dataTables_paginate a,
.gift-info,
.icon-copy,
input,
select,
textarea {
    color: var(--green-50);
}

.table td,
.table th {
    border-color: rgba(34, 197, 94, 0.1);
}

.title {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hidden {
    display: none !important;
}

/* === Forms === */
.box-submit {
    margin-bottom: 1.5rem;
}

.form-control,
input,
select,
textarea {
    width: 100%;
    min-height: 50px !important;
    height: 50px !important;
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: var(--radius-sm);
    background: rgba(5, 46, 22, 0.4);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all var(--transition);
    color: var(--green-50);
}

.form-control,
input,
textarea {
    padding: 0.8rem 1rem;
}

select {
    padding: 0.8rem 2.5rem 0.8rem 1rem;
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--green-500);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15), inset 0 2px 4px rgba(0, 0, 0, 0.1);
    background: rgba(5, 46, 22, 0.6);
}

.form-control:disabled,
.form-control[readonly] {
    background-color: rgba(5, 46, 22, 0.6);
    opacity: 0.7;
}

.captcha-input:focus {
    border-right: none;
}

.captcha-trigger {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

#refreshCaptcha img {
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

/* === Buttons === */
.ct-btn,
.btn-login,
.btn-submit,
.btn-action,
.modal-content .modal-footer button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3rem;
    padding: 0.85rem 1.25rem;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--green-600), var(--green-700));
    color: #fff !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.3);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.ct-btn::before,
.btn-login::before,
.btn-submit::before,
.btn-action::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.ct-btn:hover,
.btn-login:hover,
.btn-submit:hover,
.btn-action:hover,
.modal-content .modal-footer button:hover {
    color: #fff !important;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.4), 0 0 40px rgba(34, 197, 94, 0.15);
}

.ct-btn:hover::before,
.btn-login:hover::before,
.btn-submit:hover::before,
.btn-action:hover::before {
    opacity: 1;
}

.ct-btn:active,
.btn-login:active,
.btn-submit:active,
.btn-action:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.3);
}

.btn-link {
    color: var(--green-300);
    font-weight: 700;
    text-decoration: none;
    transition: color var(--transition);
}

.btn-link:hover {
    color: var(--green-100);
    text-decoration: underline;
}

.btn-back {
    position: absolute;
    left: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-gold);
    font-size: 0.95rem;
    font-weight: 700;
    transition: all var(--transition);
}

.btn-back:hover {
    color: #fef3c7;
    text-decoration: none;
    transform: translateX(-2px);
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: var(--green-400);
    opacity: 0.6;
}

.input-icon input {
    padding-left: 2.85rem;
}

.support_customer a,
.info_customer a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 3rem;
}

/* === Modals === */
.modal-content {
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(180deg, rgba(10, 31, 21, 0.97), rgba(5, 20, 12, 0.98));
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    color: var(--text-primary);
    animation: fadeInUp 0.3s ease-out;
}

.modal-content .modal-header,
.modal-content .modal-body,
.modal-content .modal-footer {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.modal-content .modal-header {
    border-bottom: 1px solid var(--border-subtle);
    padding-top: 1.25rem;
    padding-bottom: 1rem;
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.08), transparent);
}

.modal-content .modal-header .title {
    margin: 0;
    font-size: clamp(1.15rem, 4.6vw, 1.6rem);
    line-height: 1.35;
    color: var(--text-primary);
    font-weight: 700;
}

.modal-content .modal-body {
    padding-top: 1rem;
    padding-bottom: 1rem;
    line-height: 1.75;
}

.modal-content .modal-footer {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1rem;
    padding-bottom: 1rem;
    background: rgba(34, 197, 94, 0.03);
}

.modal-content .modal-body + .modal-footer {
    padding-top: 0.85rem;
}

.modal-content .modal-footer button {
    width: 100%;
    margin: 0;
}

/* === Overlays === */
#popupPanel {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: all 0.35s ease;
}

#formEditor {
    position: relative;
    z-index: 999;
    width: min(100%, 38rem);
    transition: all 0.35s ease;
}

#formEditor .modal-content {
    opacity: 1;
}

#opacity08,
.custom-modal,
.modal-backdrop {
    position: fixed;
    inset: 0;
    width: 100% !important;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

#opacity08 { z-index: 998; }
.custom-modal { z-index: 99999; opacity: 1; }
.modal-backdrop { z-index: 0; }
.modal-backdrop.fade { opacity: 0; }
.modal-backdrop.show { opacity: 1; }

/* === Loader === */
#divLoader .wrap-loader {
    width: 4.5rem;
    height: 4.5rem;
    position: relative;
    margin: auto;
    padding: 0.5rem;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.08);
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.15);
}

.processing-loader {
    width: 100%;
    height: 100%;
    margin: 0;
    position: relative;
    border: 3px solid rgba(34, 197, 94, 0.15);
    border-top-color: var(--green-400);
    border-right-color: var(--green-600);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* === Status badges === */
.bg-error {
    background: linear-gradient(135deg, var(--danger), #dc2626) !important;
    color: #fff !important;
}

.bg-blue {
    background: linear-gradient(135deg, var(--green-600), var(--green-700)) !important;
    color: #fff !important;
}

.confirmed_email {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--green-500), var(--green-700));
    color: #fff !important;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.form-note {
    margin-top: 0.4rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.form-note-emphasis,
.text-highlight-theme {
    color: var(--text-gold);
}

/* === Utility blocks === */
.icon-copy {
    margin-right: 0.35rem;
}

.table-items,
.gift-info,
.dataTables_paginate {
    text-align: center;
}

.gift-info .text-hightlight,
.text-hightlight,
.accumulat-notice i,
.recharge_adnx .recharge_noti i,
.recharge_apota .recharge_noti i {
    color: var(--green-400);
}

.gift-info i {
    cursor: pointer;
    margin-left: 0.35rem;
}

.dataTables_paginate span .paginate_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    margin: 0.2rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all var(--transition);
}

.dataTables_paginate span .current,
.dataTables_paginate span .paginate_button:hover {
    color: #fff;
    background: rgba(34, 197, 94, 0.2);
}

.swal2-popup {
    font-size: 0.82rem !important;
    border-radius: var(--radius-lg) !important;
    border: 1px solid var(--border-subtle) !important;
    box-shadow: var(--shadow-md) !important;
}

.accumulat-notice {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin: 1rem 0.65rem 0.75rem;
    padding: 1rem;
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.06), rgba(22, 163, 74, 0.04));
    color: var(--green-100);
    box-shadow: var(--shadow-sm);
    animation: fadeIn 0.4s ease-out;
}

.accumulat-notice .items {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.question {
    margin-top: 1rem !important;
}

/* === Language dropdown === */
.lang .sl { cursor: pointer; }

.lang ul {
    top: 0.75rem !important;
    left: -1.2rem !important;
    min-width: max-content !important;
    padding: 0.65rem 0.75rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: rgba(10, 31, 21, 0.95);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-md);
}

.lang ul li {
    margin: 0.25rem 0;
}

/* === Selection / Recharge cards === */
.recharge_select {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.r_i_item {
    display: flex;
}

.recharge_select img {
    width: 5.75rem;
    max-width: 100%;
}

.recharge_select .r_i_item {
    width: min(100%, 20rem);
    min-height: 4.75rem;
    margin: 0 !important;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.05), rgba(10, 31, 21, 0.6));
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    cursor: pointer;
}

.recharge_select .r_i_item.active_rc_i,
.recharge_select .r_i_item:hover {
    border-color: var(--border-accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md), 0 0 24px rgba(34, 197, 94, 0.1);
}

.r_i_item .inner {
    margin-left: 0;
    text-align: left;
    color: var(--green-100);
}

/* === Account wrapper & boxes === */
.account-wrapper {
    max-width: 60rem;
    margin: 1rem auto 4.5rem;
    padding: 0 1rem;
    color: var(--text-primary);
    animation: fadeInUp 0.5s ease-out;
}

.account-box,
.card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    background: rgba(10, 31, 21, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
    animation: glowPulse 4s ease-in-out infinite;
}

.account-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.4), transparent);
}

.account-box {
    padding: 1.25rem;
}

.account-box-narrow {
    max-width: 32rem;
    margin: 1rem auto 0;
}

.account-box-wide {
    max-width: 52rem;
    margin: 1rem auto 0;
}

.account-detail {
    border: 1px solid rgba(34, 197, 94, 0.12);
    border-radius: var(--radius-lg);
    background: rgba(34, 197, 94, 0.04);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.account-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
}

.titlegcmxh {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    text-align: center;
}

.titlegcmxh span {
    font-size: clamp(1.15rem, 4.8vw, 1.45rem);
    color: var(--text-gold);
    font-weight: 700;
}

.title-center {
    margin: 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.title-center i {
    font-size: 1.1em;
}

.content2 p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* === Copy input === */
.input-copy {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.input-copy .form-control,
.input-copy input {
    flex: 1;
}

.input-copy .captcha {
    margin-left: 0;
    flex-shrink: 0;
}

.btn-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--green-700), var(--green-800));
    color: #fff;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    cursor: pointer;
}

.btn-copy:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), 0 0 20px rgba(34, 197, 94, 0.2);
}

/* === Notes === */
.text-note {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

.text-note b { color: var(--text-gold); }
.text-note a { color: #fde68a; text-decoration: underline; }

.accumulat-container .section-title {
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 3px solid var(--green-500);
    font-size: clamp(1.15rem, 4.6vw, 1.45rem);
    font-weight: 700;
    color: var(--text-gold);
}

.accumulat-container .custom-select {
    border-color: rgba(34, 197, 94, 0.25);
}

.reward-table {
    margin-top: 1.25rem;
}

.note-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.note-list li {
    position: relative;
    padding-left: 1.55rem;
    margin-bottom: 0.7rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

.note-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--green-400);
    font-weight: 700;
}

.highlight {
    color: var(--text-gold);
    font-weight: 700;
}

.accumulat-submit {
    width: min(100%, 15rem);
}

/* === Top-up page === */
.topup-page {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.topup-page .other-function-container {
    width: min(100%, 52rem);
}

.topup-page .bg_title {
    margin-bottom: 1rem;
}

.topup-page .box-title__text {
    font-size: clamp(1.2rem, 5vw, 1.65rem);
    font-weight: 700;
    color: var(--text-gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.topup-page .topup-methods-row {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.topup-page .list_bank2__ {
    width: 100%;
    display: block;
}

.topup-page .topup-option-panel {
    margin: 0;
}

.topup-page .topup-option-card {
    width: 100%;
    padding-bottom: 0;
}

.topup-page .tile-stats {
    min-height: 11rem;
    padding: 1.5rem 1rem;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(10, 31, 21, 0.8), rgba(5, 20, 12, 0.9));
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.topup-page .tile-stats::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(34, 197, 94, 0.06), transparent 70%);
    opacity: 0;
    transition: opacity var(--transition);
}

.topup-page .list_bank2__:hover {
    text-decoration: none;
}

.topup-page .list_bank2__:hover .tile-stats {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-md), 0 0 30px rgba(34, 197, 94, 0.12);
}

.topup-page .list_bank2__:hover .tile-stats::before {
    opacity: 1;
}

.topup-page .im_bank {
    min-height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.topup-page .max_width {
    max-width: min(100%, 6.75rem);
    height: auto;
}

.topup-page .topup-option-label {
    margin-bottom: 0;
    color: var(--green-50);
    font-size: 1rem;
    font-weight: 700;
}

.topup-page .box-subtitle__text {
    margin-top: 0.25rem;
    color: var(--green-400);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.6;
    text-transform: uppercase;
}

.topup-page .topup-history-panel {
    margin-top: 1.1rem;
}

.topup-page .list-data h3 {
    margin-bottom: 0.25rem;
    color: var(--text-gold);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
}

.topup-page .list-data-content {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border-subtle);
}

.topup-page .list-data-content:first-of-type {
    border-top: 0;
}

.topup-page .list-data-content > div {
    flex: 1 1 13rem;
    padding: 0;
}

.topup-page .list-data-content p {
    margin-bottom: 0.35rem;
    color: var(--text-secondary);
}

.topup-page .list-data-content .text-right {
    text-align: left !important;
}

.topup-page .blue {
    color: var(--green-400);
    font-weight: 700;
}

/* === Status pills === */
.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.75rem;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 700;
}

.status-success {
    background: rgba(34, 197, 94, 0.15);
    color: var(--green-300);
}

.status-danger {
    background: var(--danger-soft);
    color: #fca5a5;
}

.status-pending {
    background: rgba(251, 191, 36, 0.12);
    color: #fde68a;
}

.bk-loading {
    text-align: center;
    display: none;
}

.biometric-box {
    display: none;
}

.server-select {
    border-color: rgba(34, 197, 94, 0.25);
}

/* === Top-up buttons === */
.topup-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 90%;
    margin: 0 auto;
}

.btn-topup {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 1rem;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    background: rgba(34, 197, 94, 0.05);
    box-shadow: var(--shadow-sm);
    color: #fff;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-topup::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(34, 197, 94, 0.08), transparent 70%);
    opacity: 0;
    transition: opacity var(--transition);
}

.btn-topup:hover {
    color: #fff;
    text-decoration: none;
    background: rgba(34, 197, 94, 0.1);
    border-color: var(--border-accent);
    transform: translateX(4px);
    box-shadow: var(--shadow-md), 0 0 24px rgba(34, 197, 94, 0.12);
}

.btn-topup:hover::before {
    opacity: 1;
}

.topup-img {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: var(--radius-md);
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition);
}

.btn-topup:hover .topup-img {
    transform: scale(1.1);
}

.btn-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--green-50);
}

/* === Tables === */
.account-box .table-responsive {
    border-radius: var(--radius-md);
}

.account-box .table thead th,
.account-box .table-light th {
    color: var(--green-100);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.82rem;
    background: rgba(34, 197, 94, 0.08) !important;
    border-bottom-color: var(--border-subtle);
}

.account-box .table-hover tbody tr:hover {
    background: rgba(34, 197, 94, 0.05);
}

#topup_wrapper .dataTables_paginate {
    margin-top: 1rem;
}

/* === Account profile === */
.account-left {
    text-align: center;
}

.account-avatar img {
    width: 5.5rem;
    border-radius: 50%;
    border: 3px solid rgba(34, 197, 94, 0.3);
    margin-bottom: 0.9rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), 0 0 20px rgba(34, 197, 94, 0.15);
    transition: all var(--transition);
    animation: float 4s ease-in-out infinite;
}

.account-avatar img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), 0 0 32px rgba(34, 197, 94, 0.25);
}

.account-name {
    margin-bottom: 0.5rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-gold);
    text-shadow: 0 2px 8px rgba(253, 230, 138, 0.15);
}

.account-coin span {
    color: var(--green-300);
    font-weight: 700;
}

.account-online {
    font-size: 0.92rem;
    color: var(--text-muted);
}

.account-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.98rem;
}

.account-table tr {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-subtle);
    transition: background var(--transition);
}

.account-table tr:last-child {
    border-bottom: none;
}

.account-table tr:hover {
    background: rgba(34, 197, 94, 0.03);
}

.account-table td {
    display: block;
    padding: 0.2rem 0;
    border: 0;
    vertical-align: middle;
}

.account-table td:first-child {
    color: var(--green-300);
    font-weight: 600;
}

.account-table .icon {
    width: 1.15rem;
    margin-right: 0.5rem;
}

.fa_txt {
    height: auto;
    padding-right: 0.65rem;
    text-align: right;
}

a.flex > i {
    margin-bottom: -0.9rem;
}

/* === Font icons === */
.fa,
.fas {
    font-family: 'AlterGothic' !important;
}

i.fas,
i.far,
i.fab {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

[class^="fa-"],
[class*=" fa-"] {
    font-family: "Font Awesome 6 Free" !important;
}

.hc {
    color: var(--text-gold);
}

/* ========================================
   Responsive Breakpoints
======================================== */

/* Tablet+ */
@media (min-width: 768px) {
    .app-main {
        padding: 1.5rem 0 5rem;
    }

    .app-bottom-nav-inner {
        gap: 0.25rem;
    }

    .nav-tab {
        font-size: 0.82rem;
        padding: 0.55rem 0.5rem;
        flex-direction: row;
        gap: 0.45rem;
    }

    .nav-tab i {
        font-size: 1rem;
    }

    .nav-tab-topup {
        width: 2.25rem;
        height: 2.25rem;
        margin-top: 0;
        margin-bottom: 0;
    }

    .login-card {
        flex-direction: row;
    }

    .login-banner {
        display: block;
        flex: 0 0 42%;
        min-height: auto;
    }

    .login-form-container {
        flex: 1;
        padding: 2.25rem;
    }

    .modal-content .modal-header,
    .modal-content .modal-body,
    .modal-content .modal-footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .modal-content .modal-header {
        padding-top: 1.25rem;
        padding-bottom: 1rem;
    }

    .modal-content .modal-body {
        padding-top: 1.2rem;
        padding-bottom: 1.2rem;
    }

    .modal-content .modal-footer {
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
    }

    .modal-content .modal-footer button {
        width: auto;
        min-width: 8.5rem;
    }

    .lang ul {
        left: -3rem !important;
    }

    .account-wrapper {
        margin-top: 1.5rem;
        padding: 0 1.5rem;
    }

    .input-copy {
        gap: 0.8rem;
    }

    .account-box {
        padding: 1.75rem;
    }

    .account-avatar img {
        width: 6.5rem;
    }

    .account-table {
        font-size: 1rem;
    }

    .account-table tr {
        display: table-row;
        border-bottom: 0;
    }

    .account-table td {
        display: table-cell;
        padding: 0.85rem 0.4rem;
        border-bottom: 1px solid var(--border-subtle);
    }

    .recharge_select .r_i_item {
        width: 18rem;
    }


    .swal2-popup {
        font-size: 0.9rem !important;
    }
}

/* Small mobile */
@media (max-width: 576px) {
    .input-copy {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-copy {
        width: 100%;
    }

    .topup-page .tile-stats {
        min-height: 10rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .app-main {
        padding: 2rem 0 5rem;
    }

    .app-bottom-nav-inner {
        max-width: 48rem;
    }

    .nav-tab {
        font-size: 0.88rem;
        padding: 0.6rem 0.75rem;
        border-radius: var(--radius-lg);
    }

    .account-wrapper {
        margin-bottom: 5.5rem;
    }

    .account-box,
    .card {
        border-radius: 2rem;
    }

    .account-box {
        padding: 2rem 2.25rem;
    }

    .topup-page .topup-methods-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .topup-page .list-data-content .text-right {
        text-align: right !important;
    }

    .login-banner {
        flex-basis: 44%;
    }

    .login-form-container {
        padding: 2.75rem 2.5rem;
    }

    .modal-content {
        border-radius: 2rem;
    }

    .recharge_select {
        gap: 1.1rem;
    }

    .recharge_select .r_i_item {
        width: 19rem;
    }
}

/* === Scrollbar === */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(5, 46, 22, 0.3);
}

::-webkit-scrollbar-thumb {
    background: rgba(34, 197, 94, 0.25);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(34, 197, 94, 0.4);
}

/* === Selection color === */
::selection {
    background: rgba(34, 197, 94, 0.3);
    color: #fff;
}

/* ========================================
   NEW LAYOUT COMPONENTS v2
======================================== */

/* === Auth Floating Particles === */
.auth-particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.12);
    filter: blur(40px);
}

.particle-1 {
    width: 300px;
    height: 300px;
    top: -80px;
    right: -60px;
    animation: particleFloat1 12s ease-in-out infinite;
}

.particle-2 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    left: -40px;
    background: rgba(74, 222, 128, 0.08);
    animation: particleFloat2 16s ease-in-out infinite;
}

.particle-3 {
    width: 150px;
    height: 150px;
    top: 40%;
    right: 20%;
    background: rgba(253, 230, 138, 0.05);
    animation: particleFloat3 10s ease-in-out infinite;
}

@keyframes particleFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-30px, 40px) scale(1.1); }
    66% { transform: translate(20px, -20px) scale(0.9); }
}

@keyframes particleFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.15); }
}

@keyframes particleFloat3 {
    0%, 100% { transform: translate(0, 0); opacity: 0.5; }
    50% { transform: translate(-25px, 25px); opacity: 1; }
}

/* === Auth Top Bar (mobile branding) === */
.auth-top-bar {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.4s ease-out;
}

.auth-top-logo {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.auth-top-bar span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green-100);
    letter-spacing: 0.02em;
}

/* === Auth Download Mobile (below card) === */
.auth-download-mobile {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
    animation: fadeInUp 0.5s ease-out 0.4s both;
}

.download-btn-mobile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-lg);
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: var(--green-200);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
}

.download-btn-mobile:hover,
.download-btn-mobile:active {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.5);
    color: var(--green-100);
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.2);
}

.download-icon-mobile {
    height: 22px;
    width: auto;
}

/* === Login Banner Content (desktop) === */
.banner-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 2rem;
}

.banner-logo {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 30px rgba(34, 197, 94, 0.2);
    margin-bottom: 1.25rem;
    animation: float 4s ease-in-out infinite;
}

.banner-title {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.banner-subtitle {
    margin: 0.5rem 0 0;
    font-size: 0.95rem;
    color: var(--text-gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 600;
}

/* === Login Layout flex direction for mobile === */
.login-layout {
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {
    .login-layout {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .banner-logo {
        width: 6rem;
        height: 6rem;
    }

    .banner-title {
        font-size: 2.4rem;
    }
}

/* ========================================
   DataTables — Dark Green Theme Override
======================================== */

/* Wrapper */
.dataTables_wrapper {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Table base */
table.dataTable {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
}

table.dataTable thead th,
table.dataTable thead td {
    background: rgba(34, 197, 94, 0.08) !important;
    color: var(--green-200) !important;
    border-bottom: 2px solid rgba(34, 197, 94, 0.2) !important;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.85rem 0.75rem !important;
    white-space: nowrap;
}

table.dataTable thead th:first-child {
    border-radius: var(--radius-sm) 0 0 0;
}

table.dataTable thead th:last-child {
    border-radius: 0 var(--radius-sm) 0 0;
}

/* Sorting icons */
table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc {
    background-image: none !important;
    position: relative;
    cursor: pointer;
}

table.dataTable thead .sorting::after,
table.dataTable thead .sorting_asc::after,
table.dataTable thead .sorting_desc::after {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
    font-size: 0.65rem;
    color: var(--green-400);
    opacity: 0.4;
}

table.dataTable thead .sorting::after {
    content: "\f0dc";
}

table.dataTable thead .sorting_asc::after {
    content: "\f0de";
    opacity: 1;
}

table.dataTable thead .sorting_desc::after {
    content: "\f0dd";
    opacity: 1;
}

/* Table body */
table.dataTable tbody td {
    padding: 0.75rem !important;
    border-bottom: 1px solid rgba(34, 197, 94, 0.08) !important;
    color: var(--text-secondary);
    background: transparent !important;
    transition: background var(--transition);
    vertical-align: middle;
}

table.dataTable tbody tr {
    background: transparent !important;
    transition: background var(--transition);
}

table.dataTable tbody tr:hover td {
    background: rgba(34, 197, 94, 0.04) !important;
}

table.dataTable tbody tr:nth-child(even) {
    background: rgba(34, 197, 94, 0.02) !important;
}

table.dataTable tbody tr:last-child td {
    border-bottom: none !important;
}

/* DataTables info, length, search */
.dataTables_length,
.dataTables_filter,
.dataTables_info {
    color: var(--text-muted) !important;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.dataTables_length select {
    min-height: 2.25rem !important;
    padding: 0.35rem 2rem 0.35rem 0.65rem !important;
    border-radius: 8px !important;
    font-size: 0.85rem;
}

.dataTables_filter input {
    min-height: 2.25rem !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 8px !important;
    font-size: 0.85rem;
    width: auto !important;
}

.dataTables_filter input:focus {
    border-color: var(--green-500);
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.12);
}

/* Pagination */
.dataTables_paginate {
    margin-top: 1rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.dataTables_paginate .paginate_button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.6rem !important;
    margin: 0.15rem !important;
    border: 1px solid transparent !important;
    border-radius: 10px !important;
    background: rgba(34, 197, 94, 0.06) !important;
    color: var(--text-secondary) !important;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.dataTables_paginate .paginate_button:hover {
    background: rgba(34, 197, 94, 0.15) !important;
    color: var(--green-100) !important;
    border-color: rgba(34, 197, 94, 0.2) !important;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.1);
}

.dataTables_paginate .paginate_button.current {
    background: linear-gradient(135deg, var(--green-600), var(--green-700)) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
    font-weight: 700;
}

.dataTables_paginate .paginate_button.current:hover {
    background: linear-gradient(135deg, var(--green-500), var(--green-600)) !important;
    color: #fff !important;
}

.dataTables_paginate .paginate_button.disabled {
    opacity: 0.3 !important;
    cursor: not-allowed;
    background: transparent !important;
}

.dataTables_paginate .paginate_button.disabled:hover {
    background: transparent !important;
    box-shadow: none;
}

/* Previous/Next */
.dataTables_paginate .paginate_button.previous,
.dataTables_paginate .paginate_button.next {
    font-size: 0.9rem;
}

/* Processing overlay */
.dataTables_processing {
    background: rgba(10, 31, 21, 0.9) !important;
    color: var(--green-300) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: var(--radius-md) !important;
    padding: 1rem 1.5rem !important;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    z-index: 10;
}

/* Empty table */
.dataTables_empty {
    color: var(--text-muted) !important;
    padding: 2rem !important;
    text-align: center;
    font-style: italic;
}

/* Responsive: scroll wrapper */
.dataTables_scrollBody {
    border-bottom: 1px solid rgba(34, 197, 94, 0.1);
}

/* ========================================
   SweetAlert2 — Dark Green Theme Override
======================================== */

/* Popup container */
.swal2-popup {
    background: linear-gradient(180deg, rgba(14, 38, 28, 0.98), rgba(8, 24, 16, 0.99)) !important;
    border: 1px solid var(--border-accent) !important;
    border-radius: var(--radius-xl) !important;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(34, 197, 94, 0.1) !important;
    color: var(--text-primary) !important;
    padding: 1.5rem 1.25rem 1.25rem !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Title */
.swal2-title {
    color: var(--text-gold) !important;
    font-family: 'Bai Jamjuree', 'Poppins', sans-serif !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    padding: 0.5rem 0 0 !important;
}

/* Content / HTML content */
.swal2-content,
.swal2-html-container {
    color: var(--text-secondary) !important;
    font-family: 'Bai Jamjuree', 'Poppins', sans-serif !important;
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
    padding: 0.5rem 0.5rem 0 !important;
}

/* Icons */
.swal2-icon {
    border-color: rgba(34, 197, 94, 0.2) !important;
    margin: 1rem auto 0.5rem !important;
}

.swal2-icon.swal2-success {
    border-color: rgba(34, 197, 94, 0.3) !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
    border-color: rgba(34, 197, 94, 0.25) !important;
}

.swal2-icon.swal2-success .swal2-success-line-tip,
.swal2-icon.swal2-success .swal2-success-line-long {
    background-color: var(--green-400) !important;
}

.swal2-icon.swal2-success .swal2-success-fix {
    background: transparent !important;
}

.swal2-icon.swal2-error {
    border-color: rgba(239, 68, 68, 0.3) !important;
}

.swal2-icon.swal2-error .swal2-x-mark-line-left,
.swal2-icon.swal2-error .swal2-x-mark-line-right {
    background-color: #ef4444 !important;
}

.swal2-icon.swal2-warning {
    border-color: rgba(251, 191, 36, 0.3) !important;
    color: #fbbf24 !important;
}

.swal2-icon.swal2-info {
    border-color: rgba(34, 197, 94, 0.3) !important;
    color: var(--green-400) !important;
}

.swal2-icon.swal2-question {
    border-color: rgba(34, 197, 94, 0.3) !important;
    color: var(--green-300) !important;
}

/* Buttons container */
.swal2-actions {
    margin-top: 1rem !important;
    gap: 0.5rem;
}

/* Confirm button */
.swal2-confirm {
    background: linear-gradient(135deg, var(--green-600), var(--green-700)) !important;
    border: none !important;
    border-radius: 999px !important;
    color: #fff !important;
    font-family: 'Bai Jamjuree', 'Poppins', sans-serif !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    padding: 0.7rem 1.75rem !important;
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.3) !important;
    transition: all var(--transition);
}

.swal2-confirm:hover {
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4), 0 0 30px rgba(34, 197, 94, 0.12) !important;
    transform: translateY(-1px);
}

.swal2-confirm:focus {
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2), 0 4px 16px rgba(22, 163, 74, 0.3) !important;
}

/* Cancel button */
.swal2-cancel {
    background: rgba(239, 68, 68, 0.12) !important;
    border: 1px solid rgba(239, 68, 68, 0.2) !important;
    border-radius: 999px !important;
    color: #fca5a5 !important;
    font-family: 'Bai Jamjuree', 'Poppins', sans-serif !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    padding: 0.7rem 1.75rem !important;
    transition: all var(--transition);
}

.swal2-cancel:hover {
    background: rgba(239, 68, 68, 0.2) !important;
    border-color: rgba(239, 68, 68, 0.35) !important;
    color: #fecaca !important;
}

/* Deny button */
.swal2-deny {
    background: rgba(251, 191, 36, 0.12) !important;
    border: 1px solid rgba(251, 191, 36, 0.2) !important;
    border-radius: 999px !important;
    color: #fde68a !important;
    font-family: 'Bai Jamjuree', 'Poppins', sans-serif !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    padding: 0.7rem 1.75rem !important;
    transition: all var(--transition);
}

/* Close button */
.swal2-close {
    color: var(--text-muted) !important;
    font-size: 1.5rem;
    transition: all var(--transition);
}

.swal2-close:hover {
    color: var(--green-300) !important;
    transform: rotate(90deg);
}

/* Footer */
.swal2-footer {
    border-top: 1px solid var(--border-subtle) !important;
    color: var(--text-muted) !important;
    font-size: 0.85rem !important;
    padding-top: 0.85rem !important;
}

.swal2-footer a {
    color: var(--green-300) !important;
}

/* Input fields inside swal */
.swal2-input,
.swal2-textarea,
.swal2-select {
    background: rgba(5, 46, 22, 0.4) !important;
    border: 1px solid rgba(34, 197, 94, 0.15) !important;
    border-radius: var(--radius-sm) !important;
    color: var(--green-50) !important;
    font-family: 'Bai Jamjuree', 'Poppins', sans-serif !important;
    transition: all var(--transition);
}

.swal2-input:focus,
.swal2-textarea:focus,
.swal2-select:focus {
    border-color: var(--green-500) !important;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15) !important;
}

.swal2-input::placeholder,
.swal2-textarea::placeholder {
    color: var(--text-muted) !important;
}

/* Validation message */
.swal2-validation-message {
    background: rgba(239, 68, 68, 0.1) !important;
    color: #fca5a5 !important;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
}

/* Timer progress bar */
.swal2-timer-progress-bar {
    background: var(--green-500) !important;
}

/* Backdrop */
.swal2-container {
    background: rgba(0, 0, 0, 0.55) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* Animation override */
.swal2-popup.swal2-show {
    animation: fadeInUp 0.3s ease-out !important;
}

/* Toast mode */
.swal2-popup.swal2-toast {
    background: rgba(14, 38, 28, 0.96) !important;
    border-radius: var(--radius-md) !important;
    padding: 0.75rem 1rem !important;
    box-shadow: var(--shadow-md) !important;
}

.swal2-popup.swal2-toast .swal2-title {
    font-size: 0.9rem !important;
    margin: 0 0.5rem !important;
    padding: 0 !important;
}

/* Legacy sweetalert (swal v1 used in this project) */
.sweet-alert,
.sweet-overlay + .sweet-alert {
    background: linear-gradient(180deg, rgba(14, 38, 28, 0.98), rgba(8, 24, 16, 0.99)) !important;
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-xl) !important;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(34, 197, 94, 0.1) !important;
    color: var(--text-primary);
    font-family: 'Bai Jamjuree', 'Poppins', sans-serif;
}

.sweet-alert h2 {
    color: var(--text-gold) !important;
    font-weight: 700;
}

.sweet-alert p {
    color: var(--text-secondary) !important;
    font-size: 0.95rem;
    line-height: 1.7;
}

.sweet-alert .sa-button-container .confirm {
    background: linear-gradient(135deg, var(--green-600), var(--green-700)) !important;
    border: none !important;
    border-radius: 999px !important;
    color: #fff !important;
    font-weight: 700 !important;
    padding: 0.65rem 1.5rem !important;
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.3) !important;
}

.sweet-alert .sa-button-container .cancel {
    background: rgba(239, 68, 68, 0.12) !important;
    border: 1px solid rgba(239, 68, 68, 0.2) !important;
    border-radius: 999px !important;
    color: #fca5a5 !important;
}

.sweet-alert .sa-icon.sa-success .sa-line {
    background-color: var(--green-400) !important;
}

.sweet-alert .sa-icon.sa-success .sa-placeholder {
    border-color: rgba(34, 197, 94, 0.25) !important;
}

.sweet-alert .sa-icon.sa-error .sa-line {
    background-color: #ef4444 !important;
}

.sweet-alert .sa-icon.sa-error {
    border-color: rgba(239, 68, 68, 0.3) !important;
}

.sweet-overlay {
    background: rgba(0, 0, 0, 0.55) !important;
}

.account-box-old {
    padding: 20px;
}