@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

:root {
    --brand-blue: #0b3d91;
    --brand-blue-dark: #082a66;
    --brand-gold: #d4a017;
    --brand-bg: #f7f8fa;
    --brand-active: #16a34a;
    --brand-renewing: #d97706;
    --brand-suspended: #dc2626;
    --radius: 14px;
}

* { font-family: 'Vazirmatn', Tahoma, sans-serif !important; }

body {
    background: var(--brand-bg);
    color: #1f2430;
}

a { text-decoration: none; }

/* ---------- Navbar ---------- */
.navbar-brand-logo {
    height: 44px;
    width: 44px;
    object-fit: contain;
}

.site-navbar {
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-blue-dark));
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
.site-navbar .nav-link {
    color: #eaf0ff !important;
    font-weight: 500;
}
.site-navbar .nav-link.active,
.site-navbar .nav-link:hover {
    color: var(--brand-gold) !important;
}
.site-navbar .navbar-brand {
    color: #fff !important;
    font-weight: 700;
    font-size: 1.1rem;
}

/* ---------- Hero ---------- */
.hero {
    background: radial-gradient(1200px 400px at 20% -10%, rgba(212,160,23,.25), transparent),
                linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
    color: #fff;
    border-radius: 0 0 32px 32px;
    padding: 64px 0 56px;
}
.hero h1 { font-weight: 800; }
.hero .lead { color: #dbe4ff; }

.stat-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 18px rgba(11,61,145,.08);
    height: 100%;
}
.stat-card .num { font-size: 2rem; font-weight: 800; color: var(--brand-blue); }
.stat-card .label { color: #6b7280; font-size: .9rem; }

/* ---------- Section titles ---------- */
.section-title {
    font-weight: 800;
    color: var(--brand-blue-dark);
    position: relative;
    padding-inline-start: 16px;
    margin-bottom: 28px;
}
.section-title::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 4px;
    bottom: 4px;
    width: 5px;
    background: var(--brand-gold);
    border-radius: 4px;
}

/* ---------- Member card ---------- */
.member-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 22px 16px;
    text-align: center;
    box-shadow: 0 3px 14px rgba(0,0,0,.06);
    transition: transform .15s ease, box-shadow .15s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.member-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(11,61,145,.14);
}
.member-logo-wrap {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    background: #f1f3f6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border: 3px solid #f1f3f6;
}
.member-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.member-card .member-name {
    font-weight: 700;
    color: #1f2430;
    margin-bottom: 6px;
}

.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
}
.badge-status::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}
.badge-active { background: #e8f8ef; color: var(--brand-active); }
.badge-renewing { background: #fef3e2; color: var(--brand-renewing); }
.badge-suspended { background: #fdecec; color: var(--brand-suspended); }

/* ---------- Buttons ---------- */
.btn-brand {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff;
    font-weight: 600;
}
.btn-brand:hover { background: var(--brand-blue-dark); border-color: var(--brand-blue-dark); color:#fff; }
.btn-gold {
    background: var(--brand-gold);
    border-color: var(--brand-gold);
    color: #1f2430;
    font-weight: 700;
}
.btn-gold:hover { filter: brightness(.95); color:#1f2430; }

/* ---------- Exhibition card ---------- */
.exh-card {
    background:#fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(0,0,0,.06);
    height: 100%;
}
.exh-card img { height: 190px; width: 100%; object-fit: cover; }
.exh-card .body { padding: 18px; }

.gallery-thumb {
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    display:block;
}
.gallery-thumb img { width:100%; height:100%; object-fit:cover; transition:.2s; }
.gallery-thumb:hover img { transform: scale(1.05); }

/* ---------- License / verify page ---------- */
.verify-card {
    max-width: 560px;
    margin: 48px auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,.1);
    overflow: hidden;
}
.verify-head {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
    color: #fff;
    padding: 28px;
    text-align: center;
}
.verify-head img { width: 64px; height:64px; object-fit:contain; margin-bottom:10px; }
.verify-body { padding: 28px; }
.verify-status-big {
    font-size: 1.4rem;
    font-weight: 800;
    text-align: center;
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 18px;
}

/* ---------- Footer ---------- */
.site-footer {
    background: #0d1b33;
    color: #b9c4dd;
    margin-top: 60px;
    padding: 44px 0 20px;
}
.site-footer a { color: #e5ecff; }
.site-footer a:hover { color: var(--brand-gold); }
.site-footer h6 { color: #fff; font-weight: 700; margin-bottom: 14px; }

/* ---------- Admin ---------- */
.admin-sidebar {
    background: var(--brand-blue-dark);
    min-height: 100vh;
    color: #fff;
}
.admin-sidebar a {
    color: #cfe0ff;
    display:block;
    padding: 12px 20px;
    border-radius: 10px;
    margin: 2px 10px;
}
.admin-sidebar a.active, .admin-sidebar a:hover { background: rgba(255,255,255,.12); color:#fff; }
.admin-topbar { background:#fff; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.admin-card { background:#fff; border-radius: var(--radius); box-shadow: 0 3px 14px rgba(0,0,0,.06); padding: 22px; }
.login-wrap { min-height: 100vh; display:flex; align-items:center; justify-content:center; background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark)); }
.login-box { background:#fff; border-radius: 18px; padding: 36px; width: 100%; max-width: 400px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }

.embed-box {
    background: #0d1b33;
    color: #9fe3b0;
    border-radius: 10px;
    padding: 14px;
    font-family: monospace !important;
    direction: ltr;
    text-align: left;
    font-size: .82rem;
    overflow-x: auto;
}

.thumb-preview { width: 90px; height: 90px; object-fit: contain; background:#f1f3f6; border-radius: 10px; }
