/* ============================================
   এড ঘর — Complete Stylesheet
============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #0f172a;
  --bg-2:       #1e293b;
  --bg-3:       #273449;
  --border:     rgba(255,255,255,0.08);
  --border-2:   rgba(255,255,255,0.14);
  --text:       #f1f5f9;
  --text-2:     #94a3b8;
  --text-3:     #64748b;
  --primary:    #0ea5e9;
  --primary-d:  #0284c7;
  --primary-glow: rgba(14,165,233,0.25);
  --success:    #22c55e;
  --warning:    #f59e0b;
  --danger:     #ef4444;
  --bkash:      #e2136e;
  --nagad:      #f7941d;
  --radius:     12px;
  --radius-lg:  18px;
  --shadow:     0 4px 24px rgba(0,0,0,0.4);
  --font:       'Hind Siliguri', 'Inter', sans-serif;
  --sidebar-w:  260px;
  --topbar-h:   64px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
input, select, textarea { font-family: var(--font); }
img { display: block; max-width: 100%; }

/* SCROLLBAR */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 3px; }

/* ============================================
   BUTTONS
============================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 10px;
  font-size: 0.92rem; font-weight: 600;
  transition: all 0.2s; white-space: nowrap; cursor: pointer;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-d); transform: translateY(-1px); box-shadow: 0 6px 20px var(--primary-glow); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border-2); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { opacity: 0.85; }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { opacity: 0.85; }
.btn-full { width: 100%; justify-content: center; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-sm { padding: 6px 14px; font-size: 0.8rem; border-radius: 7px; }
.btn-link { background: none; border: none; color: var(--primary); font-weight: 600; cursor: pointer; font-size: inherit; padding: 0; }
.btn-link:hover { text-decoration: underline; }

/* ============================================
   FORMS
============================================ */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.88rem; font-weight: 600; color: var(--text-2); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px; background: var(--bg-3); border: 1px solid var(--border-2);
  border-radius: 9px; color: var(--text); font-size: 0.92rem;
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-group input:focus,
.form-group select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(14,165,233,0.15); }
.form-group input::placeholder { color: var(--text-3); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.input-wrap { position: relative; }
.input-wrap input { width: 100%; padding-right: 44px; }
.toggle-pass { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; font-size: 1rem; opacity: 0.6; }
.toggle-pass:hover { opacity: 1; }
.form-error { color: var(--danger); font-size: 0.85rem; padding: 8px 12px; background: rgba(239,68,68,0.1); border-radius: 8px; display: none; }
.form-error.show { display: block; }
.form-success { color: var(--success); font-size: 0.85rem; padding: 8px 12px; background: rgba(34,197,94,0.1); border-radius: 8px; }
.form-success.hidden { display: none; }
.search-input { padding: 9px 14px; background: var(--bg-3); border: 1px solid var(--border-2); border-radius: 9px; color: var(--text); font-size: 0.88rem; outline: none; min-width: 240px; }
.search-input:focus { border-color: var(--primary); }

/* ============================================
   SITE HEADER (landing)
============================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15,23,42,0.9); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border); padding: 0 24px;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700;
}
.logo-icon.small { width: 32px; height: 32px; font-size: 0.9rem; border-radius: 8px; }
.logo-text { display: block; font-size: 1.2rem; font-weight: 700; color: var(--text); }
.logo-sub { display: block; font-size: 0.7rem; color: var(--text-3); }
.header-nav { display: flex; align-items: center; gap: 12px; }

/* ============================================
   HERO SECTION
============================================ */
.hero-section { padding: 80px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-block; padding: 6px 16px;
  background: rgba(14,165,233,0.12); border: 1px solid rgba(14,165,233,0.25);
  border-radius: 100px; font-size: 0.82rem; font-weight: 600;
  color: var(--primary); margin-bottom: 20px;
}
.hero-content h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.15; margin-bottom: 16px; }
.accent { color: var(--primary); }
.hero-desc { font-size: 1.05rem; color: var(--text-2); margin-bottom: 28px; max-width: 480px; }
.hero-desc strong { color: var(--text); }
.hero-stats { display: flex; align-items: center; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-num { display: block; font-size: 1.3rem; font-weight: 700; color: var(--text); }
.stat-label { font-size: 0.78rem; color: var(--text-3); }
.stat-divider { width: 1px; height: 36px; background: var(--border-2); }

/* EARNINGS PREVIEW CARD */
.earnings-preview-card {
  background: var(--bg-2); border: 1px solid var(--border-2);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow), 0 0 60px rgba(14,165,233,0.08);
}
.epc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 0.88rem; color: var(--text-2); font-weight: 600; }
.epc-live { display: flex; align-items: center; gap: 6px; color: var(--success); font-size: 0.8rem; }
.live-dot { width: 7px; height: 7px; background: var(--success); border-radius: 50%; animation: livePulse 1.5s ease-in-out infinite; }
@keyframes livePulse { 0%,100%{box-shadow:0 0 0 0 rgba(34,197,94,0.6)} 50%{box-shadow:0 0 0 6px rgba(34,197,94,0)} }
.epc-amount { font-size: 2.8rem; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.epc-ads { font-size: 0.85rem; color: var(--text-2); margin-bottom: 16px; }
.epc-bar { height: 8px; background: var(--bg-3); border-radius: 4px; overflow: hidden; margin-bottom: 6px; }
.epc-bar-fill { height: 100%; background: linear-gradient(90deg, var(--primary), #38bdf8); border-radius: 4px; transition: width 0.5s; }
.epc-bar-label { font-size: 0.78rem; color: var(--text-3); margin-bottom: 16px; }
.epc-methods { display: flex; gap: 8px; }
.method-badge { padding: 5px 14px; border-radius: 100px; font-size: 0.78rem; font-weight: 700; }
.method-badge.bkash { background: rgba(226,19,110,0.15); color: var(--bkash); border: 1px solid rgba(226,19,110,0.25); }
.method-badge.nagad { background: rgba(247,148,29,0.15); color: var(--nagad); border: 1px solid rgba(247,148,29,0.25); }

/* ============================================
   HOW IT WORKS
============================================ */
.how-section { padding: 80px 0; background: rgba(255,255,255,0.02); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { text-align: center; font-size: 1.8rem; font-weight: 700; margin-bottom: 48px; }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.step-card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 24px; text-align: center;
  position: relative; transition: border-color 0.2s, transform 0.2s;
}
.step-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.step-num {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 28px; background: var(--primary); color: #fff;
  border-radius: 50%; font-size: 0.82rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step-icon { font-size: 2.5rem; margin-bottom: 14px; }
.step-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step-card p { font-size: 0.88rem; color: var(--text-2); }

/* ============================================
   AUTH SECTION
============================================ */
.auth-section { padding: 80px 0; }
.auth-card {
  max-width: 520px; margin: 0 auto;
  background: var(--bg-2); border: 1px solid var(--border-2);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow);
}
.auth-tabs { display: flex; border-bottom: 1px solid var(--border); }
.auth-tab {
  flex: 1; padding: 16px; font-size: 0.95rem; font-weight: 600;
  color: var(--text-3); border-bottom: 2px solid transparent;
  transition: all 0.2s; background: none; cursor: pointer;
}
.auth-tab.active { color: var(--primary); border-bottom-color: var(--primary); background: rgba(14,165,233,0.05); }
.auth-form { padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.auth-form h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 4px; }
.auth-switch { text-align: center; font-size: 0.88rem; color: var(--text-2); }
.hidden { display: none !important; }

/* ============================================
   SITE FOOTER
============================================ */
.site-footer { padding: 40px 24px; border-top: 1px solid var(--border); text-align: center; }
.footer-logo { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 12px; font-size: 1.1rem; font-weight: 700; }
.site-footer p { font-size: 0.85rem; color: var(--text-3); }
.footer-note { margin-top: 6px; }

/* ============================================
   DASHBOARD LAYOUT
============================================ */
.dashboard-page { display: flex; min-height: 100vh; }

/* SIDEBAR */
.sidebar {
  width: var(--sidebar-w); background: var(--bg-2);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 200;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.sidebar-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 16px; border-bottom: 1px solid var(--border);
}
.sidebar-close { display: none; font-size: 1.1rem; color: var(--text-3); padding: 4px 8px; border-radius: 6px; }
.sidebar-close:hover { background: var(--bg-3); color: var(--text); }
.sidebar-nav { flex: 1; padding: 16px 10px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: 10px;
  font-size: 0.92rem; font-weight: 500; color: var(--text-2);
  transition: all 0.2s; cursor: pointer;
}
.nav-item:hover { background: var(--bg-3); color: var(--text); }
.nav-item.active { background: rgba(14,165,233,0.12); color: var(--primary); font-weight: 600; }
.nav-icon { font-size: 1.1rem; width: 22px; text-align: center; }
.sidebar-footer { padding: 16px; border-top: 1px solid var(--border); }
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 190; }

/* MAIN WRAP */
.main-wrap { margin-left: var(--sidebar-w); flex: 1; display: flex; flex-direction: column; min-height: 100vh; }

/* TOPBAR */
.topbar {
  position: sticky; top: 0; z-index: 100;
  height: var(--topbar-h); background: rgba(15,23,42,0.95);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 16px; padding: 0 24px;
}
.menu-btn { display: none; font-size: 1.3rem; color: var(--text-2); padding: 6px; border-radius: 8px; }
.menu-btn:hover { background: var(--bg-3); color: var(--text); }
.topbar-title { font-size: 1.05rem; font-weight: 700; flex: 1; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.user-chip { display: flex; align-items: center; gap: 10px; padding: 6px 12px; background: var(--bg-3); border-radius: 100px; font-size: 0.85rem; font-weight: 600; }
.user-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700; }
.admin-chip .user-chip { border: 1px solid rgba(239,68,68,0.3); }

/* MAIN CONTENT */
.main-content { flex: 1; padding: 28px 24px; max-width: 1100px; width: 100%; }
.dash-section { display: block; }
.dash-section.hidden { display: none; }

/* WELCOME BANNER */
.welcome-banner {
  background: linear-gradient(135deg, rgba(14,165,233,0.12) 0%, rgba(14,165,233,0.04) 100%);
  border: 1px solid rgba(14,165,233,0.2); border-radius: var(--radius-lg);
  padding: 24px 28px; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 24px; flex-wrap: wrap;
}
.welcome-banner h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 4px; }
.welcome-banner p { font-size: 0.88rem; color: var(--text-2); }

/* STATS GRID */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 24px; }
.stat-card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
  display: flex; align-items: center; gap: 16px;
  transition: border-color 0.2s;
}
.stat-card:hover { border-color: var(--border-2); }
.stat-card-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.stat-card-label { display: block; font-size: 0.78rem; color: var(--text-3); margin-bottom: 4px; }
.stat-card-value { display: block; font-size: 1.3rem; font-weight: 700; color: var(--text); }

/* DASH ROW & CARDS */
.dash-row { display: flex; gap: 20px; flex-wrap: wrap; }
.dash-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; flex: 1; min-width: 280px; }
.dash-card-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); font-size: 0.88rem; color: var(--text-3); }
.dash-card-header h3 { font-size: 0.95rem; color: var(--text); }

/* PROGRESS */
.progress-bar-wrap { padding: 0 20px 12px; }
.progress-bar { height: 8px; background: var(--bg-3); border-radius: 4px; overflow: hidden; margin: 12px 0 8px; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--primary), #38bdf8); border-radius: 4px; transition: width 0.5s; }
.progress-note { padding: 0 20px 16px; font-size: 0.82rem; color: var(--text-3); }

/* ACTIVITY LIST */
.activity-list { padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; }
.activity-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--bg-3); border-radius: 9px; font-size: 0.85rem; }
.activity-icon { font-size: 1.1rem; }
.activity-text { flex: 1; color: var(--text-2); }
.activity-time { font-size: 0.75rem; color: var(--text-3); }
.empty-msg { text-align: center; color: var(--text-3); font-size: 0.88rem; padding: 24px; }

/* SECTION HEADER */
.section-header { margin-bottom: 24px; display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.section-header h2 { font-size: 1.4rem; font-weight: 700; }
.section-header p { font-size: 0.88rem; color: var(--text-2); margin-top: 4px; }

/* ============================================
   ADS SECTION
============================================ */
.ad-earn-info {
  display: flex; gap: 16px; margin-bottom: 24px; flex-wrap: wrap;
}
.aei-item {
  flex: 1; min-width: 120px; background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 20px;
  display: flex; flex-direction: column; gap: 4px;
}
.aei-item span { font-size: 0.78rem; color: var(--text-3); }
.aei-item strong { font-size: 1.2rem; font-weight: 700; color: var(--primary); }

.ads-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.ad-card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color 0.2s, transform 0.2s; cursor: pointer;
}
.ad-card:hover { border-color: var(--primary); transform: translateY(-3px); }
.ad-card-thumb {
  height: 140px; background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
  display: flex; align-items: center; justify-content: center; font-size: 3rem;
  position: relative; overflow: hidden;
}
.ad-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ad-card-reward {
  position: absolute; top: 10px; right: 10px;
  background: var(--success); color: #fff;
  padding: 3px 10px; border-radius: 100px; font-size: 0.75rem; font-weight: 700;
}
.ad-card-body { padding: 16px; }
.ad-card-title { font-size: 0.92rem; font-weight: 600; margin-bottom: 6px; }
.ad-card-meta { font-size: 0.78rem; color: var(--text-3); display: flex; gap: 12px; margin-bottom: 14px; }
.ad-card-btn { width: 100%; }

/* AD MODAL */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7);
  z-index: 500; display: flex; align-items: center; justify-content: center;
  padding: 20px; backdrop-filter: blur(4px);
}
.modal { background: var(--bg-2); border: 1px solid var(--border-2); border-radius: var(--radius-lg); width: 100%; max-width: 600px; overflow: hidden; }
.ad-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); font-weight: 600; }
.ad-timer-badge { background: rgba(249,115,22,0.15); color: var(--warning); padding: 4px 12px; border-radius: 100px; font-size: 0.82rem; font-weight: 700; }
.ad-frame-wrap { padding: 20px; }
.ad-frame { background: var(--bg-3); border-radius: var(--radius); min-height: 280px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ad-placeholder { text-align: center; padding: 40px 20px; width: 100%; }
.ad-placeholder-icon { font-size: 3rem; margin-bottom: 12px; }
.ad-placeholder p { color: var(--text-2); font-size: 0.95rem; margin-bottom: 16px; }
.ad-iframe-container { width: 100%; }
.ad-iframe-container iframe { width: 100%; border: none; border-radius: 8px; }
.ad-modal-footer { padding: 16px 20px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; }
.ad-progress-wrap { display: flex; flex-direction: column; gap: 6px; }
.ad-progress-bar { height: 6px; background: var(--bg-3); border-radius: 3px; overflow: hidden; }
.ad-progress-fill { height: 100%; background: var(--primary); border-radius: 3px; transition: width 1s linear; }
.ad-modal-footer span { font-size: 0.82rem; color: var(--text-3); }

/* ============================================
   WITHDRAW SECTION
============================================ */
.withdraw-balance-card {
  background: linear-gradient(135deg, rgba(14,165,233,0.12), rgba(14,165,233,0.04));
  border: 1px solid rgba(14,165,233,0.25); border-radius: var(--radius-lg);
  padding: 32px; text-align: center; margin-bottom: 24px;
}
.wbc-label { font-size: 0.88rem; color: var(--text-2); margin-bottom: 8px; }
.wbc-amount { font-size: 3rem; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.wbc-note { font-size: 0.82rem; color: var(--text-3); }
.withdraw-form-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.withdraw-form-card h3 { font-size: 1.05rem; font-weight: 700; }

/* ============================================
   PROFILE
============================================ */
.profile-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.profile-avatar-wrap { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.profile-avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; font-weight: 700; flex-shrink: 0; }
.profile-avatar-wrap h3 { font-size: 1.2rem; font-weight: 700; }
.profile-avatar-wrap p { font-size: 0.88rem; color: var(--text-2); }
.profile-info-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.profile-info-item { display: flex; flex-direction: column; gap: 4px; }
.profile-info-item span { font-size: 0.78rem; color: var(--text-3); }
.profile-info-item strong { font-size: 0.95rem; color: var(--text); }

/* ============================================
   TABLES
============================================ */
.table-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { padding: 12px 16px; text-align: left; font-size: 0.78rem; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; background: rgba(255,255,255,0.02); border-bottom: 1px solid var(--border); }
.data-table td { padding: 13px 16px; font-size: 0.88rem; color: var(--text-2); border-bottom: 1px solid var(--border); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(255,255,255,0.02); }

/* STATUS BADGES */
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 100px; font-size: 0.75rem; font-weight: 700; }
.badge-pending { background: rgba(245,158,11,0.15); color: var(--warning); }
.badge-approved { background: rgba(34,197,94,0.15); color: var(--success); }
.badge-rejected { background: rgba(239,68,68,0.15); color: var(--danger); }
.badge-active { background: rgba(34,197,94,0.15); color: var(--success); }
.badge-inactive { background: rgba(100,116,139,0.15); color: var(--text-3); }

/* ============================================
   ADMIN SPECIFIC
============================================ */
.admin-badge { background: rgba(239,68,68,0.15); color: var(--danger); padding: 2px 8px; border-radius: 4px; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.add-ad-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.add-ad-card h3 { font-size: 1.05rem; font-weight: 700; }
.filter-tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.filter-tab { padding: 7px 18px; border-radius: 100px; font-size: 0.82rem; font-weight: 600; color: var(--text-3); background: var(--bg-2); border: 1px solid var(--border); transition: all 0.2s; cursor: pointer; }
.filter-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.filter-tab:hover:not(.active) { border-color: var(--primary); color: var(--primary); }

/* CONFIRM MODAL */
.confirm-modal { padding: 32px; max-width: 400px; text-align: center; }
.confirm-modal h3 { font-size: 1.2rem; margin-bottom: 10px; }
.confirm-modal p { color: var(--text-2); margin-bottom: 24px; }
.modal-actions { display: flex; gap: 12px; justify-content: center; }

/* ============================================
   TOAST NOTIFICATION
============================================ */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  background: var(--bg-2); border: 1px solid var(--border-2);
  border-radius: var(--radius); padding: 14px 20px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow); font-size: 0.9rem;
  transform: translateY(100px); opacity: 0;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  max-width: 340px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { border-left: 3px solid var(--success); }
.toast.error   { border-left: 3px solid var(--danger); }
.toast.info    { border-left: 3px solid var(--primary); }

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-stats { justify-content: center; }
  .hero-desc { margin: 0 auto 28px; }
  .hero-card-wrap { max-width: 420px; margin: 0 auto; }
  .steps-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .profile-info-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .sidebar-close { display: block; }
  .sidebar-overlay.show { display: block; }
  .main-wrap { margin-left: 0; }
  .menu-btn { display: block; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .dash-row { flex-direction: column; }
  .profile-info-grid { grid-template-columns: 1fr 1fr; }
  .data-table { font-size: 0.8rem; }
  .data-table th, .data-table td { padding: 10px 10px; }
  .main-content { padding: 20px 16px; }
  .hero-section { padding: 40px 0; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .profile-info-grid { grid-template-columns: 1fr; }
  .ads-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; align-items: center; }
  .stat-divider { width: 40px; height: 1px; }
  .epc-amount { font-size: 2.2rem; }
}