/* static/css/faculty_app/login.css */

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #1a2d4a 0%, #2563eb 100%);
    color: #1e293b;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* ── Login card ──────────────────────────────────────────────────── */
.login-container {
    background-color: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,.22);
    width: 90%;
    max-width: 400px;
    padding: 36px 32px 32px;
    text-align: center;
}

/* ── Header ──────────────────────────────────────────────────────── */
.header { margin-bottom: 24px; }

.header h1 {
    font-size: 1.6rem;
    margin: 0 0 6px;
    color: #1a2d4a;
    font-weight: 800;
    letter-spacing: -.3px;
}

.header p {
    font-size: .9rem;
    color: #64748b;
    margin: 0;
}

/* ── Form ────────────────────────────────────────────────────────── */
.form-container h2 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: #374151;
    font-weight: 600;
}

form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}

form input[type="text"],
form input[type="password"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d9e6;
    border-radius: 7px;
    font-size: .95rem;
    background: #f8fafc;
    color: #1e293b;
    box-sizing: border-box;
    outline: none;
    transition: border-color .18s, box-shadow .18s;
}

form input[type="text"]:focus,
form input[type="password"]:focus {
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37,99,235,.13);
}

form button {
    padding: 11px 20px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    border: none;
    border-radius: 7px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: box-shadow .18s, transform .18s;
    box-shadow: 0 2px 10px rgba(37,99,235,.30);
    margin-top: 4px;
}

form button:hover {
    box-shadow: 0 4px 18px rgba(37,99,235,.40);
    transform: translateY(-1px);
}

form button:active { transform: translateY(0); }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 480px) {
    .login-container { padding: 28px 20px; }
    .header h1 { font-size: 1.4rem; }
}
