/* static/css/base.css */
:root {
    --navy: #0a1128;
    --green: #2ecc71;
    --text-dark: #1a202c;
    --text-gray: #718096;
    --bg-light: #f8fafc;
    --footer-text: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: white;
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header & Logo */
.main-header {
    padding: 12px 0;
    background: var(--navy);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo-box img {
    display: block;
    height: 55px;
    width: auto;
}

/* Navigation Links */
.main-nav {
    display: flex;
    gap: 25px;
}

.main-nav a {
    color: var(--footer-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: white;
}

/* Auth Buttons */
.auth-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.login-link {
    background: none;
    border: none;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: color 0.2s;
}

.login-link:hover {
    color: var(--green);
}

.signup-btn {
    background-color: var(--green);
    color: white;
    padding: 10px 22px;
    border-radius: 8px;
    border: none;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
}


/* --- ROLE MODAL & OVERLAY --- */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 17, 40, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.role-modal {
    background: white;
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    max-width: 550px;
    width: 90%;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-gray);
}

.role-options {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.option-card {
    flex: 1;
    padding: 25px;
    border: 2px solid #f1f5f9;
    border-radius: 16px;
    text-decoration: none;
    color: var(--navy);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.option-card:hover {
    border-color: var(--green);
    transform: translateY(-5px);
    background: #f0fff4;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.icon-circle.rep { background: #e0f2fe; color: #0369a1; }
.icon-circle.student { background: #dcfce7; color: #15803d; }

@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 50px; }
    .main-nav { display: none; } /* Hide extra links on small tablets/mobile */

}

@media (max-width: 600px) {
    .role-options { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    .main-nav{display: none;}
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}


