/* =========================================
   LOGIN PAGE STYLES
   ========================================= */

/* --- 1. HERO HEADER (Provides Blue Background) --- */
.hero-centered {
    background-color: var(--deep-blue);
    color: var(--white);
    position: relative;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    min-height: 250px; /* Height of the blue top part */
}

.hero-centered h1 {
    color: var(--white);
    font-family: var(--font-serif);
    margin-bottom: 0;
}

.hero-bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(62, 92, 154, 0.15) 0%, rgba(42, 64, 104, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-content-wrapper-center { z-index: 2; position: relative; }


/* --- 2. LOGIN CARD SECTION --- */
.login-section {
    /* Pull the section up so the card overlaps the blue header */
    margin-top: -40px; 
    padding-bottom: 80px;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    /* No background color needed here as body has default */
}

.login-card {
    background: #fff;
    width: 100%;
    max-width: 450px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.02);
}

.login-header {
    background-color: #fff; /* Changed to white for cleaner look inside card */
    padding: 15px 30px 10px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.login-header h3 {
    font-family: var(--font-serif);
    color: var(--deep-blue); /* Dark text on white bg */
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.login-header p {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.login-body {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
    background-color: #fafafa;
}

.form-control:focus {
    border-color: var(--primary-blue);
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(62, 92, 154, 0.1);
}

.btn-login {
    width: 100%;
    background-color: var(--deep-blue);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    font-size: 0.9rem;
}

.btn-login:hover {
    background-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(62, 92, 154, 0.3);
}

.login-note {
    text-align: center;
    font-size: 0.8rem;
    color: #aaa;
    margin-top: 25px;
}