/* ── SCinet CRS — Global Stylesheet ── */
 
/* ── CSS Variables ── */
:root {
    --sc-navy:  #0a3d70;
    --sc-blue:  #3890d6;
    --sc-pink:  #ff3694;
    --sc-white: #ffffff;
    --sc-light: #f4f7fb;
    --sc-text:  #1a2a3a;
    --sc-muted: #5a7089;
}
 
/* ── Base ── */
* { box-sizing: border-box; }
 
body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Nunito', sans-serif;
    color: var(--sc-text);
    background: var(--sc-white);
    display: flex;
    flex-direction: column;
}
 
main { flex: 1; }
 
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}
 
a {
    color: var(--sc-pink);
    transition: color 0.2s;
}
 
a:hover {
    color: var(--sc-blue);
}
 
/* ─────────────────────────────────────
   INTERIOR PAGES (base.html)
───────────────────────────────────── */
 
/* ── Navbar ── */
.sc-navbar {
    background: var(--sc-navy);
    padding: 0.6rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
 
.sc-navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--sc-white) !important;
    text-decoration: none;
    letter-spacing: -0.2px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
 
.sc-navbar-brand:hover {
    color: var(--sc-blue) !important;
}
 
.sc-navbar-brand .brand-accent {
    color: var(--sc-pink);
}
 
.sc-nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: auto;
}
 
.sc-nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.65) !important;
    text-decoration: none;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    letter-spacing: 0.02em;
}
 
.sc-nav-link:hover {
    color: var(--sc-white) !important;
    background: rgba(255,255,255,0.08);
}
 
.sc-nav-user {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    font-family: 'Nunito', sans-serif;
    padding: 0 0.5rem;
}
 
.sc-logout-btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.35rem 0.9rem;
    border-radius: 6px;
    border: 1.5px solid rgba(255,255,255,0.3);
    color: var(--sc-white);
    background: transparent;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}
 
.sc-logout-btn:hover {
    border-color: var(--sc-pink);
    color: var(--sc-pink);
    background: rgba(255, 54, 148, 0.08);
}
 
/* ── Page header strip ── */
.sc-page-header {
    background: linear-gradient(135deg, var(--sc-navy) 0%, #1a5fa8 100%);
    padding: 1.25rem 0;
    margin-bottom: 2rem;
}
 
.sc-page-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: var(--sc-white);
    margin: 0;
    font-size: 1.3rem;
}
 
/* ── Buttons ── */
.btn-dark {
    background: var(--sc-navy);
    border-color: var(--sc-navy);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    border-radius: 7px;
    transition: background 0.2s, transform 0.15s;
}
 
.btn-dark:hover {
    background: var(--sc-blue);
    border-color: var(--sc-blue);
    transform: translateY(-1px);
}
 
.btn-outline-dark {
    border-color: var(--sc-navy);
    color: var(--sc-navy);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    border-radius: 7px;
    transition: all 0.2s;
}
 
.btn-outline-dark:hover {
    background: var(--sc-navy);
    border-color: var(--sc-navy);
    color: #fff;
}
 
.btn-outline-secondary {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: 7px;
}
 
/* ── Tables ── */
.table thead th {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--sc-navy);
    background: var(--sc-light);
    border-bottom: 2px solid #dde5f0;
}
 
/* ── Nav tabs ── */
.nav-tabs .nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--sc-muted);
    border: none;
    border-bottom: 3px solid transparent;
    padding: 0.6rem 1rem;
    border-radius: 0;
    transition: color 0.2s, border-color 0.2s;
}
 
.nav-tabs .nav-link:hover {
    color: var(--sc-blue);
    border-bottom-color: var(--sc-blue);
}
 
.nav-tabs .nav-link.active {
    color: var(--sc-navy);
    font-weight: 700;
    border-bottom: 3px solid var(--sc-pink);
    background: transparent;
}
 
/* ── Stat cards ── */
.stat-card {
    border: 1.5px solid #dde5f0;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    text-align: center;
    min-width: 120px;
    background: var(--sc-white);
    transition: border-color 0.2s, box-shadow 0.2s;
}
 
.stat-card:hover {
    border-color: var(--sc-blue);
    box-shadow: 0 4px 16px rgba(56,144,214,0.1);
}
 
.stat-card .stat-number {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: var(--sc-navy);
    line-height: 1;
}
 
.stat-card .stat-label {
    font-size: 0.78rem;
    color: var(--sc-muted);
    font-weight: 600;
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
 
/* ── Footer (interior) ── */
.sc-footer {
    background: var(--sc-navy);
    color: rgba(255,255,255,0.45);
    text-align: center;
    font-size: 0.78rem;
    padding: 1rem;
    font-family: 'Nunito', sans-serif;
    margin-top: auto;
}
 
.sc-footer a {
    color: var(--sc-pink);
}
 
.sc-footer a:hover {
    color: var(--sc-blue);
}
 
/* ─────────────────────────────────────
   AUTH PAGES (base_auth.html)
───────────────────────────────────── */
 
/* ── Hero banner ── */
.auth-hero {
    position: relative;
    width: 100%;
    min-height: 220px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    padding: 0;
    overflow: hidden;
}
 
.auth-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 61, 112, 0.45) 0%,
        rgba(10, 61, 112, 0.15) 60%,
        rgba(255,255,255,0.85) 100%
    );
}
 
.auth-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 2rem 2.5rem 1.5rem;
}
 
.auth-hero-inner img.logo {
    height: 56px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}
 
.auth-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--sc-white);
    text-shadow: 0 2px 12px rgba(10,61,112,0.5);
    margin: 0.5rem 0 0;
    letter-spacing: -0.3px;
}
 
/* ── Main content card ── */
.auth-body {
    flex: 1;
    background: var(--sc-white);
    display: flex;
    justify-content: center;
    padding: 2.5rem 1rem 3rem;
}
 
.auth-card {
    width: 100%;
    max-width: 680px;
}
 
/* ── Auth typography ── */
.auth-card h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--sc-navy);
    margin-bottom: 0.4rem;
}
 
.auth-card p {
    font-size: 0.95rem;
    color: var(--sc-muted);
    line-height: 1.7;
}
 
.auth-card a {
    color: var(--sc-pink);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}
 
.auth-card a:hover {
    color: var(--sc-blue);
}
 
.auth-card hr {
    border: none;
    border-top: 2px solid var(--sc-light);
    margin: 1.5rem 0;
}
 
/* ── Auth divider ── */
.auth-divider {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--sc-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 1rem 0;
    position: relative;
}
 
.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 38%;
    height: 1px;
    background: #dde5f0;
}
 
.auth-divider::before { left: 0; }
.auth-divider::after  { right: 0; }
 
/* ── Auth form inputs ── */
.auth-input {
    border: 1.5px solid #ccd8e8;
    border-radius: 8px;
    padding: 0.65rem 1rem;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    background: var(--sc-light);
    transition: border-color 0.2s, box-shadow 0.2s;
}
 
.auth-input:focus {
    border-color: var(--sc-blue);
    box-shadow: 0 0 0 3px rgba(56, 144, 214, 0.15);
    background: #fff;
    outline: none;
}
 
/* ── Auth buttons ── */
.auth-btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    background: var(--sc-navy);
    border: none;
    color: #fff;
    transition: background 0.2s, transform 0.15s;
}
 
.auth-btn:hover {
    background: var(--sc-blue);
    transform: translateY(-1px);
}
 
.auth-social-btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1.5px solid #ccd8e8;
    border-radius: 8px;
    color: var(--sc-navy);
    background: #fff;
    padding: 0.65rem 1rem;
    transition: border-color 0.2s, color 0.2s;
}
 
.auth-social-btn:hover:not(:disabled) {
    border-color: var(--sc-pink);
    color: var(--sc-pink);
}
 
/* ── Important dates ── */
.dates-section h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--sc-navy);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}
 
.date-item {
    display: flex;
    gap: 0.75rem;
    align-items: baseline;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}
 
.date-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--sc-blue);
    white-space: nowrap;
    min-width: 160px;
}
 
.date-desc {
    color: var(--sc-muted);
    line-height: 1.5;
}
 
/* ── Auth footer ── */
.auth-footer {
    background: var(--sc-navy);
    color: rgba(255,255,255,0.5);
    text-align: center;
    font-size: 0.78rem;
    padding: 0.9rem 1rem;
    font-family: 'Nunito', sans-serif;
}
 
.auth-footer a {
    color: var(--sc-pink);
    text-decoration: none;
}
 
.auth-footer a:hover {
    color: var(--sc-blue);
}
 
/* ── Access note ── */
.access-note {
    font-style: italic;
    font-size: 0.88rem;
    color: var(--sc-muted);
    line-height: 1.6;
    background: var(--sc-light);
    border-left: 3px solid var(--sc-blue);
    padding: 0.75rem 1rem;
    border-radius: 0 6px 6px 0;
    margin-bottom: 1.25rem;
}