/* ========================================================
   ADAMINVEST AUTHENTICATION & BOT GUARD STYLES
   3D Dark Luxury Gold Aesthetic
   ======================================================== */

/* --- NAVBAR AUTH WIDGET --- */
.nav-auth-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-nav-auth {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #ECC765;
    background: rgba(229, 184, 66, 0.08);
    border: 1px solid rgba(229, 184, 66, 0.35);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    font-family: inherit;
    white-space: nowrap;
}
.btn-nav-auth:hover {
    background: rgba(229, 184, 66, 0.18);
    border-color: #ECC765;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 184, 66, 0.25);
    color: #FFFFFF;
}

.nav-auth-short {
    display: none;
}
.nav-auth-full {
    display: inline;
}

@media (max-width: 768px) {
    .nav-auth-full {
        display: none !important;
    }
    .nav-auth-short {
        display: inline !important;
    }
    .btn-nav-auth {
        padding: 6px 10px !important;
        font-size: 0.78rem !important;
        border-radius: 8px !important;
        white-space: nowrap !important;
        gap: 4px !important;
        flex-shrink: 0 !important;
    }
    .btn-nav-auth svg {
        width: 14px !important;
        height: 14px !important;
    }
}

.nav-user-profile {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.user-badge-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    background: rgba(18, 18, 26, 0.85);
    border: 1px solid rgba(229, 184, 66, 0.35);
    font-size: 0.85rem;
    font-weight: 700;
    color: #ECC765;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.status-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 8px #10B981;
    animation: statusBlink 1.8s infinite ease-in-out;
}
@keyframes statusBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.btn-nav-logout {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #F87171;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.28);
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
}
.btn-nav-logout:hover {
    background: rgba(239, 68, 68, 0.22);
    border-color: #EF4444;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.25);
}

/* --- BOT GUARD BANNER --- */
.bot-guard-banner {
    position: relative;
    z-index: 10;
    margin: 30px auto 40px;
}
.guard-banner-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 32px;
    background: linear-gradient(135deg, rgba(22, 22, 32, 0.95) 0%, rgba(14, 14, 20, 0.98) 100%);
    border: 1px solid rgba(229, 184, 66, 0.4);
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(229, 184, 66, 0.12);
    backdrop-filter: blur(16px);
}
.guard-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(229, 184, 66, 0.2) 0%, rgba(229, 184, 66, 0.05) 100%);
    border: 1px solid rgba(229, 184, 66, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(229, 184, 66, 0.2);
}
.guard-info {
    flex: 1;
}
.guard-info h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.guard-badge {
    font-size: 0.72rem;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(229, 184, 66, 0.15);
    border: 1px solid rgba(229, 184, 66, 0.4);
    color: #ECC765;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.guard-info p {
    font-size: 0.92rem;
    color: #D1D5DB;
    line-height: 1.5;
    margin: 0;
}
.btn-guard-auth {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ECC765 0%, #FDF0CD 50%, #C99726 100%);
    color: #0A0A0E;
    font-size: 0.95rem;
    font-weight: 800;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(201, 151, 38, 0.45);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    font-family: inherit;
    flex-shrink: 0;
}
.btn-guard-auth:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 35px rgba(201, 151, 38, 0.65);
}

/* --- AUTH MODAL (DARK LUXURY GOLD 3D) --- */
.bot-auth-modal {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 8, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 20px;
    box-sizing: border-box;
}
.bot-auth-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.auth-modal-dialog {
    width: 100%;
    max-width: 440px;
    background: linear-gradient(150deg, #14151F 0%, #0A0B10 100%);
    border: 1px solid rgba(229, 184, 66, 0.4);
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 50px rgba(229, 184, 66, 0.18);
    padding: 34px 30px;
    position: relative;
    transform: translateY(20px) scale(0.96);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}
.bot-auth-modal.active .auth-modal-dialog {
    transform: translateY(0) scale(1);
}

.auth-modal-close {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #D1D5DB;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}
.auth-modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
    color: #FFFFFF;
    transform: rotate(90deg);
}

.auth-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 30px;
    background: rgba(229, 184, 66, 0.1);
    border: 1px solid rgba(229, 184, 66, 0.35);
    color: #ECC765;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.auth-modal-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 6px;
    line-height: 1.25;
}
.auth-modal-sub {
    font-size: 0.88rem;
    color: #D1D5DB;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 22px;
}

/* Tabs */
.auth-tabs-nav {
    display: flex;
    gap: 6px;
    padding: 5px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 22px;
}
.auth-tab-btn {
    flex: 1;
    padding: 11px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #D1D5DB;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.auth-tab-btn.active {
    background: linear-gradient(135deg, #ECC765 0%, #C99726 100%);
    color: #0A0A0E;
    box-shadow: 0 4px 18px rgba(201, 151, 38, 0.4);
}

/* Form Styles */
.auth-form-pane {
    display: none;
}
.auth-form-pane.active {
    display: block;
    animation: authFadeIn 0.3s ease;
}
@keyframes authFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-field {
    margin-bottom: 16px;
}
.auth-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #D1D5DB;
    margin-bottom: 6px;
}
.auth-input-box {
    position: relative;
    display: flex;
    align-items: center;
}
.auth-input-box input {
    width: 100%;
    padding: 13px 16px;
    padding-right: 44px;
    border-radius: 12px;
    background: rgba(18, 19, 28, 0.85);
    border: 1px solid rgba(229, 184, 66, 0.25);
    color: #FFFFFF;
    font-size: 0.92rem;
    outline: none;
    box-sizing: border-box;
    font-family: inherit;
    transition: all 0.25s ease;
}
.auth-input-box input:focus {
    border-color: #ECC765;
    box-shadow: 0 0 15px rgba(229, 184, 66, 0.28);
    background: rgba(24, 25, 38, 0.95);
}
.auth-input-box input::placeholder {
    color: #D1D5DB;
}
.auth-eye-btn {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: #D1D5DB;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.auth-eye-btn:hover {
    color: #ECC765;
}

.auth-alert-box {
    display: none;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    line-height: 1.45;
    margin-bottom: 16px;
}
.auth-alert-error {
    background: rgba(239, 68, 68, 0.14);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #FCA5A5;
}
.auth-alert-success {
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #6EE7B7;
}

.auth-submit-btn {
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ECC765 0%, #FDF0CD 50%, #C99726 100%);
    color: #0A0A0E;
    font-size: 1rem;
    font-weight: 800;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(201, 151, 38, 0.45);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(201, 151, 38, 0.65);
}

.auth-demo-hint {
    margin-top: 18px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(229, 184, 66, 0.28);
    font-size: 0.8rem;
    color: #D1D5DB;
    text-align: center;
}
.auth-demo-hint strong {
    color: #ECC765;
    cursor: pointer;
    text-decoration: underline;
}

/* OTP Step */
.otp-card-inner {
    text-align: center;
    padding: 10px 0;
}
.otp-email-target {
    color: #ECC765;
    font-weight: 700;
    word-break: break-all;
}
.otp-code-input-group {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
}
.otp-digit {
    width: 48px;
    height: 54px;
    border-radius: 10px;
    background: rgba(18, 19, 28, 0.9);
    border: 1.5px solid rgba(229, 184, 66, 0.35);
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
    outline: none;
    transition: all 0.2s ease;
    font-family: monospace;
}
.otp-digit:focus {
    border-color: #ECC765;
    box-shadow: 0 0 15px rgba(229, 184, 66, 0.4);
    background: rgba(24, 25, 38, 1);
}
.otp-resend-text {
    font-size: 0.82rem;
    color: #D1D5DB;
    margin-top: 14px;
}
.otp-resend-btn {
    background: none;
    border: none;
    color: #ECC765;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    font-family: inherit;
    padding: 0;
}

/* ========================================================
   SIGNAL TEASER & VIP PHÍM LỆNH STYLES
   ======================================================== */
.signal-teaser-section {
    position: relative;
    padding: 70px 0;
    background: radial-gradient(circle at 50% 20%, rgba(229, 184, 66, 0.05) 0%, transparent 60%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.signal-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 30px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34D399;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 10px #10B981;
    animation: livePulse 1.5s infinite;
}
@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.85); }
}

.signal-stats-summary {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 25px 0 35px;
    flex-wrap: wrap;
}
.stat-pill {
    background: rgba(18, 19, 28, 0.7);
    border: 1px solid rgba(229, 184, 66, 0.2);
    border-radius: 12px;
    padding: 10px 22px;
    text-align: center;
}
.stat-pill .num {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ECC765;
    display: block;
}
.stat-pill .label {
    font-size: 0.78rem;
    color: #D1D5DB;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.signal-table-wrapper {
    background: linear-gradient(145deg, rgba(20, 21, 31, 0.95) 0%, rgba(11, 12, 18, 0.98) 100%);
    border: 1px solid rgba(229, 184, 66, 0.35);
    border-radius: 20px;
    overflow-x: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    -webkit-overflow-scrolling: touch !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(229, 184, 66, 0.1);
    margin-bottom: 25px;
}

.signal-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.signal-table th {
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #D1D5DB;
    font-weight: 700;
}
.signal-table td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.92rem;
    color: #E5E7EB;
    vertical-align: middle;
}
.signal-table tr:last-child td {
    border-bottom: none;
}
.signal-row {
    transition: background 0.2s ease;
}
.signal-row:hover {
    background: rgba(229, 184, 66, 0.04);
}

.pair-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 0.98rem;
    color: #FFFFFF;
}
.pair-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
}
.pair-gold { background: rgba(229, 184, 66, 0.2); color: #ECC765; border: 1px solid rgba(229, 184, 66, 0.4); }
.pair-btc { background: rgba(247, 147, 26, 0.2); color: #F7931A; border: 1px solid rgba(247, 147, 26, 0.4); }
.pair-fx { background: rgba(59, 130, 246, 0.2); color: #60A5FA; border: 1px solid rgba(59, 130, 246, 0.4); }

.type-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}
.type-buy { background: rgba(16, 185, 129, 0.15); color: #34D399; border: 1px solid rgba(16, 185, 129, 0.3); }
.type-sell { background: rgba(239, 68, 68, 0.15); color: #F87171; border: 1px solid rgba(239, 68, 68, 0.3); }

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}
.status-tp { background: rgba(16, 185, 129, 0.15); color: #34D399; border: 1px solid rgba(16, 185, 129, 0.35); }
.status-running {
    background: rgba(245, 158, 11, 0.15);
    color: #FBBF24;
    border: 1px solid rgba(245, 158, 11, 0.4);
    animation: hotGlow 1.5s infinite alternate;
}
@keyframes hotGlow {
    from { box-shadow: 0 0 5px rgba(245, 158, 11, 0.2); }
    to { box-shadow: 0 0 15px rgba(245, 158, 11, 0.5); }
}

/* BLUR EFFECT FOR LOCKED SIGNALS */
.signal-locked-row {
    position: relative;
    cursor: pointer;
}
.signal-locked-row:hover {
    background: rgba(229, 184, 66, 0.08);
}
.signal-blur-val {
    display: inline-block;
    transition: filter 0.3s ease;
}
body:not(.user-authenticated) .signal-locked-row .signal-blur-val {
    filter: blur(6px);
    user-select: none;
    -webkit-user-select: none;
    opacity: 0.6;
}
body.user-authenticated .signal-locked-row .signal-blur-val {
    filter: none !important;
    opacity: 1 !important;
    color: #ECC765;
    font-weight: 700;
}

.signal-lock-overlay-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(229, 184, 66, 0.2) 0%, rgba(229, 184, 66, 0.08) 100%);
    border: 1px solid rgba(229, 184, 66, 0.45);
    color: #ECC765;
    font-size: 0.84rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.25s ease;
}
.signal-lock-overlay-btn:hover {
    background: linear-gradient(135deg, #ECC765 0%, #C99726 100%);
    color: #0A0A0E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 184, 66, 0.4);
}

body.user-authenticated .signal-lock-overlay-btn {
    display: none !important;
}

.signal-unlocked-tag {
    display: none;
    padding: 5px 12px;
    border-radius: 6px;
    background: rgba(16, 185, 129, 0.15);
    color: #34D399;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(16, 185, 129, 0.3);
}
body.user-authenticated .signal-unlocked-tag {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
}

/* VIP GROUP ACCESS BANNER */
.signal-cta-box {
    margin-top: 25px;
    padding: 24px 30px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(22, 23, 34, 0.9) 0%, rgba(14, 15, 22, 0.95) 100%);
    border: 1px solid rgba(229, 184, 66, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.signal-cta-info h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 6px;
}
.signal-cta-info p {
    font-size: 0.9rem;
    color: #D1D5DB;
    margin: 0;
}
.signal-cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ========================================================
   REBATE CALCULATOR (MÁY TÍNH HOÀN PHÍ BACKCOM EXNESS)
   ======================================================== */
.rebate-calc-section {
    position: relative;
    padding: 75px 0;
    background: rgba(10, 10, 14, 0.45);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.calc-card-container {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(150deg, #151622 0%, #0C0D13 100%);
    border: 1px solid rgba(229, 184, 66, 0.4);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(229, 184, 66, 0.12);
}

.calc-type-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}
.btn-calc-type {
    padding: 10px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #D1D5DB;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-calc-type.active {
    background: rgba(229, 184, 66, 0.15);
    border-color: #ECC765;
    color: #ECC765;
    box-shadow: 0 4px 15px rgba(229, 184, 66, 0.2);
}

.slider-wrapper {
    margin-bottom: 35px;
}
.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 15px;
}
.slider-title {
    font-size: 1rem;
    font-weight: 700;
    color: #E5E7EB;
}
.slider-val-box {
    font-size: 1.8rem;
    font-weight: 900;
    color: #ECC765;
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.slider-val-box small {
    font-size: 0.95rem;
    color: #D1D5DB;
    font-weight: 600;
}

.custom-range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: #1F2937;
    outline: none;
    cursor: pointer;
    transition: background 0.2s;
}
.custom-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ECC765 0%, #C99726 100%);
    cursor: pointer;
    box-shadow: 0 0 15px rgba(229, 184, 66, 0.8);
    border: 2px solid #FFFFFF;
}
.custom-range-slider::-moz-range-thumb {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ECC765 0%, #C99726 100%);
    cursor: pointer;
    box-shadow: 0 0 15px rgba(229, 184, 66, 0.8);
    border: 2px solid #FFFFFF;
}

.slider-ticks {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 0.78rem;
    color: #D1D5DB;
    font-weight: 600;
}

/* RESULTS GRID */
.calc-results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}
.result-card {
    background: rgba(18, 19, 28, 0.85);
    border: 1px solid rgba(229, 184, 66, 0.25);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.result-card-highlight {
    border-color: rgba(229, 184, 66, 0.55);
    box-shadow: 0 10px 30px rgba(229, 184, 66, 0.15);
    background: linear-gradient(145deg, rgba(28, 29, 42, 0.9) 0%, rgba(18, 19, 28, 0.95) 100%);
}
.result-label {
    font-size: 0.85rem;
    color: #D1D5DB;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.result-usd {
    font-size: 2.2rem;
    font-weight: 900;
    color: #ECC765;
    line-height: 1.1;
    margin-bottom: 6px;
}
.result-vnd {
    font-size: 0.95rem;
    color: #34D399;
    font-weight: 700;
}

.calc-alert-box {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 25px;
}
.calc-alert-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}
.calc-alert-text {
    font-size: 0.88rem;
    color: #FCA5A5;
    line-height: 1.5;
}

.calc-cta-btn {
    width: 100%;
    padding: 16px 28px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ECC765 0%, #FDF0CD 50%, #C99726 100%);
    color: #0A0A0E;
    font-size: 1.05rem;
    font-weight: 800;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(201, 151, 38, 0.45);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
    text-decoration: none;
}
.calc-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(201, 151, 38, 0.65);
    color: #0A0A0E;
}

/* LOGGED IN MEMBER BACKCOM BOX */
.member-backcom-box {
    display: none;
    margin-top: 25px;
    padding: 22px;
    border-radius: 16px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.3);
    text-align: center;
}
body.user-authenticated .member-backcom-box {
    display: block !important;
}
body.user-authenticated .calc-cta-btn.not-auth-only {
    display: none !important;
}
.member-uid-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 440px;
    margin: 15px auto 0;
}
.member-uid-input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(18, 19, 28, 0.9);
    border: 1px solid rgba(229, 184, 66, 0.3);
    color: #FFFFFF;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
}
.member-uid-btn {
    padding: 12px 20px;
    border-radius: 10px;
    background: #10B981;
    color: #FFFFFF;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}
.member-uid-btn:hover {
    background: #059669;
}

@media (max-width: 992px) {
    .guard-banner-card {
        flex-direction: column !important;
        text-align: center !important;
        padding: 22px 18px !important;
        gap: 18px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .guard-info h4 {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
    .guard-action {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }
    .btn-guard-auth {
        width: 100% !important;
        max-width: 340px !important;
        justify-content: center !important;
        margin: 0 auto !important;
        padding: 13px 20px !important;
    }
    .signal-table-wrapper, .account-table-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
}

@media (max-width: 768px) {
    .calc-card-container {
        padding: 24px 18px;
    }
    .calc-results-grid {
        grid-template-columns: 1fr;
    }
    .signal-cta-box {
        flex-direction: column;
        text-align: center;
    }
    .signal-cta-actions {
        width: 100%;
        justify-content: center;
    }
    .signal-table-wrapper, .account-table-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .signal-table th, .signal-table td,
    .account-table th, .account-table td {
        padding: 10px 12px;
        white-space: nowrap;
    }
    .bot-guard-banner {
        margin: 20px auto 30px;
    }
    .guard-banner-card {
        flex-direction: column !important;
        text-align: center !important;
        padding: 18px 14px !important;
        gap: 14px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .guard-info h4 {
        justify-content: center !important;
        flex-wrap: wrap !important;
        font-size: 1.05rem !important;
    }
    .guard-action {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }
    .btn-guard-auth {
        width: 100% !important;
        max-width: 320px !important;
        justify-content: center !important;
        font-size: 0.88rem !important;
        padding: 12px 18px !important;
    }
    .auth-modal-dialog,
    .bot-modal-card {
        padding: 24px 18px !important;
        max-width: 95vw !important;
        border-radius: 20px !important;
        max-height: 92vh !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .otp-digit {
        width: 40px;
        height: 48px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .auth-modal-close {
        top: 12px !important;
        right: 12px !important;
        width: 30px !important;
        height: 30px !important;
        font-size: 1.25rem !important;
        z-index: 10 !important;
    }
    .auth-modal-badge {
        font-size: 0.7rem !important;
        padding: 5px 12px !important;
        margin-bottom: 10px !important;
        max-width: calc(100% - 44px) !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .auth-modal-dialog,
    .bot-modal-card {
        padding: 20px 14px !important;
        border-radius: 16px !important;
    }
    .auth-modal-title {
        font-size: 1.22rem !important;
        margin-bottom: 4px !important;
    }
    .auth-modal-sub {
        font-size: 0.78rem !important;
        margin-bottom: 14px !important;
    }
    .auth-tabs-nav {
        margin-bottom: 14px !important;
    }
    .auth-tab-btn {
        padding: 8px 12px !important;
        font-size: 0.82rem !important;
    }
    .auth-field {
        margin-bottom: 11px !important;
    }
    .auth-field label {
        font-size: 0.78rem !important;
        margin-bottom: 4px !important;
    }
    .auth-input-box input {
        padding: 10px 12px !important;
        font-size: 0.86rem !important;
        border-radius: 10px !important;
    }
    .auth-submit-btn {
        padding: 12px 16px !important;
        font-size: 0.88rem !important;
        border-radius: 10px !important;
        margin-top: 6px !important;
    }
}

/* ==================================================
   HIDE "POWERED BY NETLIFY" FLOATING BADGE & DRAWER
   ================================================== */
#netlify-badge,
.netlify-badge,
[id*="netlify-badge"],
[class*="netlify-badge"],
#netlify-drawer-container,
[data-netlify-drawer],
[data-netlify-feedback],
iframe[src*="netlify"],
div[id^="netlify"],
div[class*="netlify"],
.netlify-feedback,
a[href*="netlify.com"][style*="fixed"],
a[href*="netlify.com"][style*="absolute"],
a[href*="netlify.com"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    z-index: -9999 !important;
}

/* Enhanced Mobile Toggle Hit Area */
.mobile-toggle {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}
.mobile-toggle span {
    pointer-events: none;
}
