/* --- PREMIUM TRADE LIGHT THEME --- */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;800&family=Outfit:wght@400;600;700;800&display=swap");

/* Custom Scrollbar Global */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #c4c4c4;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-card: #ffffff;
    --bg-sidebar: #ffffff;
    
    --text-primary: #000676;  /* Deep Navy */
    --text-secondary: #4a5568;
    --text-light: #6B7280;
    
    --accent: #FF9900;
    --accent-hover: #e68a00;
    --color-green: #FF9900;
    --color-red: #FF3B30;
    --color-blue: #0575E6;
    --navy-bg: #000676;
    
    --sidebar-width: 260px;
    --border-color: rgba(0, 10, 42, 0.08);
    --shadow-soft: 0 4px 20px rgba(0, 10, 42, 0.08);
    --shadow-hover: 0 10px 30px rgba(0, 10, 42, 0.15);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: var(--bg-primary) !important;
}

/* Remove dark background overlays */
body::before {
    display: none !important;
}

body::after {
    display: none !important;
}

/* Fix Bootstrap Navbar Collapse Conflict */
.navbar-collapse.collapse {
    visibility: visible !important;
}

/* Elevate main content */
.main-content, .navbar, .chat-widget-btn, .sidebar {
    position: relative;
    z-index: 10;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
}

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

.wave { display: none !important; }

a { text-decoration: none; color: inherit; transition: 0.2s; }
ul { list-style: none; padding: 0; margin: 0; }

/* --- MAIN CONTENT WRAPPER --- */
.main-content {
    margin: 0 auto !important;
    padding: 100px 30px 30px 30px !important;
    min-height: 100vh;
    background: var(--bg-primary);
}

a { text-decoration: none; color: inherit; transition: 0.2s; }
ul { list-style: none; padding: 0; margin: 0; }

/* --- SIDEBAR (hidden in current layout but kept for compat) --- */
.sidebar {
    position: fixed;
    top: 0; left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background-color: var(--bg-primary);
    border-right: 1px solid var(--border-color);
    padding: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease-in-out;
}

.nav-item { margin-bottom: 8px; }

.nav-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.nav-link i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(255, 153, 0, 0.05);
    color: var(--text-primary);
    transform: translateX(3px);
}

.nav-link.active {
    background: rgba(255, 153, 0, 0.08);
    color: var(--accent);
    font-weight: 600;
    border: 1px solid rgba(255, 153, 0, 0.15);
}

.nav-link.active .arrow-icon {
    opacity: 1;
    transform: translateX(0);
}

.nav-link.admin-link { color: var(--color-red); }
.nav-link.admin-link:hover { background-color: rgba(239, 68, 68, 0.05); color: #ff6b6b; }

/* --- CARDS & UI --- */
.card, .glass-panel, .glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 24px;
    transition: all 0.3s ease;
}
.card:hover, .glass-panel:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.light-card {
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    padding: 2rem;
}
.light-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-header {
    background: transparent;
    border-bottom: 1px solid var(--border-color);
    padding: 20px 24px;
    font-weight: 600;
    color: var(--text-primary);
}

.card-body { padding: 24px; }

/* --- BUTTONS --- */
.btn {
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 500;
    box-shadow: none !important;
}

.btn-primary-custom {
    background-color: var(--accent);
    color: #fff !important;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3) !important;
}
.btn-primary-custom:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.4) !important;
}

.btn-primary {
    background: var(--accent);
    border: none;
    color: #fff;
}
.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3) !important;
}

.btn-outline-primary {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}
.btn-outline-primary:hover {
    background-color: var(--accent);
    color: #fff;
}

.btn-outline-navy {
    color: var(--text-primary) !important;
    border: 1px solid var(--text-primary);
    transition: all 0.3s ease;
}
.btn-outline-navy:hover {
    background: var(--text-primary);
    color: #ffffff !important;
}

.btn-danger {
    background-color: var(--color-red);
    border-color: var(--color-red);
}

/* --- FORMS --- */
.form-control {
    background-color: #ffffff;
    border: 1px solid rgba(0, 10, 42, 0.15);
    color: var(--text-primary);
    border-radius: 10px;
    padding: 12px;
}
.form-control:focus {
    background-color: #ffffff;
    border-color: var(--accent);
    color: var(--text-primary);
    box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.1);
}
.form-control::placeholder {
    color: var(--text-light);
}
.form-select {
    background-color: #ffffff;
    border: 1px solid rgba(0, 10, 42, 0.15);
    color: var(--text-primary);
    border-radius: 10px;
}

/* --- RESPONSIVE --- */


/* --- UTILS --- */
.text-green { color: var(--accent) !important; }
.text-red { color: var(--color-red) !important; }
.bg-green-soft { background-color: rgba(255, 153, 0, 0.08); color: var(--accent); padding: 4px 10px; border-radius: 20px; font-size: 0.85rem; border: 1px solid rgba(255, 153, 0, 0.15); }

.fade-in { animation: fadeIn 0.4s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* --- UPLOAD ZONE --- */
#drop-zone {
    background: var(--bg-secondary) !important;
    border: 2px dashed rgba(0, 10, 42, 0.15) !important;
    transition: all 0.3s ease;
}
#drop-zone:hover, #drop-zone.drag-active {
    background: rgba(255, 153, 0, 0.03) !important;
    border-color: var(--accent) !important;
}
#drop-zone i { color: var(--text-secondary); transition: all 0.3s ease; }
#drop-zone:hover i { color: var(--accent); transform: scale(1.1); }

/* --- INSTRUMENT CHIPS --- */
.instrument-chip {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}
.instrument-chip:hover {
    border-color: var(--accent);
    color: var(--text-primary);
    background: rgba(255, 153, 0, 0.05);
    transform: translateY(-2px);
}
.instrument-chip.active {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(255, 153, 0, 0.1);
    font-weight: 700;
}

/* Override Bootstrap success to accent */
.text-success { color: var(--accent) !important; }
.bg-success { background-color: var(--accent) !important; color: #fff !important; }
.btn-success { background-color: var(--accent) !important; border-color: var(--accent) !important; color: #fff !important; font-weight: 600; }
.btn-success:hover { background-color: var(--accent-hover) !important; }

/* Override bg-dark for light theme */
.bg-dark { background-color: var(--bg-secondary) !important; }
.bg-dark-subtle { background-color: var(--bg-secondary) !important; }

/* Dropdown Menu Light */
.dropdown-menu {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-hover);
}
.dropdown-item { color: var(--text-primary); }
.dropdown-item:hover { background-color: rgba(255, 153, 0, 0.05); color: var(--text-primary); }
.dropdown-divider { border-top-color: var(--border-color); }

/* --- COLLAPSED SIDEBAR --- */
.sidebar.collapsed {
    width: 80px;
}

.sidebar.collapsed .sidebar-brand {
    margin-bottom: 20px;
    padding: 0;
    justify-content: center;
}

/* Sidebar kichraytirilganda logo moslashuvi */
.sidebar.collapsed .sidebar-logo {
    max-height: 35px;
    max-width: 100%;
    object-fit: contain;
}

.sidebar.collapsed .nav-link {
    justify-content: center;
    padding: 12px 0;
}

/* Sidebar kichraytirilganda ikonka markazlashuvi */
.sidebar.collapsed .nav-link > div {
    justify-content: center;
}

.sidebar.collapsed .nav-link span {
    display: none;
}

.sidebar.collapsed .nav-link i {
    margin-right: 0;
    font-size: 1.25rem;
}

.sidebar-toggle-bottom {
    margin-top: auto;
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.sidebar-toggle-bottom:hover {
    color: var(--color-green);
    background: rgba(255, 255, 255, 0.02);
}

.sidebar-toggle-bottom i {
    font-size: 1.2rem;
    transition: transform 0.3s ease-in-out;
}

.sidebar.collapsed .sidebar-toggle-bottom i {
    transform: rotate(180deg); /* Rotate Arrow */
}

.sidebar.collapsed .sidebar-footer .d-flex.justify-content-center.gap-3,
.sidebar.collapsed .sidebar-footer .d-flex.align-items-center.justify-content-between {
    display: none !important;
}

.sidebar.collapsed .user-profile {
    justify-content: center;
    padding: 10px 0;
}

.sidebar.collapsed .user-profile .d-flex,
.sidebar.collapsed .user-profile i.fa-chevron-down {
    display: none !important;
}

/* --- CHAT WIDGET --- */
.chat-widget-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1050;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    color: white;
    font-size: 24px;
}
.chat-widget-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.5);
}

.chat-widget-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    height: 600px;
    max-height: 80vh;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: var(--shadow-hover);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transform-origin: bottom right;
    transform: scale(0);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}
.chat-widget-window.active {
    transform: scale(1);
    opacity: 1;
    pointer-events: all;
}

.chat-header {
    background: var(--navy-bg);
    padding: 20px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background-color: #f8f9fa;
    scroll-behavior: smooth;
}

.chat-footer {
    padding: 15px;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
}

.chat-input {
    background: var(--bg-secondary);
    border: 1px solid #4B5563;
    border-radius: 25px;
    padding: 12px 20px;
    width: 100%;
    outline: none;
    transition: border-color 0.2s;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}
.chat-input:focus { border-color: var(--accent); }

/* Typing Indicator */
.typing-dot {
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
    margin: 0 2px;
}
.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }
@keyframes typing {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Text helpers */
.text-muted { color: var(--text-secondary) !important; }
.text-neon-green, .neon-text { color: var(--accent) !important; }

/* Navbar link styles (inside header) */
.navbar-nav .nav-link {
    border-radius: 10px;
    padding: 8px 15px;
    color: rgba(255,255,255,0.8);
    transition: all 0.3s ease;
}
.navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}
.navbar-nav .nav-link i { color: #FFFFFF !important; }
.navbar-nav .nav-link.active {
    background: rgba(255, 153, 0, 0.15) !important;
    color: #FFFFFF !important;
    border: 1px solid var(--accent) !important;
}
.navbar-nav .nav-link.active i { color: #FFFFFF !important; }
/* --- STYLES FOR BALANCE.PHP --- */
.balance-page-wrapper { min-height: 85vh; display: flex; align-items: center; padding: 40px 0; }
.balance-label { color: var(--text-secondary); font-size: 1rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
.balance-amount { font-size: 4rem; font-weight: 800; color: var(--accent); margin-bottom: 40px; }
.account-info-box { background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 20px; padding: 25px; margin-bottom: 40px; }
.info-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.info-row:last-child { margin-bottom: 0; }
.info-title { color: var(--text-light); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; }
.info-data { color: var(--text-primary); font-size: 1.1rem; font-weight: 700; }
.neon-text-green { color: var(--accent) !important; }
.btn-topup { background: transparent; border: 2px solid var(--accent); color: var(--accent); padding: 18px 40px; border-radius: 15px; font-weight: 700; font-size: 1.1rem; width: 100%; transition: all 0.3s; text-decoration: none; display: block; }
.btn-topup:hover { background: var(--accent); color: #fff; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(255,153,0,0.3); }
.instruction-text { margin-top: 25px; color: var(--text-secondary); font-size: 0.85rem; line-height: 1.6; }
.instruction-text b { color: var(--text-primary); }
.animate-up { animation: fadeInUp 0.8s ease-out; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }


/* --- STYLES FOR DASHBOARD.PHP --- */


/* Dashboard Specific Tailwind scrollbar */
.custom-scrollbar::-webkit-scrollbar { width: 6px; }
.custom-scrollbar::-webkit-scrollbar-track { background: transparent; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: #FF9D00; border-radius: 10px; opacity: 0.5; }


/* --- STYLES FOR AI-ANALYST.PHP --- */


  .lift-on-hover:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
  .animate-up { animation: bounceUp 2s infinite; }
  .animate-down { animation: bounceDown 2s infinite; }
  @keyframes bounceUp { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
  @keyframes bounceDown { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(10px); } }
  .scanner-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(56, 189, 248, 0.2), transparent);
    animation: scan 1.5s infinite; pointer-events: none; z-index: 10;
  }


/* --- STYLES FOR AI-MENTOR.PHP --- */


  /* Gradient matn uchun */
  .text-gradient {
    background: linear-gradient(135deg, #FF9D00 0%, #0575E6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
  }
  
  /* Scrollbar */
  #chat-box::-webkit-scrollbar { width: 6px; }
  #chat-box::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
  
  /* Fade animatsiya */
  .fade-in { animation: fadeIn 0.4s ease-out; }
  @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }


/* --- STYLES FOR BROKERS.PHP --- */


  .hover-lift { transition: transform 0.2s; }
  .hover-lift:hover { transform: translateY(-5px); }


/* --- STYLES FOR SUBSCRIPTION.PHP --- */
.page-title { font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: var(--text-primary); margin-bottom: 10px; }
.neon-border { border: 2px solid var(--accent) !important; box-shadow: 0 4px 20px rgba(255,153,0,0.1); }

/* SUB CARDS */
.sub-card { height: 100%; display: flex; flex-direction: column; padding: 2rem; position: relative; overflow: hidden; }
.sub-card:hover { transform: translateY(-5px); }
.sub-price { font-size: 3.5rem; font-weight: 700; line-height: 1; margin: 1.5rem 0; color: var(--text-primary); }
.sub-price span { font-size: 1.2rem; font-weight: 400; opacity: 0.7; }
.feature-list li { margin-bottom: 1rem; display: flex; align-items: center; color: var(--text-secondary); }
.feature-list i { margin-right: 12px; width: 20px; text-align: center; }

/* BADGES */
.badge-neon { background: var(--accent); color: #fff; font-weight: 800; padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; }
.badge-popular { position: absolute; top: 20px; right: -35px; background: var(--accent); color: #fff; font-weight: bold; padding: 5px 40px; transform: rotate(45deg); z-index: 2; }

/* BUTTONS */
.btn-neon-outline { background: transparent; border: 2px solid var(--border-color); color: var(--text-primary); border-radius: 50px; padding: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s; width: 100%; }
.btn-neon-outline:hover { border-color: var(--accent); color: var(--accent); background: rgba(255,153,0,0.05); }
.btn-neon-fill { background: var(--accent); border: 2px solid var(--accent); color: #fff; border-radius: 50px; padding: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; width: 100%; box-shadow: 0 4px 15px rgba(255,153,0,0.3); transition: all 0.3s; }
.btn-neon-fill:hover { background: var(--accent-hover); box-shadow: 0 6px 20px rgba(255,153,0,0.4); transform: translateY(-2px); }

/* MODAL */
.modal-content.glass-modal { background: #ffffff; border: 1px solid var(--border-color); border-radius: 20px; color: var(--text-primary); }
.modal-header { border-bottom: 1px solid var(--border-color); }
.modal-footer { border-top: 1px solid var(--border-color); }



/* --- STYLES FOR REFERRALS.PHP --- */
.icon-circle { width: 60px; height: 60px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }

/* --- STYLES FOR HELP.PHP --- */
.bg-dark-custom { background-color: var(--bg-secondary) !important; }
.bg-dark-lighter { background-color: var(--bg-secondary); }
.accordion-button { background-color: var(--bg-secondary); color: var(--text-primary); }
.accordion-button::after { filter: none; }
.accordion-button:not(.collapsed) { background-color: rgba(255,153,0,0.05) !important; color: var(--accent) !important; box-shadow: none; }
.accordion-button:focus { box-shadow: none; border-color: var(--accent); }
.accordion-item { border-color: var(--border-color); }
.pulse-button { animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255,153,0,0.4); } 70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(255,153,0,0); } 100% { transform: scale(0.95); } }
.hover-glass { transition: 0.3s; }
.hover-glass:hover { background: rgba(255,153,0,0.03); border-color: var(--accent) !important; transform: translateY(-5px); }

/* --- STYLES FOR ADMIN.PHP --- */
.stat-card { padding: 25px; position: relative; overflow: hidden; }
.stat-icon { position: absolute; top: 20px; right: 20px; font-size: 2.5rem; opacity: 0.1; }
.stat-title { color: var(--text-light); font-size: 0.9rem; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 1px; }
.stat-value { font-size: 2rem; font-weight: 700; color: var(--text-primary); }
.neon-green { color: var(--accent); }

/* TABLE */
.table { color: var(--text-primary) !important; vertical-align: middle; }
.table th { background: var(--bg-secondary) !important; color: var(--text-light) !important; font-weight: 600; text-transform: uppercase; font-size: 0.8rem; padding: 15px; border-bottom: 1px solid var(--border-color) !important; }
.table td { padding: 15px; border-bottom: 1px solid var(--border-color) !important; background: var(--bg-primary) !important; color: var(--text-primary) !important; }
.table tbody tr:hover td { background: rgba(255,153,0,0.03) !important; }

/* ADMIN BTNS */
.btn-action { width: 35px; height: 35px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; transition: 0.2s; border: none; }
.btn-edit { background: rgba(0,150,255,0.1); color: #0096ff; }
.btn-edit:hover { background: #0096ff; color: #fff; }
.btn-money { background: rgba(255,153,0,0.1); color: var(--accent); }
.btn-money:hover { background: var(--accent); color: #fff; }

/* STATUS BADGES */
.status-badge { padding: 5px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.badge-active { background: rgba(255,153,0,0.1); color: var(--accent); border: 1px solid rgba(255,153,0,0.2); }
.badge-blocked { background: rgba(255,59,59,0.1); color: #ff3b3b; border: 1px solid rgba(255,59,59,0.2); }
.badge-sub { background: linear-gradient(45deg, #FFD700, #FFA500); color: #fff; }

/* --- STYLES FOR OFFERTA.PHP --- */
.oferta-content { max-height: 60vh; overflow-y: auto; padding-right: 15px; scrollbar-width: thin; scrollbar-color: var(--accent) transparent; }
.oferta-content::-webkit-scrollbar { width: 6px; }
.oferta-content::-webkit-scrollbar-track { background: var(--bg-secondary); }
.oferta-content::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 10px; }
.section-title { color: var(--accent); border-bottom: 1px solid var(--border-color); padding-bottom: 5px; margin-top: 30px; display: flex; align-items: center; }
.section-title i { margin-right: 10px; font-size: 0.9em; }
.warning-text { color: var(--color-red); font-weight: 600; }
p, li { color: var(--text-secondary); line-height: 1.6; font-size: 0.95rem; }
.btn-neon { background: transparent; border: 2px solid var(--accent); color: var(--accent); transition: all 0.3s ease; }
.btn-neon:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.animate-entrance { animation: zoomIn 0.8s ease-out; }
@keyframes zoomIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }

/* ===== NAVBAR PREMIUM ===== */
.navbar-premium { background-color: var(--navy-bg) !important; border-bottom: none !important; z-index: 1040; }

.navbar-logo-glow { max-height: 40px; }
.navbar-toggler-clean { box-shadow: none !important; }
.badge-balance-bg { background-color: var(--bg-secondary) !important; color: var(--text-primary) !important; }
.user-avatar-gold { width: 40px; height: 40px; background: linear-gradient(135deg, #FF9900 0%, #FFB732 100%); color: #fff !important; }
.text-role { font-size: 10px; }
.dropdown-menu-premium { background-color: var(--navy-bg) !important; border: 1px solid rgba(255,255,255,0.1); box-shadow: var(--shadow-hover); }
.dropdown-menu-premium .dropdown-item:hover { background-color: rgba(255,255,255,0.1); color: #ffffff !important; }
.dropdown-menu-premium .dropdown-item.text-danger:hover { color: #ff3b3b !important; }
.main-pad-top { padding-top: 100px !important; }
.widget-icon-gold { width: 32px; height: 32px; background: rgba(255,153,0,0.1); border: 1px solid rgba(255,153,0,0.3); }
.widget-icon-gold-no-border { width: 32px; height: 32px; background: rgba(255,153,0,0.1); }
.widget-chat-bubble { background: #f3f4f6; font-size: 13px; max-width: 85%; color: var(--text-primary); }
.widget-user-bubble { background: linear-gradient(135deg, #FF9900 0%, #FFB732 100%); font-size: 13px; max-width: 85%; color: #fff !important; }
.widget-btn-send { width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; background: var(--accent); border: none; color: #fff; }
.widget-avatar-light { width: 28px; height: 28px; }

/* AI Mentor gradient text */
.text-gradient { background: linear-gradient(135deg, #FF9900 0%, #0575E6 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-weight: bold; }

/* Admin utilities */
.admin-modal-content { background-color: #ffffff !important; border: 1px solid var(--border-color) !important; }
.admin-section-box { background: var(--bg-secondary); }
.admin-select { background-color: #ffffff !important; color: var(--text-primary) !important; }
.bg-premium-card { background-color: #ffffff !important; }

/* Scanner overlay for AI analyst */
.scanner-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, transparent, rgba(255,153,0,0.1), transparent); animation: scan 1.5s infinite; pointer-events: none; z-index: 10; }
@keyframes scan { 0% { top: 0; } 100% { top: 100%; } }

/* Lift and hover effects */
.lift-on-hover:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.hover-lift { transition: transform 0.2s; }
.hover-lift:hover { transform: translateY(-5px); }

/* Dashboard scrollbar */
.custom-scrollbar::-webkit-scrollbar { width: 6px; }
.custom-scrollbar::-webkit-scrollbar-track { background: transparent; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 10px; opacity: 0.5; }

/* Chat box scrollbar */
#chat-box::-webkit-scrollbar { width: 6px; }
#chat-box::-webkit-scrollbar-thumb { background: #ddd; border-radius: 3px; }

/* Responsive */
@media (max-width: 768px) {
    .main-content { padding: 80px 15px 15px 15px !important; }
    .balance-amount { font-size: 2.5rem; }
    .sub-price { font-size: 2.5rem; }
}