@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&family=Tiro+Bangla:ital@0;1&display=swap');

/* ── Root Variables ── */
:root {
  --green:       #006633;
  --green-mid:   #008844;
  --green-light: #00aa55;
  --green-pale:  #e8f5ee;
  --green-bg:    #f0faf4;
  --red:         #cc0000;
  --gold:        #d4a017;
  --dark:        #1a2a1a;
  --text:        #2d3b2d;
  --muted:       #5a6b5a;
  --border:      #c8ddc8;
  --border-light:#e0eee0;
  --white:       #ffffff;
  --off-white:   #f7fbf7;
  --shadow-sm:   0 2px 8px rgba(0,102,51,0.08);
  --shadow-md:   0 4px 20px rgba(0,102,51,0.12);
  --shadow-lg:   0 8px 40px rgba(0,102,51,0.16);
  --radius:      10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
}

/* ── Reset ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: 'Hind Siliguri', sans-serif;
  background: var(--off-white);
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green); text-decoration:none; }
a:hover { color: var(--green-light); }
img { max-width:100%; }
::-webkit-scrollbar { width:5px; }
::-webkit-scrollbar-track { background:#f0f0f0; }
::-webkit-scrollbar-thumb { background:var(--green-mid); border-radius:3px; }

/* ── Top Bar ── */
.top-bar {
  background: var(--green);
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 2px solid var(--green-light);
}
.top-bar-inner {
  max-width: 1280px; margin:0 auto; padding:0 20px;
  display:flex; justify-content:space-between; align-items:center; gap:12px;
  flex-wrap:wrap;
}
.top-bar a { color:rgba(255,255,255,0.85); font-size:12px; }
.top-bar a:hover { color:#fff; }
.top-bar-links { display:flex; gap:16px; align-items:center; }
.top-emergency { color:#ffd700 !important; font-weight:700; }

/* ── Header ── */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--green);
  box-shadow: var(--shadow-sm);
  position: sticky; top:0; z-index:300;
}
.header-inner {
  max-width:1280px; margin:0 auto; padding:0 20px;
  display:flex; align-items:center; gap:20px;
  height: 68px;
}
.site-logo { display:flex; align-items:center; gap:12px; text-decoration:none; flex-shrink:0; }
.logo-flag {
  width:48px; height:48px; border-radius:10px;
  background:linear-gradient(135deg,var(--green),var(--green-light));
  display:flex; align-items:center; justify-content:center;
  font-size:26px; box-shadow: var(--shadow-sm);
}
.logo-words .site-title {
  font-size:18px; font-weight:700; color:var(--green); line-height:1.2;
  font-family:'Tiro Bangla',serif;
}
.logo-words .site-sub { font-size:11px; color:var(--muted); }

/* ── Main Nav ── */
.main-nav {
  display:flex; gap:2px; flex:1; justify-content:center; overflow-x:auto;
}
.main-nav::-webkit-scrollbar { height:0; }
.nav-link {
  display:flex; align-items:center; gap:5px;
  padding:8px 13px; border-radius:8px;
  color:var(--muted); font-size:13.5px; font-weight:500;
  border-bottom:3px solid transparent; white-space:nowrap;
  cursor:pointer; background:none; border-top:none; border-left:none; border-right:none;
  border-bottom:3px solid transparent; font-family:inherit;
  transition: all .18s;
}
.nav-link:hover { color:var(--green); background:var(--green-pale); }
.nav-link.active { color:var(--green); font-weight:700; border-bottom-color:var(--green); background:var(--green-pale); }
.nav-icon { font-size:15px; }

.header-cta { display:flex; gap:8px; align-items:center; flex-shrink:0; }

/* ── Buttons ── */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  padding:9px 18px; border-radius:8px; font-family:inherit; font-size:14px;
  font-weight:600; cursor:pointer; border:2px solid transparent;
  text-decoration:none; transition:all .18s; white-space:nowrap;
}
.btn-primary { background:var(--green); color:#fff; border-color:var(--green); }
.btn-primary:hover { background:var(--green-light); border-color:var(--green-light); color:#fff; }
.btn-outline { background:transparent; color:var(--green); border-color:var(--green); }
.btn-outline:hover { background:var(--green); color:#fff; }
.btn-sm { padding:6px 14px; font-size:13px; }
.btn-full { width:100%; }
.btn-red { background:var(--red); border-color:var(--red); color:#fff; }
.btn-red:hover { background:#aa0000; }
.btn-gold { background:var(--gold); border-color:var(--gold); color:#fff; }

/* ── News Ticker ── */
.ticker-bar {
  background:var(--green);
  padding:8px 0; overflow:hidden;
}
.ticker-inner {
  max-width:1280px; margin:0 auto; padding:0 20px;
  display:flex; align-items:center; gap:16px;
}
.ticker-badge {
  background:var(--red); color:#fff;
  font-size:11px; font-weight:700; padding:3px 10px;
  border-radius:20px; flex-shrink:0; animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.7} }
.ticker-scroll { overflow:hidden; flex:1; min-width:0; }
.ticker-text {
  display:inline-block;
  white-space:nowrap; animation:scroll-left 35s linear infinite;
  color:rgba(255,255,255,.95); font-size:13px;
}
@keyframes scroll-left { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ── Hero Banner ── */
.hero {
  background:linear-gradient(135deg,var(--green) 0%,var(--green-mid) 50%,#004d22 100%);
  color:#fff; padding:48px 20px 40px; text-align:center;
  position:relative; overflow:hidden;
}
.hero::before {
  content:''; position:absolute; inset:0;
  background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { max-width:800px; margin:0 auto; position:relative; }
.hero-flag { font-size:56px; margin-bottom:12px; animation:wave .8s ease; }
@keyframes wave { 0%{transform:rotate(-10deg)} 50%{transform:rotate(10deg)} 100%{transform:rotate(0)} }
.hero h1 { font-size:34px; font-weight:700; margin-bottom:10px; font-family:'Tiro Bangla',serif; line-height:1.3; }
.hero p { font-size:16px; opacity:.9; max-width:560px; margin:0 auto 24px; }
.hero-actions { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.btn-hero-primary { background:#fff; color:var(--green); border-color:#fff; }
.btn-hero-primary:hover { background:var(--green-pale); border-color:var(--green-pale); color:var(--green); }
.btn-hero-ghost { background:rgba(255,255,255,.15); color:#fff; border-color:rgba(255,255,255,.4); }
.btn-hero-ghost:hover { background:rgba(255,255,255,.25); }

/* ── Stats Strip ── */
.stats-strip {
  background:var(--white); border-bottom:2px solid var(--border-light);
  box-shadow:var(--shadow-sm);
}
.stats-inner {
  max-width:1280px; margin:0 auto; padding:0 20px;
  display:grid; grid-template-columns:repeat(4,1fr);
}
.stat-item {
  padding:18px 16px; text-align:center;
  border-right:1px solid var(--border-light);
}
.stat-item:last-child { border-right:none; }
.stat-num { font-size:22px; font-weight:700; color:var(--green); }
.stat-lbl { font-size:12px; color:var(--muted); margin-top:2px; }

/* ── Layout ── */
.page-wrap { max-width:1280px; margin:0 auto; padding:28px 20px; }
.content-with-sidebar { display:grid; grid-template-columns:1fr 280px; gap:24px; align-items:start; }
.sidebar { display:flex; flex-direction:column; gap:20px; }

/* ── Cards ── */
.card {
  background:var(--white); border:1px solid var(--border-light);
  border-radius:var(--radius-lg); box-shadow:var(--shadow-sm);
  overflow:hidden; transition:box-shadow .2s, transform .2s;
}
.card:hover { box-shadow:var(--shadow-md); transform:translateY(-2px); }
.card-body { padding:22px; }
.card-header {
  padding:16px 22px; border-bottom:1px solid var(--border-light);
  display:flex; align-items:center; justify-content:space-between;
  background:var(--green-bg);
}
.card-header h3 { font-size:16px; font-weight:700; color:var(--green); }

/* ── Section Heading ── */
.sec-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; flex-wrap:wrap; gap:10px; }
.sec-head h2 {
  font-size:22px; font-weight:700; color:var(--dark);
  display:flex; align-items:center; gap:8px;
}
.sec-head h2::before { content:''; display:block; width:4px; height:22px; background:var(--green); border-radius:2px; }

/* ── Grids ── */
.grid-2 { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.grid-4 { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }

/* ── Page section tabs ── */
.page-section { display:none; animation:fadeIn .25s ease; }
.page-section.active { display:block; }
@keyframes fadeIn { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:translateY(0)} }

/* ── Inner tabs ── */
.itabs { display:flex; gap:4px; margin-bottom:22px; border-bottom:2px solid var(--border-light); }
.itab {
  padding:9px 18px; background:none; border:none; font-family:inherit;
  font-size:14px; color:var(--muted); cursor:pointer; font-weight:500;
  border-bottom:2px solid transparent; margin-bottom:-2px; transition:all .18s;
}
.itab.active { color:var(--green); font-weight:700; border-bottom-color:var(--green); }
.itab:hover { color:var(--green); background:var(--green-pale); border-radius:6px 6px 0 0; }
.ipane { display:none; animation:fadeIn .2s ease; }
.ipane.active { display:block; }

/* ── Bank card ── */
.bank-card {
  background:var(--white); border:2px solid var(--border-light);
  border-radius:var(--radius-lg); padding:22px; transition:all .2s;
  position:relative;
}
.bank-card:hover { border-color:var(--green); box-shadow:var(--shadow-md); transform:translateY(-2px); }
.bank-card.featured { border-color:var(--green); }
.bank-badge {
  position:absolute; top:14px; right:14px;
  background:var(--green); color:#fff; font-size:11px; font-weight:700;
  padding:3px 10px; border-radius:20px;
}
.bank-name { font-size:16px; font-weight:700; color:var(--dark); margin-bottom:4px; }
.bank-rate-box {
  background:var(--green-pale); border:1px solid var(--border);
  border-radius:10px; padding:12px 16px; text-align:center; margin:14px 0;
}
.bank-rate { font-size:30px; font-weight:700; color:var(--green); }
.bank-rate-lbl { font-size:12px; color:var(--muted); margin-top:2px; }
.bank-info-row { display:flex; justify-content:space-between; font-size:13px; padding:5px 0; border-bottom:1px dashed var(--border-light); }
.bank-info-row:last-of-type { border:none; }
.bank-info-lbl { color:var(--muted); }
.bank-info-val { font-weight:600; color:var(--dark); }
.bank-features { list-style:none; margin:12px 0; }
.bank-features li { font-size:13px; color:var(--text); padding:4px 0; display:flex; gap:7px; }
.bank-features li::before { content:'✓'; color:var(--green); font-weight:700; flex-shrink:0; }

/* ── Embassy ── */
.embassy-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.emb-card {
  background:var(--white); border:1px solid var(--border-light);
  border-radius:var(--radius); padding:16px; cursor:pointer;
  transition:all .2s; border-left:4px solid var(--green);
}
.emb-card:hover { box-shadow:var(--shadow-md); transform:translateY(-2px); }
.emb-top { display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.emb-flag { font-size:28px; }
.emb-country { font-size:15px; font-weight:700; color:var(--dark); }
.emb-city { font-size:12px; color:var(--muted); }
.emb-emergency { font-size:20px; font-weight:700; color:var(--red); font-family:monospace; }
.emb-detail { display:none; margin-top:10px; padding-top:10px; border-top:1px dashed var(--border); animation:fadeIn .2s ease; }
.emb-detail-row { display:flex; gap:6px; align-items:center; font-size:12px; color:var(--muted); padding:3px 0; }

/* ── Roaming ── */
.roaming-card {
  background:var(--white); border:1px solid var(--border-light);
  border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-sm);
}
.roaming-head { padding:16px 20px; display:flex; align-items:center; gap:12px; }
.roaming-op-name { font-size:17px; font-weight:700; }
.roaming-op-sub { font-size:12px; color:var(--muted); }
.roaming-body { padding:0 20px 20px; }
.rate-row { display:flex; gap:10px; margin:12px 0; }
.rate-box { flex:1; background:var(--green-pale); border:1px solid var(--border); border-radius:10px; padding:10px; text-align:center; }
.rate-box .rv { font-size:13px; font-weight:700; color:var(--dark); }
.rate-box .rl { font-size:11px; color:var(--muted); margin-top:2px; }
.pkg-table { width:100%; border-collapse:collapse; font-size:13px; margin-top:10px; }
.pkg-table th { background:var(--green-pale); color:var(--green); padding:7px 10px; text-align:left; font-size:12px; border-bottom:1px solid var(--border); }
.pkg-table td { padding:7px 10px; border-bottom:1px solid var(--border-light); color:var(--text); }
.pkg-table tr:last-child td { border:none; }
.tip-box { background:#fffde7; border:1px solid #f5d000; border-radius:8px; padding:10px 14px; font-size:13px; color:#5a4a00; margin-top:10px; }
.tip-box::before { content:'💡 '; }

/* ── Dollar endorsement ── */
.dollar-rule-card {
  background:var(--white); border:1px solid var(--border-light);
  border-radius:var(--radius); padding:16px; display:flex; gap:14px;
}
.dollar-icon { font-size:28px; flex-shrink:0; }
.dollar-title { font-size:15px; font-weight:700; color:var(--dark); }
.dollar-val { font-size:18px; font-weight:700; color:var(--green); margin:2px 0; }
.dollar-desc { font-size:13px; color:var(--muted); }
.step-list { list-style:none; }
.step-list li { display:flex; gap:12px; align-items:flex-start; padding:10px 0; border-bottom:1px dashed var(--border-light); }
.step-list li:last-child { border:none; }
.step-num {
  width:26px; height:26px; border-radius:50%; background:var(--green);
  color:#fff; font-size:12px; font-weight:700; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
}
.step-text { font-size:14px; color:var(--text); padding-top:2px; }
.doc-pills { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.doc-pill {
  background:var(--green-pale); border:1px solid var(--border);
  border-radius:20px; padding:5px 14px; font-size:13px; color:var(--green);
  display:flex; align-items:center; gap:5px;
}

/* ── News ── */
.news-card {
  background:var(--white); border:1px solid var(--border-light);
  border-radius:var(--radius); overflow:hidden; transition:all .2s;
}
.news-card:hover { box-shadow:var(--shadow-md); transform:translateY(-2px); }
.news-emoji { width:100%; height:100px; background:var(--green-pale); display:flex; align-items:center; justify-content:center; font-size:40px; }
.news-body { padding:14px; }
.news-title { font-size:14px; font-weight:700; color:var(--dark); margin-bottom:6px; line-height:1.45; }
.news-excerpt { font-size:12.5px; color:var(--muted); line-height:1.55; margin-bottom:10px; }
.news-meta { display:flex; gap:8px; align-items:center; }
.cat-badge {
  display:inline-block; padding:2px 9px; border-radius:20px; font-size:11px; font-weight:700;
  background:var(--green-pale); color:var(--green); border:1px solid var(--border);
}
.cat-badge.urgent { background:#fff0f0; color:var(--red); border-color:#ffcccc; }
.news-date { font-size:11px; color:var(--muted); }

/* ── Notice sidebar ── */
.notice-item { padding:12px 0; border-bottom:1px dashed var(--border-light); }
.notice-item:last-child { border:none; }
.notice-title { font-size:13px; font-weight:600; color:var(--dark); margin-bottom:3px; line-height:1.4; }
.notice-date { font-size:11px; color:var(--muted); }
.notice-urgent-dot { display:inline-block; width:7px; height:7px; border-radius:50%; background:var(--red); margin-right:5px; animation:pulse 1.5s infinite; }

/* ── Quick links ── */
.quick-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
.quick-item {
  background:var(--white); border:1px solid var(--border-light);
  border-radius:var(--radius); padding:14px 10px; text-align:center;
  text-decoration:none; transition:all .2s; cursor:pointer;
  display:block; font-family:inherit;
}
.quick-item:hover { background:var(--green-pale); border-color:var(--green); transform:translateY(-2px); box-shadow:var(--shadow-sm); }
.quick-item .qi { font-size:26px; display:block; margin-bottom:6px; }
.quick-item .ql { font-size:12px; font-weight:600; color:var(--text); }

/* ── Ad Block ── */
.ad-wrap { margin-bottom:16px; }
.ad-label { font-size:10px; color:var(--muted); text-align:center; margin-bottom:4px; letter-spacing:.5px; }

/* ── Subscribe modal ── */
.overlay {
  position:fixed; inset:0; background:rgba(0,0,0,.55);
  display:none; align-items:center; justify-content:center; z-index:999;
  backdrop-filter:blur(4px); animation:fadeIn .2s ease;
}
.overlay.open { display:flex; }
.modal {
  background:var(--white); border-radius:var(--radius-xl);
  padding:32px; width:min(95vw,440px);
  box-shadow:var(--shadow-lg); animation:slideUp .25s ease;
}
@keyframes slideUp { from{transform:translateY(20px);opacity:0} to{transform:translateY(0);opacity:1} }
.modal-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:18px; }
.modal-title { font-size:20px; font-weight:700; color:var(--dark); }
.modal-close { background:var(--green-pale); border:none; border-radius:50%; width:32px; height:32px; font-size:18px; cursor:pointer; color:var(--green); display:flex; align-items:center; justify-content:center; }
.form-group { margin-bottom:14px; }
.form-label { display:block; font-size:13px; font-weight:600; color:var(--muted); margin-bottom:5px; }
.form-input, .form-textarea, .form-select {
  width:100%; border:1.5px solid var(--border);
  border-radius:8px; padding:11px 14px; font-size:14px; font-family:inherit;
  color:var(--dark); background:var(--off-white); outline:none;
  transition:border-color .18s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color:var(--green); background:#fff; }
.form-textarea { resize:vertical; min-height:100px; }

/* ── Alert ── */
.alert { padding:12px 16px; border-radius:8px; font-size:14px; margin-bottom:14px; }
.alert-success { background:#e8f5ee; border:1px solid #a8d5b8; color:#1b5e20; }
.alert-error { background:#fff0f0; border:1px solid #ffb3b3; color:#b00020; }
.alert-info { background:#e3f2fd; border:1px solid #90caf9; color:#0d47a1; }

/* ── Chatbot ── */
.chat-fab {
  position:fixed; bottom:24px; right:24px;
  width:58px; height:58px; border-radius:50%;
  background:var(--green); border:3px solid #fff;
  box-shadow:0 6px 24px rgba(0,102,51,.35);
  cursor:pointer; font-size:26px; z-index:800;
  display:flex; align-items:center; justify-content:center;
  transition:transform .2s, background .2s;
}
.chat-fab:hover { transform:scale(1.1); background:var(--green-light); }
.chat-live { position:fixed; bottom:76px; right:18px; background:var(--red); color:#fff; font-size:10px; font-weight:700; border-radius:10px; padding:2px 7px; z-index:800; }
.chat-win {
  position:fixed; bottom:92px; right:24px;
  width:340px; height:490px;
  background:#fff; border:2px solid var(--green);
  border-radius:var(--radius-xl); display:none; flex-direction:column;
  box-shadow:var(--shadow-lg); z-index:801; overflow:hidden;
  animation:slideUp .25s ease;
}
.chat-win.open { display:flex; }
.chat-head {
  background:linear-gradient(135deg,var(--green),var(--green-light));
  padding:14px 16px; display:flex; align-items:center; justify-content:space-between;
}
.chat-head-info { display:flex; align-items:center; gap:10px; }
.chat-head-info h4 { color:#fff; font-size:14px; font-weight:700; }
.chat-head-info p { color:rgba(255,255,255,.8); font-size:11px; }
.chat-msgs { flex:1; overflow-y:auto; padding:14px; display:flex; flex-direction:column; gap:10px; }
.chat-msgs::-webkit-scrollbar { width:4px; }
.chat-msgs::-webkit-scrollbar-thumb { background:var(--border); border-radius:2px; }
.msg-user { background:var(--green); color:#fff; border-radius:16px 16px 4px 16px; padding:9px 13px; max-width:84%; align-self:flex-end; font-size:13.5px; line-height:1.55; }
.msg-ai { background:var(--green-pale); color:var(--text); border-radius:16px 16px 16px 4px; padding:9px 13px; max-width:84%; align-self:flex-start; font-size:13.5px; line-height:1.55; border:1px solid var(--border-light); }
.msg-typing { display:flex; gap:4px; padding:10px 13px; background:var(--green-pale); border-radius:16px 16px 16px 4px; width:fit-content; align-self:flex-start; }
.dot { width:7px; height:7px; border-radius:50%; background:var(--green); animation:bounce 1.1s infinite; }
.dot:nth-child(2){animation-delay:.18s} .dot:nth-child(3){animation-delay:.36s}
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }
.chat-foot { padding:10px 12px; border-top:1px solid var(--border-light); display:flex; gap:8px; }
.chat-in {
  flex:1; border:1.5px solid var(--border); border-radius:10px;
  padding:9px 12px; font-size:13px; font-family:inherit;
  color:var(--dark); outline:none; transition:border-color .15s;
}
.chat-in:focus { border-color:var(--green); }
.chat-send {
  width:38px; height:38px; background:var(--green); border:none;
  border-radius:10px; cursor:pointer; color:#fff; font-size:16px;
  display:flex; align-items:center; justify-content:center;
  transition:background .15s;
}
.chat-send:hover { background:var(--green-light); }

/* ── Admin ── */
.admin-layout { display:flex; min-height:100vh; }
.admin-sidebar {
  width:220px; background:var(--green); min-height:100vh;
  position:fixed; left:0; top:0; z-index:200;
  display:flex; flex-direction:column;
}
.admin-sidebar .logo { padding:18px 16px; border-bottom:1px solid rgba(255,255,255,.15); }
.admin-sidebar .logo h2 { color:#fff; font-size:15px; font-weight:700; }
.admin-sidebar .logo p { color:rgba(255,255,255,.7); font-size:11px; }
.admin-nav { flex:1; padding:12px 0; }
.admin-nav a {
  display:flex; align-items:center; gap:10px;
  padding:11px 16px; color:rgba(255,255,255,.8);
  font-size:14px; text-decoration:none; transition:all .15s;
}
.admin-nav a:hover, .admin-nav a.active { background:rgba(255,255,255,.12); color:#fff; }
.admin-nav a .nav-icon { font-size:16px; }
.admin-content { margin-left:220px; padding:28px; flex:1; }
.admin-topbar { display:flex; justify-content:space-between; align-items:center; margin-bottom:24px; }
.admin-topbar h1 { font-size:22px; font-weight:700; color:var(--dark); }
.admin-card { background:var(--white); border:1px solid var(--border-light); border-radius:var(--radius-lg); padding:24px; margin-bottom:20px; box-shadow:var(--shadow-sm); }
.admin-card h3 { font-size:16px; font-weight:700; color:var(--dark); margin-bottom:16px; padding-bottom:10px; border-bottom:1px solid var(--border-light); }
.data-table { width:100%; border-collapse:collapse; font-size:14px; }
.data-table th { background:var(--green-pale); padding:10px 14px; text-align:left; font-size:12px; color:var(--green); font-weight:700; border-bottom:2px solid var(--border); text-transform:uppercase; letter-spacing:.4px; }
.data-table td { padding:12px 14px; border-bottom:1px solid var(--border-light); color:var(--text); vertical-align:middle; }
.data-table tr:hover td { background:var(--green-bg); }
.admin-stat { background:var(--green-pale); border:1px solid var(--border); border-radius:var(--radius); padding:18px; text-align:center; }
.admin-stat .as-num { font-size:26px; font-weight:700; color:var(--green); }
.admin-stat .as-lbl { font-size:12px; color:var(--muted); margin-top:3px; }
.action-btn { padding:5px 12px; border-radius:6px; font-size:12px; font-weight:600; cursor:pointer; border:1.5px solid transparent; font-family:inherit; }
.btn-edit { background:#e3f2fd; color:#0d47a1; border-color:#90caf9; }
.btn-del { background:#fff0f0; color:var(--red); border-color:#ffb3b3; }
.btn-toggle { background:var(--green-pale); color:var(--green); border-color:var(--border); }

/* ── Footer ── */
.site-footer {
  background:var(--green); color:rgba(255,255,255,.85); margin-top:48px;
}
.footer-top { max-width:1280px; margin:0 auto; padding:36px 20px; display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:32px; }
.footer-brand h3 { color:#fff; font-size:17px; font-weight:700; margin-bottom:8px; }
.footer-brand p { font-size:13px; line-height:1.7; opacity:.8; }
.footer-col h4 { color:#fff; font-size:14px; font-weight:700; margin-bottom:12px; }
.footer-col ul { list-style:none; }
.footer-col ul li { margin-bottom:7px; }
.footer-col ul li a { color:rgba(255,255,255,.75); font-size:13px; }
.footer-col ul li a:hover { color:#fff; }
.footer-bottom {
  border-top:1px solid rgba(255,255,255,.15);
  max-width:1280px; margin:0 auto; padding:14px 20px;
  display:flex; justify-content:space-between; align-items:center;
  font-size:12px; color:rgba(255,255,255,.6); flex-wrap:wrap; gap:8px;
}

/* ── Welfare cards ── */
.welfare-card {
  background:var(--white); border:1px solid var(--border-light);
  border-radius:var(--radius-lg); padding:22px; text-align:center;
  transition:all .2s; border-top:4px solid var(--green);
}
.welfare-card:hover { box-shadow:var(--shadow-md); transform:translateY(-2px); }
.welfare-icon { font-size:36px; margin-bottom:10px; }
.welfare-amount { font-size:20px; font-weight:700; color:var(--green); margin-bottom:4px; }
.welfare-title { font-size:15px; font-weight:700; color:var(--dark); margin-bottom:6px; }
.welfare-desc { font-size:13px; color:var(--muted); line-height:1.55; }

/* ── Responsive ── */
@media (max-width:1024px) {
  .content-with-sidebar { grid-template-columns:1fr; }
  .footer-top { grid-template-columns:1fr 1fr; }
  .embassy-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:768px) {
  .stats-inner { grid-template-columns:repeat(2,1fr); }
  .grid-3, .grid-4 { grid-template-columns:repeat(2,1fr); }
  .grid-2 { grid-template-columns:1fr; }
  .quick-grid { grid-template-columns:repeat(3,1fr); }
  .main-nav { display:none; }
  .mobile-nav-toggle { display:flex; }
  .embassy-grid { grid-template-columns:1fr; }
  .hero h1 { font-size:24px; }
  .footer-top { grid-template-columns:1fr; }
  .admin-sidebar { display:none; }
  .admin-content { margin-left:0; }
}
@media (max-width:480px) {
  .stats-inner { grid-template-columns:1fr 1fr; }
  .grid-3, .grid-4 { grid-template-columns:1fr; }
  .quick-grid { grid-template-columns:repeat(2,1fr); }
  .chat-win { width:calc(100vw - 20px); right:10px; }
}

/* ── Clickable ticker items ── */
.ticker-item { color:#fff; text-decoration:none; cursor:pointer; }
.ticker-item:hover { text-decoration:underline; }
.ticker-sep { margin:0 10px; opacity:.6; }

/* ── News modal ── */
.news-modal { width:min(95vw,640px); max-height:85vh; overflow-y:auto; }
.news-modal .modal-head { position:sticky; top:0; background:#fff; z-index:2; padding-bottom:10px; }
.news-card:hover { transform:translateY(-2px); box-shadow:var(--shadow-md); }
.notice-item:hover { background:var(--green-pale); border-radius:8px; }
