/* ============================================================
   THE YOUNG BOOKS RECRUITMENT PORTAL — THEME
   Dark Premium + Gold Glassmorphism
   ============================================================ */

:root {
    --bg: #0B0B0F;
    --card-bg: #16161D;
    --card-bg-glass: rgba(22, 22, 29, 0.65);
    --gold: #D4AF37;
    --gold-light: #F5D97A;
    --text: #FFFFFF;
    --text-muted: #A0A0AC;
    --border-glass: rgba(212, 175, 55, 0.18);
    --success: #4CAF50;
    --danger: #E5484D;
    --warning: #F5A623;
    --info: #4A90D9;
}

* { box-sizing: border-box; }

body {
    background: radial-gradient(circle at top left, #14141a 0%, #0B0B0F 60%);
    color: var(--text);
    font-family: 'Segoe UI', 'Poppins', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

/* ---------- GLASS CARD ---------- */
.glass-card {
    background: var(--card-bg-glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-glass);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    padding: 2rem;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------- BRAND HEADER ---------- */
.brand-logo {
    height: 56px;
    width: auto;
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.35));
}

.brand-title {
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ---------- BUTTONS ---------- */
.btn-gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    border: none;
    color: #14140f;
    font-weight: 600;
    border-radius: 10px;
    padding: 0.65rem 1.5rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.25);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(212, 175, 55, 0.4);
    color: #14140f;
}

.btn-outline-gold {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold-light);
    border-radius: 10px;
    padding: 0.6rem 1.4rem;
    transition: all 0.25s ease;
}

.btn-outline-gold:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-light);
}

/* ---------- FORM CONTROLS ---------- */
.form-control-dark {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text);
    border-radius: 10px;
    padding: 0.65rem 1rem;
}

.form-control-dark:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.15);
    color: var(--text);
}

.form-control-dark::placeholder { color: var(--text-muted); }

label.form-label-gold {
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 0.35rem;
}

/* ---------- STATUS BADGES ---------- */
.status-badge {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.badge-pending    { background: rgba(160,160,172,0.15); color: #C3C3CC; border: 1px solid rgba(160,160,172,0.3); }
.badge-eligible   { background: rgba(74,144,217,0.15); color: #7FB2EE; border: 1px solid rgba(74,144,217,0.3); }
.badge-completed  { background: rgba(245,166,35,0.15); color: var(--warning); border: 1px solid rgba(245,166,35,0.3); }
.badge-review     { background: rgba(212,175,55,0.15); color: var(--gold-light); border: 1px solid rgba(212,175,55,0.3); }
.badge-passed     { background: rgba(76,175,80,0.15); color: var(--success); border: 1px solid rgba(76,175,80,0.3); }
.badge-rejected   { background: rgba(229,72,77,0.15); color: var(--danger); border: 1px solid rgba(229,72,77,0.3); }

/* ---------- AUTH PAGE LAYOUT ---------- */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.auth-card {
    max-width: 460px;
    width: 100%;
}

.auth-card.auth-card-wide {
    max-width: 720px;
}

/* ---------- ALERTS ---------- */
.alert-glass {
    border-radius: 12px;
    border: 1px solid;
    padding: 0.85rem 1.1rem;
    font-size: 0.9rem;
}

.alert-glass.alert-success { background: rgba(76,175,80,0.1); border-color: rgba(76,175,80,0.35); color: #8FE39A; }
.alert-glass.alert-danger  { background: rgba(229,72,77,0.1); border-color: rgba(229,72,77,0.35); color: #F4989B; }
.alert-glass.alert-info    { background: rgba(74,144,217,0.1); border-color: rgba(74,144,217,0.35); color: #9CC5F0; }

/* ---------- DASHBOARD ---------- */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-tile {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 1.25rem;
}

.info-tile .label {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-tile .value {
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

/* ---------- NAVBAR ---------- */
.navbar-tyb {
    background: rgba(11, 11, 15, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-glass);
}

.navbar-tyb .nav-link {
    color: var(--text-muted) !important;
}

.navbar-tyb .nav-link:hover,
.navbar-tyb .nav-link.active {
    color: var(--gold-light) !important;
}

/* ---------- FOOTER ---------- */
.footer-tyb {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    padding: 2rem 1rem 1rem;
}

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 576px) {
    .glass-card { padding: 1.25rem; border-radius: 14px; }
    .brand-logo { height: 44px; }
}
