/* ─────────────────────────────────────────────────────────────────────────────
   AMU Career Portal — Design System
   Government Portal Style · Bootstrap 5 · Inter Font
───────────────────────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── CSS Custom Properties ─────────────────────────────────────────────────── */
:root {
    /* AMU Brand Colors */
    --amu-primary:      #1a6b3a;
    --amu-primary-dark: #134f2b;
    --amu-primary-light:#2a8a50;
    --amu-accent:       #f0a500;
    --amu-accent-light: #ffd166;

    /* Neutrals */
    --gray-50:  #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Semantic */
    --success: #16a34a;
    --warning: #ca8a04;
    --danger:  #dc2626;
    --info:    #0284c7;

    /* Layout */
    --sidebar-width:       260px;
    --topbar-height:       64px;
    --sidebar-collapsed:   72px;

    /* Shadows */
    --shadow-sm:  0 1px 2px rgba(0,0,0,0.05);
    --shadow-md:  0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.05);
    --shadow-lg:  0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
    --shadow-xl:  0 20px 25px -5px rgba(0,0,0,0.08);

    /* Radius */
    --radius-sm:  6px;
    --radius-md:  10px;
    --radius-lg:  16px;
    --radius-xl:  24px;

    /* Transitions */
    --transition: all 0.2s ease;
}

/* ── Base Reset ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--gray-50);
    -webkit-font-smoothing: antialiased;
}

/* ── Typography ────────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 { font-weight: 700; color: var(--gray-900); line-height: 1.3; }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }

.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

/* ── AMU Buttons ───────────────────────────────────────────────────────────── */
.btn-amu-primary {
    background: var(--amu-primary);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-amu-primary:hover {
    background: var(--amu-primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-amu-outline {
    background: transparent;
    color: var(--amu-primary);
    border: 2px solid var(--amu-primary);
    padding: 9px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-amu-outline:hover {
    background: var(--amu-primary);
    color: #fff;
}

/* ── Badges ────────────────────────────────────────────────────────────────── */
.bg-amu    { background-color: var(--amu-primary) !important; }
.text-amu  { color: var(--amu-primary) !important; }

/* ── Public Navbar ─────────────────────────────────────────────────────────── */
.navbar-public {
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}
.navbar-public .navbar-brand .brand-text {
    font-weight: 700;
    font-size: 18px;
    color: var(--amu-primary);
}
.navbar-public .nav-link {
    color: var(--gray-600);
    font-weight: 500;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.navbar-public .nav-link:hover,
.navbar-public .nav-link.active {
    color: var(--amu-primary);
    background: rgba(26, 107, 58, 0.08);
}

/* ── Hero Section ──────────────────────────────────────────────────────────── */
.hero-section {
    background: linear-gradient(135deg, #0d3d22 0%, #1a6b3a 50%, #2a8a50 100%);
    min-height: 520px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}
.hero-section::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.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 6px 16px;
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amu-accent); animation: pulse 2s infinite; }
.hero-title { font-size: 2.8rem; font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 16px; }
.hero-desc  { color: rgba(255,255,255,0.85); font-size: 16px; margin-bottom: 32px; }
.hero-stats {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-md);
    padding: 12px 20px;
    gap: 8px;
    color: #fff;
}
.hero-img-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}
.hero-img-card img { width: 100%; height: 280px; object-fit: cover; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ── Feature Cards ─────────────────────────────────────────────────────────── */
.feature-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: var(--transition);
    height: 100%;
}
.feature-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--amu-primary);
    transform: translateY(-3px);
}
.feature-icon {
    width: 52px; height: 52px;
    background: rgba(26, 107, 58, 0.1);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}
.feature-link {
    color: var(--amu-primary);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
}
.feature-link:hover { gap: 8px; }

/* ── Category Cards ────────────────────────────────────────────────────────── */
.category-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}
.category-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.category-card-img {
    height: 180px;
    object-fit: cover;
    width: 100%;
    background: linear-gradient(135deg, var(--amu-primary), var(--amu-primary-light));
}
.category-card-body { padding: 20px; }
.category-badge {
    position: absolute; top: 12px; right: 12px;
    background: var(--amu-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
}
.category-meta { display: flex; gap: 12px; font-size: 12px; color: var(--gray-500); margin: 8px 0; }

/* ── Stats Bar ─────────────────────────────────────────────────────────────── */
.stats-bar {
    background: var(--amu-primary);
    padding: 32px 0;
}
.stat-item { text-align: center; color: #fff; }
.stat-number { font-size: 2.5rem; font-weight: 800; line-height: 1; }
.stat-label  { font-size: 13px; opacity: 0.85; margin-top: 4px; }

/* ── News Cards ────────────────────────────────────────────────────────────── */
.news-item {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-100);
}
.news-item:last-child { border-bottom: none; }
.news-type-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    height: fit-content;
}
.news-type-badge.update   { background: #ecfdf5; color: var(--success); }
.news-type-badge.notice   { background: #fffbeb; color: var(--warning); }
.news-type-badge.deadline { background: #fef2f2; color: var(--danger); }

/* ── Public Footer ─────────────────────────────────────────────────────────── */
.footer-public      { background: var(--gray-900); }
.footer-brand       { color: #fff; font-weight: 700; font-size: 18px; }
.footer-desc        { color: var(--gray-400); font-size: 14px; margin-top: 8px; }
.footer-address     { color: var(--gray-400); font-size: 13px; }
.footer-heading     { color: var(--gray-300); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.footer-links       { list-style: none; padding: 0; }
.footer-links li a  { color: var(--gray-400); font-size: 14px; text-decoration: none; line-height: 2; transition: var(--transition); }
.footer-links li a:hover { color: #fff; }
.footer-contact     { color: var(--gray-400); font-size: 13px; line-height: 2; }
.footer-bottom      { border-color: var(--gray-700) !important; }
.footer-copy        { color: var(--gray-500); font-size: 13px; }
.footer-link        { color: var(--gray-400); text-decoration: none; }
.footer-link:hover  { color: #fff; }

/* ─────────────────────────────────────────────────────────────────────────────
   PORTAL LAYOUT (Candidate + Admin)
───────────────────────────────────────────────────────────────────────────── */
.portal-wrapper {
    display: flex;
    min-height: 100vh;
}

/* ── Sidebar ───────────────────────────────────────────────────────────────── */
.sidebar {
    width: var(--sidebar-width);
    min-height: 100vh;
    background: #fff;
    border-right: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
}

.admin-sidebar { background: var(--gray-900); border-right: none; }
.admin-sidebar .sidebar-header { border-bottom-color: rgba(255,255,255,0.1); }
.admin-sidebar .sidebar-brand .brand-name { color: #fff; }
.admin-sidebar .sidebar-nav .nav-label { color: rgba(255,255,255,0.4); }
.admin-sidebar .sidebar-nav a { color: rgba(255,255,255,0.75); }
.admin-sidebar .sidebar-nav a:hover,
.admin-sidebar .sidebar-nav a.active { background: rgba(255,255,255,0.1); color: #fff; }
.admin-sidebar .sidebar-nav a.active { background: var(--amu-primary); }
.admin-sidebar .sidebar-divider { border-color: rgba(255,255,255,0.1); }

.sidebar-header {
    padding: 20px 20px 16px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sidebar-brand {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none;
}
.brand-icon  { font-size: 22px; }
.brand-name  { font-weight: 700; font-size: 16px; color: var(--amu-primary); }

.sidebar-profile {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--gray-100);
}
.avatar-circle {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--amu-primary), var(--amu-primary-light));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 15px;
    flex-shrink: 0;
}
.profile-name { font-weight: 600; font-size: 14px; color: var(--gray-800); }
.profile-completion { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--gray-500); margin-top: 4px; }
.progress-xs { height: 4px; border-radius: 999px; background: var(--gray-200); flex: 1; }
.progress-xs .progress-bar { border-radius: 999px; }

.sidebar-nav { padding: 12px 0; flex: 1; }
.sidebar-nav ul { list-style: none; padding: 0 12px; margin: 0; }
.sidebar-nav .nav-label {
    font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--gray-400); padding: 12px 12px 4px;
}
.sidebar-nav a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: var(--radius-sm);
    color: var(--gray-600); text-decoration: none; font-weight: 500;
    transition: var(--transition); font-size: 14px;
    margin-bottom: 2px;
}
.sidebar-nav a i { font-size: 16px; flex-shrink: 0; }
.sidebar-nav a:hover { background: var(--gray-100); color: var(--amu-primary); }
.sidebar-nav a.active {
    background: rgba(26, 107, 58, 0.1);
    color: var(--amu-primary);
    font-weight: 600;
}
.sidebar-divider { border-top: 1px solid var(--gray-100); margin: 8px 12px; }

.sidebar-cta { padding: 16px 20px; border-top: 1px solid var(--gray-100); }

/* ── Main Content ──────────────────────────────────────────────────────────── */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ── Topbar ────────────────────────────────────────────────────────────────── */
.topbar {
    height: var(--topbar-height);
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    display: flex; align-items: center;
    padding: 0 24px; gap: 16px;
    position: sticky; top: 0; z-index: 100;
    box-shadow: var(--shadow-sm);
}
.topbar-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--gray-500); }
.topbar-breadcrumb a { color: var(--amu-primary); text-decoration: none; font-weight: 500; }
.topbar-actions { display: flex; align-items: center; gap: 8px; }

.topbar-icon-btn {
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--gray-100); border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-600); font-size: 16px; position: relative;
    transition: var(--transition);
}
.topbar-icon-btn:hover { background: var(--gray-200); }
.notification-dot {
    width: 8px; height: 8px; background: var(--danger); border-radius: 50%;
    position: absolute; top: 6px; right: 6px; border: 2px solid #fff;
}
.topbar-user-btn {
    display: flex; align-items: center; gap: 8px;
    background: var(--gray-100); border: none; border-radius: 999px;
    padding: 4px 12px 4px 4px; cursor: pointer; transition: var(--transition);
}
.topbar-user-btn:hover { background: var(--gray-200); }
.user-avatar-sm {
    width: 32px; height: 32px; border-radius: 50%;
    background: linear-gradient(135deg, var(--amu-primary), var(--amu-primary-light));
    color: #fff; font-weight: 700; font-size: 13px;
    display: flex; align-items: center; justify-content: center;
}
.admin-avatar { background: linear-gradient(135deg, #1e293b, #334155); }

/* ── Profile Incomplete Banner ─────────────────────────────────────────────── */
.profile-banner {
    background: linear-gradient(90deg, #7f1d1d, #991b1b);
    color: #fff;
    padding: 10px 24px;
    font-size: 14px;
    display: flex; align-items: center;
}

/* ── Page Content ──────────────────────────────────────────────────────────── */
.page-content { flex: 1; padding: 24px; }

.page-header {
    margin-bottom: 24px;
}
.page-header h1 { font-size: 1.5rem; margin-bottom: 4px; }
.page-header .page-subtitle { color: var(--gray-500); font-size: 14px; }

/* ── Dashboard KPI Cards ───────────────────────────────────────────────────── */
.stat-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    display: flex; align-items: center; gap: 16px;
    transition: var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stat-card-icon {
    width: 52px; height: 52px; border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; flex-shrink: 0;
}
.stat-card-icon.green  { background: #ecfdf5; color: var(--amu-primary); }
.stat-card-icon.blue   { background: #eff6ff; color: #2563eb; }
.stat-card-icon.amber  { background: #fffbeb; color: #d97706; }
.stat-card-icon.purple { background: #f5f3ff; color: #7c3aed; }
.stat-card-icon.red    { background: #fef2f2; color: #dc2626; }
.stat-card-label { font-size: 12px; color: var(--gray-500); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.stat-card-value { font-size: 1.75rem; font-weight: 800; color: var(--gray-900); line-height: 1.2; }
.stat-card-sub   { font-size: 12px; color: var(--gray-400); margin-top: 2px; }

/* ── Progress Ring (Profile) ───────────────────────────────────────────────── */
.progress-ring-wrap {
    position: relative;
    width: 120px; height: 120px;
    display: flex; align-items: center; justify-content: center;
}
.progress-ring-label {
    position: absolute; font-size: 22px; font-weight: 800;
    color: var(--amu-primary); text-align: center; line-height: 1.2;
}

/* ── Cards ─────────────────────────────────────────────────────────────────── */
.amu-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.amu-card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-100);
    display: flex; align-items: center; justify-content: space-between;
}
.amu-card-body { padding: 20px; }

/* ── Tables ────────────────────────────────────────────────────────────────── */
.table-amu { width: 100%; border-collapse: collapse; }
.table-amu th {
    background: var(--gray-50);
    color: var(--gray-600);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 10px 16px;
    border-bottom: 1px solid var(--gray-200);
}
.table-amu td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-100);
    vertical-align: middle;
    font-size: 14px;
}
.table-amu tbody tr:hover { background: var(--gray-50); }
.table-amu tbody tr:last-child td { border-bottom: none; }

/* ── Status Badges ─────────────────────────────────────────────────────────── */
.status-badge {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 3px 10px; border-radius: 999px;
    font-size: 12px; font-weight: 600; white-space: nowrap;
}
.status-draft        { background: #f8fafc; color: var(--gray-500); border: 1px solid var(--gray-200); }
.status-submitted    { background: #eff6ff; color: #2563eb; }
.status-under_review { background: #f0fdf4; color: #15803d; }
.status-shortlisted  { background: #fffbeb; color: #b45309; }
.status-rejected     { background: #fef2f2; color: #dc2626; }
.status-selected     { background: #ecfdf5; color: var(--amu-primary); }
.status-open         { background: #ecfdf5; color: var(--amu-primary); }
.status-closed       { background: #fef2f2; color: var(--danger); }
.status-draft-ad     { background: var(--gray-100); color: var(--gray-500); }

/* ── Forms ─────────────────────────────────────────────────────────────────── */
.form-control, .form-select {
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 14px;
    transition: var(--transition);
    color: var(--gray-800);
    background: #fff;
}
.form-control:focus, .form-select:focus {
    border-color: var(--amu-primary);
    box-shadow: 0 0 0 3px rgba(26, 107, 58, 0.12);
    outline: none;
}
.form-label { font-weight: 500; font-size: 13px; color: var(--gray-700); margin-bottom: 6px; }
.form-text  { font-size: 12px; color: var(--gray-400); }
.required-mark::after { content: ' *'; color: var(--danger); }

/* ── Auth Pages ─────────────────────────────────────────────────────────────── */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
}
.auth-left {
    background: linear-gradient(135deg, #0d3d22, #1a6b3a);
    flex: 0 0 420px;
    padding: 48px;
    display: flex; flex-direction: column; justify-content: center;
    position: relative; overflow: hidden;
}
.auth-left::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,...") center/60px;
    opacity: 0.05;
}
.auth-right {
    flex: 1;
    display: flex; align-items: center; justify-content: center;
    padding: 48px 32px;
    background: var(--gray-50);
}
.auth-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-lg);
}
.auth-logo { font-size: 40px; margin-bottom: 20px; text-align: center; }
.auth-title { font-size: 1.5rem; font-weight: 700; text-align: center; margin-bottom: 8px; }
.auth-subtitle { color: var(--gray-500); text-align: center; font-size: 14px; margin-bottom: 28px; }

/* ── Profile Wizard Steps ──────────────────────────────────────────────────── */
.wizard-steps {
    display: flex; justify-content: center; gap: 0;
    margin-bottom: 32px; position: relative;
}
.wizard-steps::before {
    content: '';
    position: absolute; top: 20px; left: 10%; right: 10%;
    height: 2px; background: var(--gray-200); z-index: 0;
}
.wizard-step {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    flex: 1; max-width: 120px; z-index: 1;
}
.wizard-step-circle {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--gray-200); color: var(--gray-400);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 14px; transition: var(--transition);
    border: 2px solid #fff;
}
.wizard-step.completed .wizard-step-circle { background: var(--amu-primary); color: #fff; }
.wizard-step.active .wizard-step-circle    { background: var(--amu-primary); color: #fff; box-shadow: 0 0 0 4px rgba(26,107,58,0.2); }
.wizard-step-label { font-size: 12px; color: var(--gray-500); text-align: center; font-weight: 500; }
.wizard-step.active .wizard-step-label { color: var(--amu-primary); font-weight: 600; }

/* ── Advertisement Cards ───────────────────────────────────────────────────── */
.ad-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: var(--transition);
    display: flex; flex-direction: column; gap: 12px;
}
.ad-card:hover { box-shadow: var(--shadow-md); border-color: var(--amu-primary-light); }
.ad-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.ad-number { font-size: 12px; color: var(--gray-400); font-weight: 500; }
.ad-title { font-weight: 700; font-size: 16px; color: var(--gray-900); }
.ad-dept  { font-size: 13px; color: var(--gray-500); }
.ad-dates { display: flex; gap: 16px; font-size: 12px; color: var(--gray-500); }
.ad-dates .closing { color: var(--danger); font-weight: 600; }
.ad-actions { display: flex; gap: 8px; margin-top: auto; }

/* ── Form Builder UI ───────────────────────────────────────────────────────── */
.field-drag-handle { cursor: grab; color: var(--gray-300); padding: 4px 8px; }
.field-drag-handle:hover { color: var(--gray-500); }
.form-builder-field {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 8px;
    transition: var(--transition);
}
.form-builder-field:hover { box-shadow: var(--shadow-sm); }
.field-type-badge {
    font-size: 11px; font-weight: 600;
    padding: 2px 8px; border-radius: var(--radius-sm);
    background: rgba(26,107,58,0.1); color: var(--amu-primary);
    white-space: nowrap;
}

/* ── Aadhaar Verification ──────────────────────────────────────────────────── */
.aadhaar-card {
    max-width: 440px; margin: 0 auto;
    text-align: center;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}
.aadhaar-icon { font-size: 56px; margin-bottom: 20px; }
.aadhaar-security {
    display: flex; justify-content: center; gap: 16px;
    font-size: 12px; color: var(--gray-400); margin-top: 20px;
}
.aadhaar-security span { display: flex; align-items: center; gap: 4px; }

/* ── Portal Footer ─────────────────────────────────────────────────────────── */
.portal-footer {
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    padding: 14px 24px;
    font-size: 13px; color: var(--gray-400);
}

/* ── Sidebar Mobile ────────────────────────────────────────────────────────── */
.sidebar-close { background: none; border: none; color: var(--gray-500); font-size: 18px; cursor: pointer; }
.sidebar-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.5); z-index: 999;
}
.sidebar-overlay.show { display: block; }

@media (max-width: 991px) {
    .sidebar       { transform: translateX(-100%); }
    .sidebar.open  { transform: translateX(0); }
    .main-content  { margin-left: 0; }
    .hero-title    { font-size: 2rem; }
    .auth-left     { display: none; }
    .auth-right    { padding: 24px 16px; }
}

/* ── Animations ────────────────────────────────────────────────────────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.4s ease forwards; }

/* ── Utility ─────────────────────────────────────────────────────────────────*/
.text-muted-sm { color: var(--gray-400); font-size: 12px; }
.divider       { height: 1px; background: var(--gray-100); margin: 20px 0; }
.section-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--amu-primary); display: inline-block; }

/* ── AMU Dropdown Styles ──────────────────────────────────────────*/
.dropdown-item:hover, .dropdown-item:focus {
    background-color: #f0fdf4 !important; /* amu-50 */
    color: #1a6b3a !important; /* amu-600 */
}
.dropdown-item:hover i, .dropdown-item:focus i {
    color: #1a6b3a !important;
}
.dropdown-item.active, .dropdown-item:active {
    background-color: #1a6b3a !important;
    color: #ffffff !important;
}
.dropdown-item.active i, .dropdown-item:active i {
    color: #ffffff !important;
}
