/* ========================================
   The Natex Group — Complete Styles
   ======================================== */

/* ----- Base & Reset ----- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ----- Main Site (Light theme) ----- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Announcement bar */
.ann-bar { background: #0b1a3a; color: #fff; font-size: 0.8rem; padding: 8px 0; }
.ann-bar .container { display: flex; align-items: center; justify-content: space-between; }
.ann-bar .left { display: flex; align-items: center; gap: 6px; }
.ann-bar .left span { color: #d4a843; font-weight: 700; }
.ann-bar .right { display: flex; align-items: center; gap: 16px; }
.ann-bar .right a { color: rgba(255,255,255,0.7); transition: color .2s; font-weight: 500; }
.ann-bar .right a:hover { color: #fff; }
.ann-bar .right a.gold { color: #d4a843; font-weight: 600; }

/* White header */
.site-header { background: #fff; border-bottom: 1px solid rgba(0,0,0,0.06); position: sticky; top: 0; z-index: 900; padding: 0; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo-block { display: flex; align-items: center; gap: 12px; }
.logo-block .logo-icon { width: 44px; height: 44px; background: #0b1a3a; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; color: #d4a843; }
.logo-block .logo-text h1 { font-size: 1.1rem; font-weight: 700; line-height: 1.2; color: #0f172a; margin: 0; }
.logo-block .logo-text span { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1.5px; color: #d4a843; font-weight: 600; }
.main-nav { display: flex; align-items: center; gap: 28px; list-style: none; }
.main-nav a { font-size: 0.9rem; font-weight: 500; color: #475569; transition: color .2s; position: relative; }
.main-nav a:hover, .main-nav a.active { color: #0f172a; }
.main-nav a.active::after { content: ''; position: absolute; bottom: -6px; left: 0; right: 0; height: 2px; background: #d4a843; border-radius: 2px; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.btn-gold { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 30px; font-weight: 600; font-size: 0.9rem; border: none; cursor: pointer; transition: all .2s; background: #d4a843; color: #0b1a3a; box-shadow: 0 4px 20px rgba(212,168,67,0.25); }
.btn-gold:hover { background: #e8c76a; transform: translateY(-1px); }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 30px; font-weight: 600; font-size: 0.9rem; border: 1px solid rgba(0,0,0,0.15); background: transparent; color: #0f172a; cursor: pointer; transition: all .2s; }
.btn-outline:hover { background: rgba(0,0,0,0.04); }
.btn-sm { padding: 8px 16px; font-size: 0.8rem; }
.mobile-toggle { display: none; width: 36px; height: 36px; border-radius: 8px; background: #f1f5f9; border: 1px solid rgba(0,0,0,0.08); color: #0f172a; font-size: 1.2rem; cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 900px) { .main-nav { display: none; } .mobile-toggle { display: flex; } .header-cta .btn-gold { display: none; } }

/* Hero */
.hero { background: #0b1a3a; color: #fff; padding: 80px 0 100px; position: relative; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.hero-tag { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: #d4a843; font-weight: 700; margin-bottom: 16px; }
.hero h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 800; line-height: 1.1; margin-bottom: 20px; color: #fff; }
.hero h2 .gold { color: #d4a843; }
.hero p { font-size: 1.05rem; color: #94a3b8; max-width: 500px; margin-bottom: 28px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; font-size: 0.8rem; color: #94a3b8; font-weight: 500; }
.badge svg { width: 14px; height: 14px; color: #10b981; flex-shrink: 0; }
.hero-panel { background: rgba(17,31,59,0.6); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 28px; backdrop-filter: blur(10px); }
.hero-panel h3 { font-size: 1.1rem; margin-bottom: 6px; color: #fff; }
.hero-panel .sub { font-size: 0.8rem; color: #94a3b8; margin-bottom: 20px; }
.income-stream { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 10px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.04); margin-bottom: 10px; transition: all .2s; }
.income-stream:hover { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); transform: translateX(4px); }
.income-stream .icon-box { width: 40px; height: 40px; border-radius: 10px; background: rgba(212,168,67,0.1); display: grid; place-items: center; font-size: 1.1rem; flex-shrink: 0; }
.income-stream .info { flex: 1; }
.income-stream .info h4 { font-size: 0.85rem; font-weight: 600; color: #fff; }
.income-stream .info span { font-size: 0.75rem; color: #94a3b8; }
.income-stream .split { font-size: 0.8rem; color: #d4a843; font-weight: 700; }
@media (max-width: 900px) { .hero .container { grid-template-columns: 1fr; } .hero-panel { order: -1; } }

/* Sections */
.section { padding: 70px 0; background: #f8fafc; color: #0f172a; }
.section-alt { background: #fff; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-header h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 10px; color: #0f172a; }
.section-header p { color: #64748b; font-size: 1rem; }
.text-center { text-align: center; }

/* Stats */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1000px; margin: 50px auto; }
.stat-item { text-align: center; padding: 24px; background: #fff; border-radius: 12px; border: 1px solid rgba(0,0,0,0.06); box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.stat-item .icon { font-size: 1.6rem; margin-bottom: 8px; }
.stat-item .value { font-size: 1.4rem; font-weight: 700; color: #d4a843; }
.stat-item .label { font-size: 0.75rem; color: #64748b; text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
@media (max-width: 768px) { .stats-bar { grid-template-columns: repeat(2, 1fr); } }

/* Cards */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid rgba(0,0,0,0.06); border-radius: 12px; overflow: hidden; transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 40px rgba(0,0,0,0.3); }
.card .card-img { height: 180px; background-size: cover; background-position: center; position: relative; }
.card .card-img .tag { position: absolute; top: 12px; left: 12px; padding: 4px 10px; background: #d4a843; color: #0b1a3a; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; border-radius: 4px; }
.card .card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card .card-body h3 { font-size: 1.1rem; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; color: #0f172a; }
.card .card-body p { font-size: 0.85rem; color: #64748b; margin-bottom: 14px; flex: 1; }
.card .card-meta { display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; margin-bottom: 16px; }
.card .card-meta .split { color: #d4a843; font-weight: 600; }
.card .card-link { font-size: 0.85rem; font-weight: 600; color: #d4a843; display: inline-flex; align-items: center; gap: 6px; }
.card .card-link:hover { gap: 10px; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 28px; background: #fff; border-radius: 12px; border: 1px solid rgba(0,0,0,0.06); text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.step::before { counter-increment: step; content: counter(step); width: 44px; height: 44px; border-radius: 50%; background: #d4a843; color: #0b1a3a; font-weight: 800; font-size: 1rem; display: grid; place-items: center; margin: 0 auto 16px; }
.step h4 { font-size: 1rem; margin-bottom: 8px; color: #0f172a; }
.step p { font-size: 0.85rem; color: #64748b; }

/* Platforms */
.platforms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.platform-link { display: flex; align-items: center; gap: 14px; padding: 18px; background: #fff; border: 1px solid rgba(0,0,0,0.06); border-radius: 10px; transition: all .2s; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.platform-link:hover { background: #fff; border-color: rgba(0,0,0,0.1); box-shadow: 0 4px 12px rgba(0,0,0,0.15); transform: translateY(-2px); }
.platform-link .icon { font-size: 1.4rem; }
.platform-link .info h4 { font-size: 0.9rem; color: #0f172a; }
.platform-link .info span { font-size: 0.75rem; color: #64748b; }
.platform-link .arrow { margin-left: auto; color: #d4a843; font-size: 1.1rem; }

/* Footer */
.footer { background: #0b1a3a; padding: 40px 0; text-align: center; color: #94a3b8; }
.footer p { font-size: 0.8rem; }

/* CTA bar */
.cta-bar { background: #fff; border: 1px solid rgba(0,0,0,0.06); border-radius: 12px; padding: 40px; text-align: center; margin: 40px 0; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.cta-bar h2 { font-size: 1.4rem; margin-bottom: 8px; color: #0f172a; }
.cta-bar p { color: #64748b; font-size: 0.9rem; margin-bottom: 20px; }

/* ========================================
   AUTH / DARK PAGES (login, signup, admin, backoffice)
   ======================================== */
.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; background: #0b1a3a; }
.auth-box { width: 100%; max-width: 520px; background: #111f3b; border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 40px; box-shadow: 0 10px 40px rgba(0,0,0,0.3); color: #fff; }
.auth-box h2 { font-size: 1.6rem; margin-bottom: 6px; text-align: center; color: #fff; }
.auth-box .sub { color: #94a3b8; font-size: 0.9rem; text-align: center; margin-bottom: 28px; }
.auth-box label { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 6px; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.5px; }
.auth-box input, .auth-box select, .auth-box textarea { width: 100%; padding: 12px 14px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; color: #fff; font-size: 0.95rem; transition: border-color .2s; margin-bottom: 16px; }
.auth-box input:focus, .auth-box select:focus, .auth-box textarea:focus { outline: none; border-color: #d4a843; background: rgba(255,255,255,0.04); }
.auth-box input::placeholder { color: rgba(160,174,192,0.5); }
.auth-box .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .auth-box .row { grid-template-columns: 1fr; } }
.auth-box .check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
.auth-box .check input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: #d4a843; }
.auth-box .check label { font-size: 0.8rem; color: #94a3b8; line-height: 1.4; text-transform: none; letter-spacing: 0; font-weight: 400; }
.auth-box .check label a { color: #d4a843; text-decoration: underline; }
.auth-box button[type=submit] { width: 100%; padding: 12px; border-radius: 8px; border: none; background: #d4a843; color: #0b1a3a; font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: background .2s; }
.auth-box button[type=submit]:hover { background: #e8c76a; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 0.85rem; color: #94a3b8; }
.auth-footer a { color: #d4a843; font-weight: 600; }
.alert { padding: 12px 14px; border-radius: 8px; font-size: 0.85rem; margin-bottom: 16px; display: none; }
.alert.success { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2); color: #10b981; display: block; }
.alert.error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.2); color: #ef4444; display: block; }

/* Signature */
.sig-wrap { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 14px; margin-bottom: 10px; }
.sig-wrap canvas { width: 100%; height: 160px; background: #fff; border-radius: 6px; cursor: crosshair; touch-action: none; }
.sig-actions { display: flex; gap: 10px; justify-content: flex-end; }
.sig-actions button { padding: 6px 12px; font-size: 0.75rem; border-radius: 6px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.03); color: #94a3b8; cursor: pointer; }
.sig-actions button:hover { background: rgba(255,255,255,0.06); color: #fff; }
.agree-text { max-height: 200px; overflow-y: auto; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; padding: 16px; font-size: 0.8rem; color: #94a3b8; line-height: 1.6; margin-bottom: 14px; }
.agree-text h4 { color: #fff; font-size: 0.9rem; margin-bottom: 8px; }
.agree-text p { margin-bottom: 8px; }
.progress-track { display: flex; gap: 8px; margin-bottom: 24px; }
.step-pill { flex: 1; text-align: center; padding: 10px; border-radius: 8px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.04); color: #94a3b8; }
.step-pill.active { background: rgba(212,168,67,0.12); border-color: rgba(212,168,67,0.25); color: #d4a843; }
.step-pill.done { background: rgba(16,185,129,0.1); border-color: rgba(16,185,129,0.2); color: #10b981; }
.panel { display: none; animation: fadeIn .3s ease; }
.panel.open { display: block; }
.ref-banner { background: rgba(212,168,67,0.08); border: 1px dashed rgba(212,168,67,0.3); border-radius: 8px; padding: 10px 14px; font-size: 0.8rem; color: #d4a843; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.link-row { display: flex; gap: 10px; }
.link-row input { flex: 1; margin-bottom: 0; }
.link-row button { padding: 10px 18px; background: #d4a843; color: #0b1a3a; border: none; border-radius: 8px; font-weight: 700; font-size: 0.85rem; cursor: pointer; }
.link-row button:hover { background: #e8c76a; }

/* Dashboard / Backoffice / Admin */
.dashboard { min-height: 100vh; display: flex; background: #0b1a3a; color: #fff; }
.sidebar { width: 260px; background: #070f24; border-right: 1px solid rgba(255,255,255,0.06); padding: 24px 0; display: flex; flex-direction: column; position: fixed; height: 100vh; left: 0; top: 0; z-index: 800; }
.sidebar .brand { display: flex; align-items: center; gap: 10px; padding: 0 22px 22px; border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 16px; }
.sidebar .brand .icon { width: 34px; height: 34px; background: #d4a843; color: #0b1a3a; border-radius: 8px; display: grid; place-items: center; font-weight: 800; font-size: 0.85rem; }
.sidebar .brand h3 { font-size: 0.95rem; color: #fff; }
.sidebar .nav { list-style: none; padding: 0 12px; flex: 1; }
.sidebar .nav li { margin-bottom: 4px; }
.sidebar .nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; font-size: 0.85rem; font-weight: 500; color: #94a3b8; transition: all .2s; cursor: pointer; }
.sidebar .nav a:hover, .sidebar .nav a.active { background: rgba(255,255,255,0.04); color: #fff; }
.sidebar .nav a.active { border-left: 2px solid #d4a843; }
.sidebar .user { padding: 16px 22px 0; border-top: 1px solid rgba(255,255,255,0.06); margin-top: auto; }
.sidebar .user-chip { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.sidebar .user-chip .avatar { width: 32px; height: 32px; border-radius: 50%; background: #d4a843; color: #0b1a3a; display: grid; place-items: center; font-weight: 700; font-size: 0.75rem; }
.sidebar .user-chip .name { font-size: 0.8rem; font-weight: 600; color: #fff; }
.sidebar .user-chip .role { font-size: 0.7rem; color: #94a3b8; }
.main { flex: 1; margin-left: 260px; padding: 32px; min-height: 100vh; }
.page-title { font-size: 1.4rem; color: #fff; margin-bottom: 24px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat-card { background: #111f3b; border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 20px; display: flex; align-items: center; justify-content: space-between; }
.stat-card .left h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: #94a3b8; margin-bottom: 6px; }
.stat-card .left .num { font-size: 1.6rem; font-weight: 700; color: #fff; }
.stat-card .icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; font-size: 1.2rem; background: rgba(212,168,67,0.1); }
.card-dark { background: #111f3b; border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 24px; margin-bottom: 28px; color: #fff; }
.card-dark h3 { font-size: 1rem; margin-bottom: 12px; color: #fff; }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; color: #94a3b8; }
.data-table th { text-align: left; padding: 12px 14px; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; color: #94a3b8; border-bottom: 1px solid rgba(255,255,255,0.06); font-weight: 600; }
.data-table td { padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,0.04); vertical-align: middle; }
.data-table tr:hover td { background: rgba(255,255,255,0.02); color: #fff; }
.status { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.7rem; font-weight: 600; }
.status-active { background: rgba(16,185,129,0.12); color: #10b981; }
.status-pending { background: rgba(245,158,11,0.12); color: #f59e0b; }
.status-signed { background: rgba(59,130,246,0.12); color: #3b82f6; }
@media (max-width: 900px) { .sidebar { transform: translateX(-100%); transition: transform .3s; } .sidebar.open { transform: translateX(0); } .main { margin-left: 0; } }

/* Admin extras */
.kpi { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 24px; }
.kpi-box { padding: 18px; background: #111f3b; border-radius: 10px; border: 1px solid rgba(255,255,255,0.06); text-align: center; }
.kpi-box .val { font-size: 1.5rem; font-weight: 700; color: #d4a843; }
.kpi-box .lab { font-size: 0.7rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 28px; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } }
.search { width: 100%; padding: 10px 14px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; color: #fff; font-size: 0.85rem; margin-bottom: 14px; max-width: 320px; flex: 1; }
.search:focus { outline: none; border-color: #d4a843; }
.btn-o { padding: 6px 12px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.15); background: transparent; color: #fff; font-size: 0.75rem; font-weight: 600; cursor: pointer; transition: all .2s; }
.btn-o:hover { background: rgba(255,255,255,0.04); }
.btn-g { padding: 6px 12px; border-radius: 6px; border: none; background: #d4a843; color: #0b1a3a; font-size: 0.75rem; font-weight: 700; cursor: pointer; transition: background .2s; }
.btn-g:hover { background: #e8c76a; }
.btn-d { background: rgba(239,68,68,0.12); color: #ef4444; border: 1px solid rgba(239,68,68,0.2); padding: 6px 12px; font-size: 0.75rem; border-radius: 6px; cursor: pointer; }
.btn-d:hover { background: rgba(239,68,68,0.2); }
.tree-node { padding: 10px 14px; border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; margin-bottom: 8px; background: rgba(255,255,255,0.02); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.tree-meta { font-size: 0.75rem; color: #94a3b8; }
.tree-child { padding-left: 24px; border-left: 2px solid rgba(255,255,255,0.06); margin-left: 8px; margin-bottom: 12px; }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 2000; display: none; place-items: center; padding: 20px; }
.modal.open { display: grid; }
.mbox { background: #111f3b; border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; max-width: 600px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 28px; box-shadow: 0 20px 60px rgba(0,0,0,0.4); color: #fff; text-align: center; }
.mbox h3 { font-size: 1.1rem; margin-bottom: 14px; color: #fff; }
.mbox img { max-width: 100%; border-radius: 8px; background: #fff; border: 1px solid rgba(0,0,0,0.1); margin: 10px 0; }

/* Notifications */
.notif-bell { position: relative; cursor: pointer; padding: 8px 12px; border-radius: 8px; transition: background .2s; }
.notif-bell:hover { background: rgba(255,255,255,0.04); }
.badge-count { position: absolute; top: 2px; right: 2px; background: #ef4444; color: #fff; font-size: 0.65rem; font-weight: 700; padding: 1px 5px; border-radius: 10px; min-width: 16px; text-align: center; }
.notif-panel { position: absolute; top: 42px; right: 0; width: 340px; background: #0b1a3a; border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,0.4); z-index: 1000; display: none; overflow: hidden; }
.notif-panel.open { display: block; }
.notif-head { padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: space-between; }
.notif-head h4 { font-size: 0.85rem; margin: 0; color: #fff; }
.notif-head button { background: none; border: none; color: #d4a843; font-size: 0.75rem; cursor: pointer; font-weight: 600; }
.notif-list { max-height: 320px; overflow-y: auto; }
.ni { padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.04); cursor: pointer; transition: background .15s; display: flex; align-items: flex-start; gap: 10px; }
.ni:hover { background: rgba(255,255,255,0.02); }
.ni.un { border-left: 2px solid #d4a843; }
.ni .dot { width: 8px; height: 8px; border-radius: 50%; background: #d4a843; flex-shrink: 0; margin-top: 4px; }
.ni.r .dot { background: transparent; border: 1px solid rgba(255,255,255,0.15); }
.ni .body { flex: 1; }
.ni .ti { font-size: 0.8rem; font-weight: 600; color: #fff; margin-bottom: 2px; }
.ni .de { font-size: 0.75rem; color: #94a3b8; line-height: 1.3; }
.ni .tm { font-size: 0.65rem; color: #94a3b8; opacity: 0.7; white-space: nowrap; margin-left: 4px; }
.ni-empty { padding: 24px; text-align: center; color: #94a3b8; font-size: 0.85rem; }

/* Tabs */
.tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.tabs button { padding: 8px 16px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.02); color: #94a3b8; font-weight: 600; font-size: 0.8rem; cursor: pointer; transition: all .2s; }
.tabs button.active { background: rgba(212,168,67,0.12); border-color: rgba(212,168,67,0.25); color: #d4a843; }
.pane { display: none; }
.pane.open { display: block; animation: fadeIn .25s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
