/* =====================================================================
   গোল্ডকাপ অনূর্ধ্ব-১৮ — অ্যাডমিন থিম
   ===================================================================== */
:root {
  --brand: #006a4e;
  --brand-600: #005a42;
  --brand-700: #0a3d2f;
  --brand-900: #062a20;
  --brand-50: #e8f4ef;
  --gold: #c9971c;
  --gold-50: #fbf3df;
  --red: #d42a3c;
  --ink: #17231f;
  --muted: #6b7a74;
  --line: #e4ebe8;
  --bg: #f4f7f6;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 40, 32, .05), 0 4px 16px rgba(16, 40, 32, .05);
  --sidebar-w: 264px;
  --bs-body-font-family: 'Hind Siliguri', system-ui, sans-serif;
  --bs-primary: var(--brand);
  --bs-primary-rgb: 0, 106, 78;
  --bs-link-color: var(--brand);
  --bs-link-hover-color: var(--brand-700);
  --bs-border-color: var(--line);
}
body.admin { background: var(--bg); color: var(--ink); font-size: 15px; }
a { text-decoration: none; }
.text-muted { color: var(--muted) !important; }

/* ---------- layout ---------- */
.layout { display: flex; min-height: 100vh; }
.sidebar {
  width: var(--sidebar-w); flex: 0 0 var(--sidebar-w); position: fixed; inset: 0 auto 0 0; z-index: 1040;
  background: linear-gradient(180deg, var(--brand-700) 0%, var(--brand-900) 100%);
  color: #cfe3db; display: flex; flex-direction: column; transition: transform .25s ease;
}
.brand { display: flex; align-items: center; gap: 12px; padding: 20px 20px 18px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.07); }
.brand img { width: 42px; height: 42px; }
.brand strong { display: block; font-size: 19px; line-height: 1.1; color: #fff; }
.brand small { color: #f3cf6b; font-size: 12.5px; letter-spacing: .2px; }
.side-nav { flex: 1; overflow-y: auto; padding: 12px 12px 20px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent; }
.nav-group { font-size: 11.5px; text-transform: uppercase; letter-spacing: .6px; color: rgba(207,227,219,.5); padding: 16px 12px 6px; font-weight: 600; }
.nav-item { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; color: #cfe3db; font-size: 14.5px; margin-bottom: 2px; transition: background .15s, color .15s; }
.nav-item i { font-size: 17px; width: 20px; text-align: center; opacity: .85; }
.nav-item:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav-item.active { background: linear-gradient(90deg, rgba(201,151,28,.22), rgba(201,151,28,.06)); color: #fff; box-shadow: inset 3px 0 0 var(--gold); }
.nav-item.active i { color: #f3cf6b; opacity: 1; }
.side-foot { padding: 14px 20px; border-top: 1px solid rgba(255,255,255,.07); font-size: 13.5px; }
.side-foot a { color: #9fc4b6; }
.side-foot a:hover { color: #fff; }
.main { flex: 1; margin-left: var(--sidebar-w); min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 1020; height: 64px; display: flex; align-items: center; gap: 12px; padding: 0 28px; background: rgba(255,255,255,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.content { padding: 26px 28px 40px; flex: 1; }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 16px 28px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); background: #fff; }
.sidebar-backdrop { display: none; }
@media (max-width: 991.98px) {
  .sidebar { transform: translateX(-100%); }
  body.sidebar-open .sidebar { transform: none; box-shadow: 0 0 40px rgba(0,0,0,.3); }
  body.sidebar-open .sidebar-backdrop { display: block; position: fixed; inset: 0; background: rgba(6,42,32,.45); z-index: 1030; }
  .main { margin-left: 0; }
  .topbar, .content { padding-left: 16px; padding-right: 16px; }
}

/* ---------- topbar widgets ---------- */
.btn-icon { width: 40px; height: 40px; border-radius: 10px; display: inline-grid; place-items: center; font-size: 22px; border: 1px solid var(--line); background: #fff; }
.btn-tour { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 7px 14px; font-weight: 600; max-width: 320px; }
.tour-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.tour-dot.boys { background: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
.tour-dot.girls { background: #c2185b; box-shadow: 0 0 0 3px #fce4ec; }
.scope-chip { align-items: center; gap: 6px; background: var(--gold-50); color: #7a5a06; border-radius: 30px; padding: 5px 12px; font-size: 13px; font-weight: 500; }
.user-btn { display: flex; align-items: center; gap: 10px; border: 0; background: transparent; padding: 4px 6px; }
.user-btn strong { font-size: 14px; display: block; }
.user-btn small { font-size: 12px; color: var(--muted); }
.dropdown-menu { border: 1px solid var(--line); border-radius: 12px; padding: 6px; font-size: 14.5px; }
.dropdown-item { border-radius: 8px; padding: 8px 12px; }
.dropdown-item i { margin-right: 6px; }
.dropdown-item.active, .dropdown-item:active { background: var(--brand-50); color: var(--brand-700); }

/* ---------- page head ---------- */
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head h1 { font-size: 24px; font-weight: 700; margin: 0; color: var(--ink); }
.page-sub { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; }
.page-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 4px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs i { font-size: 10px; }

/* ---------- cards ---------- */
.card { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--card); }
.card-header { background: transparent; border-bottom: 1px solid var(--line); padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.card-header h5, .card-title { font-size: 16px; font-weight: 700; margin: 0; display: flex; align-items: center; gap: 8px; }
.card-header h5 i { color: var(--brand); }
.card-body { padding: 20px; }
.card-footer { background: #fafcfb; border-top: 1px solid var(--line); padding: 12px 20px; border-radius: 0 0 var(--radius) var(--radius); }

.stat-card { position: relative; overflow: hidden; padding: 18px 20px; display: flex; gap: 14px; align-items: center; }
.stat-card .stat-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; flex: none; }
.stat-card .stat-val { font-size: 26px; font-weight: 700; line-height: 1.1; }
.stat-card .stat-label { color: var(--muted); font-size: 13.5px; }
.stat-card .stat-foot { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.tone-green .stat-icon { background: var(--brand-50); color: var(--brand); }
.tone-gold .stat-icon { background: var(--gold-50); color: var(--gold); }
.tone-red .stat-icon { background: #fdecee; color: var(--red); }
.tone-blue .stat-icon { background: #e8f0fe; color: #1a5fd0; }
.tone-purple .stat-icon { background: #f1eafd; color: #6f42c1; }

.hero-card { background: radial-gradient(1200px 300px at 100% 0%, rgba(201,151,28,.35), transparent 60%), linear-gradient(120deg, var(--brand-700), var(--brand)); color: #fff; border: 0; }
.hero-card .text-muted { color: rgba(255,255,255,.7) !important; }

/* ---------- tables ---------- */
.table { --bs-table-bg: transparent; margin: 0; font-size: 14.5px; }
.table > thead th { background: #f6f9f8; color: #4a5a54; font-weight: 600; font-size: 13px; border-bottom: 1px solid var(--line); white-space: nowrap; padding: 11px 14px; }
.table > tbody td { padding: 11px 14px; vertical-align: middle; border-color: #eef3f1; }
.table-hover > tbody > tr:hover > * { --bs-table-bg-state: #f7fbf9; }
.table .actions { white-space: nowrap; text-align: right; }
.table-card { overflow: hidden; }
.table-responsive { border-radius: 0 0 var(--radius) var(--radius); }
.cell-title { font-weight: 600; color: var(--ink); }
.cell-sub { font-size: 12.5px; color: var(--muted); }

/* ---------- badges ---------- */
.badge-soft { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 30px; white-space: nowrap; line-height: 1.5; }
.badge-success { background: #e3f4ec; color: #0b7a4f; }
.badge-warning { background: #fff4d6; color: #8a6100; }
.badge-danger { background: #fde8ea; color: #b4202f; }
.badge-info { background: #e5f1fb; color: #1765a8; }
.badge-primary { background: var(--brand-50); color: var(--brand-700); }
.badge-secondary { background: #eef1f0; color: #56645f; }
.badge-gold { background: var(--gold-50); color: #7a5a06; }

/* ---------- buttons & forms ---------- */
.btn { border-radius: 10px; font-weight: 500; padding: 7px 16px; }
.btn-sm { padding: 4px 11px; border-radius: 8px; font-size: 13.5px; }
.btn-primary { --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: var(--brand-600); --bs-btn-hover-border-color: var(--brand-600); --bs-btn-active-bg: var(--brand-700); --bs-btn-disabled-bg: var(--brand); --bs-btn-disabled-border-color: var(--brand); }
.btn-outline-primary { --bs-btn-color: var(--brand); --bs-btn-border-color: #b9d8cc; --bs-btn-hover-bg: var(--brand); --bs-btn-hover-border-color: var(--brand); --bs-btn-active-bg: var(--brand-700); }
.btn-gold { background: linear-gradient(135deg, #e0b23a, var(--gold)); color: #3d2c00; border: 0; }
.btn-gold:hover { filter: brightness(1.05); color: #2d2000; }
.btn-light { background: #fff; border: 1px solid var(--line); }
.btn-light:hover { background: #f6f9f8; border-color: #d5dfdb; }
.form-label { font-weight: 600; font-size: 13.5px; color: #3b4a44; margin-bottom: 5px; }
.form-label .req { color: var(--red); }
.form-control, .form-select { border-radius: 10px; border-color: #d9e3df; font-size: 14.5px; padding: 8px 12px; }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(0,106,78,.12); }
.form-text { font-size: 12.5px; color: var(--muted); }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.form-section { font-size: 14px; font-weight: 700; color: var(--brand-700); display: flex; align-items: center; gap: 8px; margin: 6px 0 14px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.ts-wrapper.form-select, .ts-wrapper.form-control { padding: 0; }
.ts-control { border-radius: 10px !important; border-color: #d9e3df !important; padding: 8px 12px !important; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.filter-bar > * { flex: 1 1 160px; }
.filter-bar .btn { flex: 0 0 auto; }

/* ---------- flash ---------- */
.flash { display: flex; gap: 10px; align-items: flex-start; border: 0; border-radius: 12px; box-shadow: var(--shadow); }
.flash > i { font-size: 18px; margin-top: 1px; }

/* ---------- avatar ---------- */
.avatar { border-radius: 50%; object-fit: cover; flex: none; background: #eef3f1; }
.avatar-sm { width: 34px; height: 34px; }
.avatar-md { width: 42px; height: 42px; }
.avatar-lg { width: 96px; height: 96px; }
.avatar-xl { width: 140px; height: 140px; border-radius: 16px; }
.avatar-text { display: inline-grid; place-items: center; background: linear-gradient(135deg, var(--brand), #0d8c69); color: #fff; font-weight: 600; font-size: 14px; }
.avatar-lg.avatar-text { font-size: 32px; }
.avatar-xl.avatar-text { font-size: 44px; }

/* ---------- empty / misc ---------- */
.empty-state { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty-state i { font-size: 44px; color: #b8cbc4; display: block; margin-bottom: 10px; }
.empty-state h5, .empty-state h6 { color: var(--ink); font-weight: 600; }
.kv { display: grid; grid-template-columns: minmax(130px, 38%) 1fr; gap: 8px 14px; font-size: 14.5px; margin: 0; }
.kv dt { color: var(--muted); font-weight: 500; }
.kv dd { margin: 0; font-weight: 500; }
.progress { height: 8px; border-radius: 10px; background: #edf2f0; }
.progress-bar { background: var(--brand); }
.rule-list { list-style: none; padding: 0; margin: 0; }
.rule-list li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.rule-list li:last-child { border-bottom: 0; }
.rule-list li span:first-child { color: var(--muted); min-width: 120px; }
.check-item { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; font-size: 14px; }
.check-item i { font-size: 18px; }
.check-ok i { color: #0b7a4f; } .check-bad i { color: var(--red); } .check-warn i { color: #c48a00; }
.nav-tabs-line { border-bottom: 1px solid var(--line); gap: 4px; }
.nav-tabs-line .nav-link { border: 0; border-bottom: 2px solid transparent; color: var(--muted); font-weight: 600; padding: 10px 14px; border-radius: 0; }
.nav-tabs-line .nav-link.active { color: var(--brand); border-bottom-color: var(--brand); background: transparent; }
.stage-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 30px; background: #eef4ff; color: #2b4f9a; font-size: 12.5px; font-weight: 600; }
.stage-1 { background: #eef6f2; color: #1d6b4c; } .stage-2 { background: #eef4ff; color: #2b4f9a; } .stage-3 { background: #f6efff; color: #6234a8; } .stage-4 { background: var(--gold-50); color: #7a5a06; }
.list-clean { list-style: none; margin: 0; padding: 0; }
.timeline-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f0f4f2; font-size: 14px; }
.timeline-item:last-child { border-bottom: 0; }
.timeline-item .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); flex: none; }

/* ---------- match card ---------- */
.match-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; }
.match-row .team { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.match-row .team.right { justify-content: flex-end; text-align: right; }
.match-row .team.win { color: var(--brand-700); }
.score-box { min-width: 86px; text-align: center; background: var(--brand-700); color: #fff; border-radius: 10px; padding: 4px 10px; font-weight: 700; font-size: 15px; }
.score-box.vs { background: #eef3f1; color: var(--muted); font-weight: 600; }
.score-big { font-size: 42px; font-weight: 700; line-height: 1; }

/* ---------- bracket ---------- */
.bracket-wrap { overflow-x: auto; padding-bottom: 8px; }
.bracket { display: flex; gap: 34px; min-width: max-content; padding: 6px 4px; }
.bracket-round { display: flex; flex-direction: column; width: 220px; }
.bracket-round-title { text-align: center; font-weight: 700; font-size: 13.5px; color: var(--brand-700); background: var(--brand-50); border-radius: 8px; padding: 6px; margin-bottom: 12px; }
.bracket-matches { display: flex; flex-direction: column; justify-content: space-around; flex: 1; gap: 14px; }
.bracket-match { display: block; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.03); position: relative; color: inherit; transition: border-color .15s, box-shadow .15s; }
a.bracket-match:hover { border-color: var(--brand); box-shadow: 0 4px 14px rgba(0,106,78,.12); color: inherit; }
.bracket-match.st-bye { opacity: .6; }
.bm-meta { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); padding: 3px 10px; background: #f8faf9; border-bottom: 1px solid var(--line); }
.bm-team { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px; font-size: 13.5px; gap: 8px; }
.bm-team + .bm-team { border-top: 1px solid #f0f4f2; }
.bm-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bm-score { font-weight: 700; min-width: 18px; text-align: right; }
.bm-score small { font-weight: 500; color: var(--muted); margin-left: 2px; }
.bm-team.win { background: #f0f8f4; font-weight: 700; color: var(--brand-700); }
.bracket-champ .bracket-matches { justify-content: center; }
.champ-card { text-align: center; padding: 18px 12px; border-radius: 14px; background: linear-gradient(160deg, #fff8e1, #f6e2a8); border: 1px solid #eed38a; font-weight: 700; color: #6b4e00; }
.champ-card i { font-size: 34px; color: var(--gold); display: block; margin-bottom: 6px; }

/* ---------- area picker ---------- */
.area-picker .form-select { font-size: 14px; }

/* ---------- login ---------- */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; background: #fff; }
.auth-art { position: relative; overflow: hidden; background: radial-gradient(800px 400px at 80% 10%, rgba(201,151,28,.45), transparent 60%), linear-gradient(150deg, var(--brand-900), var(--brand) 70%); color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: space-between; }
.auth-art::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255,255,255,.05); }
.auth-art h2 { font-size: 36px; font-weight: 700; line-height: 1.3; }
.auth-art p { color: rgba(255,255,255,.75); font-size: 16px; max-width: 460px; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-box { width: 100%; max-width: 400px; }
@media (max-width: 860px) { .auth-page { grid-template-columns: 1fr; } .auth-art { display: none; } }

/* ---------- print ---------- */
@media print {
  .sidebar, .topbar, .foot, .page-actions, .no-print, .flash { display: none !important; }
  .main { margin: 0; }
  .content { padding: 0; }
  body.admin { background: #fff; }
  .card { box-shadow: none; border: 0; }
}

/* =====================================================================
   পলিশ লেয়ার — অ্যাডমিন প্যানেল
   ===================================================================== */
body.admin { background: radial-gradient(1200px 500px at 100% -10%, rgba(201,151,28,.07), transparent 60%), radial-gradient(900px 500px at 0% 0%, rgba(0,106,78,.06), transparent 60%), var(--bg); background-attachment: fixed; }

/* সাইডবার: সূক্ষ্ম প্যাটার্ন ও উজ্জ্বল সক্রিয় আইটেম */
.sidebar { background: radial-gradient(400px 260px at 0% 0%, rgba(243,207,107,.14), transparent 70%), linear-gradient(180deg, #0c4535 0%, var(--brand-900) 100%); box-shadow: 4px 0 30px rgba(6,42,32,.18); }
.sidebar::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 18px 18px; mask-image: linear-gradient(180deg, #000, transparent 70%); }
.brand img { filter: drop-shadow(0 4px 10px rgba(0,0,0,.3)); }
.nav-item { transition: background .15s, color .15s, transform .15s; }
.nav-item:hover { transform: translateX(3px); }
.nav-item.active { background: linear-gradient(90deg, rgba(243,207,107,.25), rgba(243,207,107,.04)); box-shadow: inset 3px 0 0 #f3cf6b, 0 6px 16px rgba(0,0,0,.12); }
.nav-group { display: flex; align-items: center; gap: 8px; }
.nav-group::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.07); }

/* টপবার */
.topbar { box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(16,40,32,.04); }
.btn-tour, .user-btn { transition: box-shadow .15s, border-color .15s; }
.btn-tour:hover { border-color: #bcdccf; box-shadow: 0 4px 14px rgba(0,106,78,.08); }
.user-btn .avatar { box-shadow: 0 0 0 3px #fff, 0 0 0 4px #d8ebe3; }

/* পেজ শিরোনাম */
.page-head h1 { font-size: 26px; letter-spacing: -.2px; }
.content > *:not(.modal) { animation: pageIn .35s ease backwards; }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } }

/* কার্ড */
body.admin .card { border-radius: 16px; transition: box-shadow .2s, transform .2s; }
.card-header h5 i { width: 30px; height: 30px; border-radius: 9px; display: inline-grid; place-items: center; background: var(--brand-50); font-size: 15px; }
.stat-card { border-radius: 16px; }
a.stat-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(16,40,32,.10); }
.stat-card::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 110px; height: 110px; border-radius: 50%; background: currentColor; opacity: .03; }
.stat-card .stat-icon { width: 52px; height: 52px; border-radius: 14px; font-size: 23px; }
.tone-green .stat-icon { background: linear-gradient(135deg, #00875f, #006a4e); color: #fff; box-shadow: 0 8px 18px rgba(0,106,78,.28); }
.tone-gold .stat-icon { background: linear-gradient(135deg, #f0c650, #c9971c); color: #3d2c00; box-shadow: 0 8px 18px rgba(201,151,28,.3); }
.tone-red .stat-icon { background: linear-gradient(135deg, #ef4a5c, #c41e30); color: #fff; box-shadow: 0 8px 18px rgba(212,42,60,.28); }
.tone-blue .stat-icon { background: linear-gradient(135deg, #3b82f6, #1a5fd0); color: #fff; box-shadow: 0 8px 18px rgba(26,95,208,.28); }
.tone-purple .stat-icon { background: linear-gradient(135deg, #9061f9, #6f42c1); color: #fff; box-shadow: 0 8px 18px rgba(111,66,193,.28); }
.stat-card .stat-val { font-size: 28px; }

/* হিরো কার্ড */
.hero-card { position: relative; overflow: hidden; box-shadow: 0 16px 40px rgba(6,42,32,.22); }
.hero-card::after { content: ""; position: absolute; right: -90px; bottom: -150px; width: 360px; height: 360px; border-radius: 50%; border: 56px solid rgba(255,255,255,.05); box-shadow: 0 0 0 40px rgba(255,255,255,.025); pointer-events: none; }
.hero-card .card-body { position: relative; z-index: 1; }

/* টেবিল */
.table > thead th { position: sticky; top: 0; z-index: 1; text-transform: none; letter-spacing: .2px; background: linear-gradient(180deg, #f8fbfa, #f1f6f4); }
.table-hover > tbody > tr { transition: background .12s; }
.table-hover > tbody > tr:hover > * { --bs-table-bg-state: #f2f9f6; }
.table > tbody tr:last-child td { border-bottom: 0; }

/* বাটন ও ফর্ম */
.btn-primary { background-image: linear-gradient(135deg, #00875f, var(--brand)); box-shadow: 0 4px 14px rgba(0,106,78,.25); border: 0; }
.btn-primary:hover { background-image: linear-gradient(135deg, var(--brand), var(--brand-700)); box-shadow: 0 6px 18px rgba(0,106,78,.32); }
.btn-gold { box-shadow: 0 4px 14px rgba(201,151,28,.3); }
.btn { transition: all .15s; }
.btn:active { transform: scale(.98); }
.form-control, .form-select { background-color: #fbfdfc; transition: border-color .15s, box-shadow .15s, background-color .15s; }
.form-control:focus, .form-select:focus { background-color: #fff; }
.form-section { font-size: 15px; }
.form-section i { width: 28px; height: 28px; border-radius: 8px; display: inline-grid; place-items: center; background: var(--brand-50); color: var(--brand); }

/* ট্যাব */
.nav-tabs-line .nav-link { transition: color .15s; }
.nav-tabs-line .nav-link:hover { color: var(--brand-700); }
.nav-tabs-line .nav-link.active { border-bottom-width: 3px; }

/* মোডাল ও ড্রপডাউন */
.modal-content { border: 0; border-radius: 18px; box-shadow: 0 30px 80px rgba(6,42,32,.25); }
.modal-header { border-bottom: 1px solid var(--line); padding: 18px 22px; }
.modal-header .modal-title { font-weight: 700; }
.modal-footer { border-top: 1px solid var(--line); background: #fafcfb; border-radius: 0 0 18px 18px; }
.dropdown-menu { box-shadow: 0 16px 40px rgba(16,40,32,.12) !important; animation: dropIn .15s ease; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-4px); } }

/* লগইন পেজ */
.auth-art::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 22px 22px; }
.auth-art > * { position: relative; z-index: 1; }
.auth-box h3 { font-size: 28px; }
.auth-form { background: radial-gradient(600px 300px at 100% 0%, rgba(201,151,28,.08), transparent 60%); }

/* ব্র্যাকেট */
.bracket-match { border-radius: 12px; }
.champ-card { box-shadow: 0 10px 30px rgba(201,151,28,.25); }

/* কাস্টম স্ক্রলবার */
body.admin ::-webkit-scrollbar { width: 10px; height: 10px; }
body.admin ::-webkit-scrollbar-thumb { background: #c9d8d2; border-radius: 10px; border: 2px solid transparent; background-clip: padding-box; }
body.admin ::-webkit-scrollbar-thumb:hover { background-color: #9fb9ae; }
@media (prefers-reduced-motion: reduce) { .content > *, .dropdown-menu { animation: none; } }
.report-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(16,40,32,.10); border-color: #bcdccf; }
.report-card .stat-card::after { display: none; }
.top-search { align-items: center; gap: 8px; background: #f4f7f6; border: 1px solid var(--line); border-radius: 12px; padding: 0 10px; height: 40px; width: min(420px, 38vw); transition: border-color .15s, box-shadow .15s, background .15s; }
.top-search:focus-within { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(0,106,78,.1); }
.top-search i { color: var(--muted); }
.top-search input { border: 0; outline: 0; background: transparent; flex: 1; font-size: 14px; min-width: 0; }
.top-search kbd { background: #fff; color: var(--muted); border: 1px solid var(--line); font-size: 11px; padding: 1px 6px; }

/* =====================================================================
   সাধারণ কন্ট্রোল — ড্রপডাউন, ফাইল আপলোড, ফিল্টার বার (পাবলিক ও অ্যাডমিন)
   ===================================================================== */
/* .card নিজে flex-column — ফিল্টার বারকে আবার সারিতে আনা */
.filter-bar { flex-direction: row; }

/* বোতাম: গ্রেডিয়েন্ট ও রঙিন ছায়া বাদ */
.btn-primary, .btn-primary:hover { background-image: none; box-shadow: none; }
.btn-primary { background-color: var(--brand); }
.btn-primary:hover { background-color: var(--brand-700); }
.btn-gold { background: #e2b33c; box-shadow: none; }
.btn-gold:hover { background: #d4a42c; filter: none; }

/* ড্রপডাউন (select) */
.form-select {
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background-color: #fff; color: #1d2420; font-weight: 500;
  border: 1px solid #cfd8d4; padding: 9px 40px 9px 12px; min-height: 42px;
  background-image: linear-gradient(#e3e9e6, #e3e9e6), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230a3d2f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: right 34px center, right 12px center;
  background-size: 1px 55%, 11px 8px;
  transition: border-color .15s, box-shadow .15s;
}
.form-select:hover { border-color: #9fb5ab; }
.form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,106,78,.14); background-color: #fff; }
.form-select:disabled { cursor: not-allowed; background-color: #f1f3f2; color: #98a39e; border-color: #e1e6e4; opacity: 1; }
.form-select-sm { min-height: 34px; padding: 5px 36px 5px 10px; font-size: 13.5px; background-position: right 30px center, right 10px center; }
.form-select[multiple], .form-select[size]:not([size="1"]) { background-image: none; padding-right: 12px; }
.form-select option { color: #1d2420; background: #fff; font-weight: 500; }
.form-select option:checked { background: #e8f4ef; color: #0a3d2f; }

/* Tom Select (সার্চযোগ্য ড্রপডাউন) */
.ts-wrapper.single .ts-control { background-color: #fff !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230a3d2f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 12px center !important; background-size: 11px 8px !important; padding-right: 34px !important; min-height: 42px; }
.ts-wrapper.focus .ts-control { border-color: var(--brand) !important; box-shadow: 0 0 0 3px rgba(0,106,78,.14) !important; }
.ts-dropdown { border: 1px solid #cfd8d4 !important; border-radius: 8px !important; box-shadow: 0 12px 28px rgba(16,40,32,.12) !important; margin-top: 4px !important; overflow: hidden; }
.ts-dropdown .option { padding: 8px 12px !important; }
.ts-dropdown .active { background: #e8f4ef !important; color: #0a3d2f !important; }
.ts-dropdown .dropdown-input { border-radius: 6px; margin: 6px; width: calc(100% - 12px); }

/* Bootstrap ড্রপডাউন মেনু */
.dropdown-menu { border: 1px solid #d9e1dd; border-radius: 8px; padding: 6px; box-shadow: 0 12px 28px rgba(16,40,32,.12) !important; min-width: 12rem; }
.dropdown-item { border-radius: 5px; padding: 8px 12px; font-weight: 500; color: #26322d; }
.dropdown-item:hover, .dropdown-item:focus { background: #f1f5f3; color: #0a3d2f; }
.dropdown-item.active, .dropdown-item:active { background: var(--brand); color: #fff; }
.dropdown-divider { margin: 6px -6px; border-color: #e6ebe9; }
.dropdown-header { font-size: 12px; font-weight: 700; color: #7b8782; padding: 6px 12px; }

/* ফাইল আপলোড — ব্রাউজ/টেনে-আনার বক্স (admin.js এটি তৈরি করে) */
.file-drop { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px dashed #b9c9c2; border-radius: 8px; background: #fbfcfb; transition: border-color .15s, background-color .15s; cursor: pointer; }
.file-drop:hover, .file-drop.drag { border-color: var(--brand); background: #f1f8f5; }
.file-drop:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,106,78,.14); }
.file-drop input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 2; }
.file-drop .fd-icon { flex: none; width: 42px; height: 42px; border-radius: 6px; display: grid; place-items: center; background: #fff; border: 1px solid #d9e3df; color: var(--brand); font-size: 20px; }
.file-drop .fd-text { flex: 1; min-width: 0; line-height: 1.35; }
.file-drop .fd-title { font-weight: 600; font-size: 14.5px; color: #1d2420; }
.file-drop .fd-title u { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.file-drop .fd-sub { font-size: 12.5px; color: #7b8782; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-drop .fd-btn { flex: none; font-size: 13.5px; font-weight: 600; padding: 6px 14px; border-radius: 5px; background: #fff; border: 1px solid #cfd8d4; color: #26322d; }
.file-drop:hover .fd-btn { border-color: var(--brand); color: var(--brand); }
.file-drop.has-file { border-style: solid; border-color: #9cc9b6; background: #f3faf6; }
.file-drop.has-file .fd-icon { background: var(--brand); border-color: var(--brand); color: #fff; }
.file-drop.compact { flex-direction: column; text-align: center; gap: 8px; padding: 14px 12px; }
.file-drop.compact .fd-sub { white-space: normal; }
@media (max-width: 420px) { .file-drop .fd-btn { display: none; } }

/* তারিখ নির্বাচক (flatpickr) — ui.js */
.fp-alt.form-control, .fp-alt.form-control[readonly] { background-color: #fff; cursor: pointer; padding-left: 38px; min-height: 42px; font-weight: 500;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23006a4e'%3E%3Cpath d='M4.5 0a.5.5 0 0 1 .5.5V1h6V.5a.5.5 0 0 1 1 0V1h1.5A1.5 1.5 0 0 1 15 2.5v11a1.5 1.5 0 0 1-1.5 1.5h-11A1.5 1.5 0 0 1 1 13.5v-11A1.5 1.5 0 0 1 2.5 1H4V.5a.5.5 0 0 1 .5-.5zM2 5v8.5a.5.5 0 0 0 .5.5h11a.5.5 0 0 0 .5-.5V5H2zm2 2h2v2H4V7zm3 0h2v2H7V7zm3 0h2v2h-2V7zm-6 3h2v2H4v-2zm3 0h2v2H7v-2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 12px center; background-size: 16px; }
.fp-alt.form-control:hover { border-color: #9fb5ab; }
.fp-alt.form-control.active { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,106,78,.14); }
.fp-wrap { position: relative; display: block; }
.fp-wrap .fp-alt { padding-right: 34px; }
.fp-clear { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border: 0; border-radius: 4px; background: transparent; color: #7b8782; display: none; place-items: center; font-size: 18px; line-height: 1; }
.fp-clear:hover { background: #f1f5f3; color: var(--red); }
.fp-wrap.has-value .fp-clear { display: grid; }
.flatpickr-calendar { font-family: 'Hind Siliguri', system-ui, sans-serif; border-radius: 8px; border: 1px solid #d9e1dd; box-shadow: 0 14px 34px rgba(16,40,32,.16); width: 308px; padding: 4px 4px 8px; }
.flatpickr-calendar.arrowTop::before, .flatpickr-calendar.arrowTop::after, .flatpickr-calendar.arrowBottom::before, .flatpickr-calendar.arrowBottom::after { display: none; }
.flatpickr-calendar.open { margin-top: 4px; }
.flatpickr-months { padding: 4px 0 6px; border-bottom: 1px solid #edf1ef; margin-bottom: 4px; }
.flatpickr-months .flatpickr-month { height: 38px; color: #0a3d2f; fill: #0a3d2f; }
.flatpickr-current-month { font-size: 15px; font-weight: 600; padding-top: 6px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.flatpickr-current-month .flatpickr-monthDropdown-months { font-weight: 600; border-radius: 5px; padding: 2px 4px; }
.flatpickr-current-month .flatpickr-monthDropdown-months:hover, .flatpickr-current-month input.cur-year:hover { background: #f1f5f3; }
.flatpickr-current-month input.cur-year { font-weight: 600; }
.flatpickr-months .flatpickr-prev-month, .flatpickr-months .flatpickr-next-month { top: 6px; height: 34px; width: 34px; padding: 9px; border-radius: 6px; margin: 0 4px; }
.flatpickr-months .flatpickr-prev-month:hover, .flatpickr-months .flatpickr-next-month:hover { background: #f1f5f3; }
.flatpickr-months .flatpickr-prev-month:hover svg, .flatpickr-months .flatpickr-next-month:hover svg { fill: var(--brand); }
span.flatpickr-weekday { color: #7b8782; font-weight: 600; font-size: 12.5px; }
.flatpickr-innerContainer, .flatpickr-rContainer, .flatpickr-days, .dayContainer { width: 100%; min-width: 0; max-width: none; }
.flatpickr-day { border-radius: 6px; color: #26322d; font-weight: 500; max-width: none; height: 38px; line-height: 38px; }
.flatpickr-day:hover, .flatpickr-day:focus { background: #eef5f2; border-color: transparent; }
.flatpickr-day.today { border-color: #c8102e; color: #c8102e; font-weight: 700; }
.flatpickr-day.today:hover { background: #fdf0f2; color: #c8102e; }
.flatpickr-day.selected, .flatpickr-day.selected:hover, .flatpickr-day.selected:focus { background: var(--brand); border-color: var(--brand); color: #fff; }
.flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay { color: #b8c2be; }
.flatpickr-day.flatpickr-disabled, .flatpickr-day.flatpickr-disabled:hover { color: #d0d6d3; background: transparent; }

/* =====================================================================
   লগইন পাতা — মাঝখানে একটি কার্ড
   ===================================================================== */
body.login { min-height: 100vh; margin: 0; display: flex; flex-direction: column; background: #f4f2ec; color: #1d2420; }
.login-flag { height: 6px; background: linear-gradient(90deg, #0d4a37 0 82%, #c8102e 82% 100%); }
.login-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 16px; }
.login-wrap { width: 100%; max-width: 410px; }
.login-brand { text-align: center; margin-bottom: 22px; }
.login-brand img { width: 68px; height: 68px; }
.login-brand strong { display: block; font-family: 'Noto Serif Bengali', 'Hind Siliguri', serif; font-size: 21px; color: #0d4a37; margin-top: 10px; line-height: 1.35; }
.login-brand span { display: block; font-size: 14px; color: #8a6a12; font-weight: 600; }
.login-card { background: #fff; border: 1px solid #ddd8cc; border-radius: 8px; padding: 28px 28px 22px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.login-card h1 { font-size: 18px; font-weight: 700; margin: 0 0 4px; }
.login-card .lead-sm { font-size: 14px; color: #6f7a75; margin-bottom: 20px; }
.login-card .form-label { font-size: 14px; color: #2c3833; }
.login-field { display: flex; align-items: center; border: 1px solid #cfd8d4; border-radius: 6px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.login-field:focus-within { border-color: #006a4e; box-shadow: 0 0 0 3px rgba(0,106,78,.14); }
.login-field > i { padding: 0 2px 0 13px; color: #7b8782; font-size: 17px; }
.login-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; height: 46px; padding: 0 12px 0 10px; font-size: 15px; color: #1d2420; border-radius: 6px; }
.login-field input:-webkit-autofill, .login-field input:-webkit-autofill:hover, .login-field input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 60px #fff inset; -webkit-text-fill-color: #1d2420; caret-color: #1d2420; }
.login-field .pw-toggle { border: 0; background: transparent; color: #7b8782; height: 46px; width: 44px; border-radius: 0 6px 6px 0; }
.login-field .pw-toggle:hover { color: #006a4e; }
.login-card .btn-primary { height: 46px; border-radius: 6px; font-size: 16px; font-weight: 600; margin-top: 6px; }
.login-alert { display: flex; gap: 8px; align-items: flex-start; background: #fdf1f2; border: 1px solid #f3c9cf; border-left: 3px solid #c8102e; color: #8f1424; border-radius: 6px; padding: 10px 12px; font-size: 14px; margin-bottom: 18px; }
.login-alert i { margin-top: 1px; }
.login-note { display: flex; gap: 8px; font-size: 12.5px; color: #7b8782; margin-top: 18px; padding-top: 14px; border-top: 1px solid #ece8de; }
.login-back { display: block; text-align: center; margin-top: 18px; font-size: 14px; color: #4b5752; }
.login-back:hover { color: #006a4e; }
.login-foot { text-align: center; font-size: 12.5px; color: #8b948f; padding: 18px 16px 22px; }

/* =====================================================================
   কাস্টম ড্রপডাউন (ui.js) — নেটিভ select নিচে লুকানো থাকে
   ===================================================================== */
.dd { position: relative; display: block; width: 100%; }
.dd > select.form-select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.dd-btn { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 42px; padding: 8px 12px; text-align: left;
  background: #fff; border: 1px solid #cfd8d4; border-radius: 6px; color: #1d2420; font: inherit; font-size: 14.5px; font-weight: 500; cursor: pointer;
  transition: border-color .15s, box-shadow .15s; }
.dd-btn:hover { border-color: #9fb5ab; }
.dd-btn:focus-visible, .dd.open .dd-btn { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,106,78,.14); }
.dd-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-label.dd-placeholder { color: #8b948f; font-weight: 400; }
.dd-caret { flex: none; font-size: 13px; color: #4b5752; transition: transform .15s; }
.dd.open .dd-caret { transform: rotate(180deg); color: var(--brand); }
.dd.is-disabled .dd-btn { background: #f1f3f2; color: #98a39e; border-color: #e1e6e4; cursor: not-allowed; }
.dd.is-invalid .dd-btn { border-color: var(--red); box-shadow: 0 0 0 3px rgba(212,42,60,.1); }
.dd-sm .dd-btn { min-height: 34px; padding: 4px 10px; font-size: 13.5px; }
.dd-panel { position: fixed; z-index: 2000; max-width: min(420px, calc(100vw - 16px)); background: #fff; border: 1px solid #d3dbd7; border-radius: 8px;
  box-shadow: 0 14px 34px rgba(16,40,32,.16), 0 2px 6px rgba(16,40,32,.06); padding: 6px; font-family: 'Hind Siliguri', system-ui, sans-serif; animation: ddIn .12s ease-out; }
.dd-panel.up { animation-name: ddUp; }
@keyframes ddIn { from { opacity: 0; transform: translateY(-4px); } }
@keyframes ddUp { from { opacity: 0; transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .dd-panel { animation: none; } }
.dd-search { width: 100%; height: 36px; border: 1px solid #d9e1dd; border-radius: 5px; padding: 0 10px 0 32px; margin-bottom: 6px; font: inherit; font-size: 14px; outline: 0;
  background: #f8faf9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237b8782'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E") no-repeat 10px center / 14px; }
.dd-search:focus { border-color: var(--brand); background-color: #fff; }
.dd-list { position: relative; max-height: 270px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.dd-opt { position: relative; padding: 8px 32px 8px 10px; border-radius: 5px; font-size: 14.5px; color: #26322d; cursor: pointer; line-height: 1.4; }
.dd-opt.active { background: #f0f6f3; color: #0a3d2f; }
.dd-opt.selected { font-weight: 600; color: var(--brand); }
.dd-opt.selected::after { content: ""; position: absolute; right: 12px; top: 50%; width: 10px; height: 6px; margin-top: -5px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.dd-opt.dd-empty-opt { color: #8b948f; }
.dd-opt.disabled { color: #b8c2be; cursor: not-allowed; background: none; }
.dd-group { padding: 8px 10px 4px; font-size: 12px; font-weight: 700; color: #7b8782; }
.dd-none { padding: 12px 10px; font-size: 13.5px; color: #8b948f; text-align: center; }
.filter-bar > .dd { flex: 1 1 160px; }
.dm-search { padding: 2px 2px 0; }
.dropdown-menu[data-search] { min-width: 17rem; }
.dropdown-item[hidden] { display: none; }

/* =====================================================================
   রিপোর্ট — অনুসন্ধান ফিল্টার
   ===================================================================== */
.rpt-filters { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px 14px; align-items: end; }
.rpt-filters .f-area { grid-column: 1 / -1; }
.rpt-filters .f-q { grid-column: span 2; }
.rpt-filters .f-btns { display: flex; gap: 8px; }
.rpt-filters .f-btns .btn-primary { flex: 1; min-height: 42px; }
.rpt-filters .f-btns .btn-light { min-height: 42px; }
@media (max-width: 575px) { .rpt-filters .f-q { grid-column: 1 / -1; } }
.rpt-applied { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: -4px 0 14px; }
.rpt-applied .chip { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 3px 10px; font-size: 13px; color: #4b5752; }
.rpt-applied .chip b { color: #1d2420; font-weight: 600; }
.card-y, .card-r { display: inline-block; width: 7px; height: 10px; border-radius: 1px; margin: 0 3px -1px 0; }
.card-y { background: #f2c14e; } .card-r { background: #c8102e; }
.rpt-search { max-width: 420px; }
.report-card.hide { display: none; }
.report-card:hover { transform: none; box-shadow: none; }

/* রিপোর্ট হাবের কার্ড — সমতল, পরিষ্কার */
.rpt-group-title { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.rpt-group-title span { font-size: 15.5px; font-weight: 700; color: #1d2420; }
.rpt-group-title small { font-size: 12.5px; color: var(--muted); }
.rpt-card { display: flex; align-items: flex-start; gap: 14px; height: 100%; padding: 16px 16px 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 10px; color: inherit; transition: border-color .15s, background-color .15s; }
.rpt-card:hover { border-color: #9cc9b6; background: #fbfdfc; color: inherit; }
.rpt-card:focus-visible { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,106,78,.14); }
.rc-icon { flex: none; width: 42px; height: 42px; border-radius: 8px; display: grid; place-items: center; background: #e8f4ef; color: var(--brand); font-size: 19px; }
.rc-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.rc-title { font-size: 15px; font-weight: 700; color: #1d2420; line-height: 1.4; }
.rpt-card:hover .rc-title { color: var(--brand-700); }
.rc-desc { font-size: 13.5px; color: var(--muted); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rc-ref { align-self: flex-start; margin-top: 4px; font-size: 12px; font-weight: 600; color: #7a5a06; background: var(--gold-50); border-radius: 4px; padding: 1px 8px; }
.rc-go { flex: none; align-self: center; color: #b3c0bb; font-size: 15px; transition: color .15s, transform .15s; }
.rpt-card:hover .rc-go { color: var(--brand); transform: translateX(2px); }

