/* Import a Google Font for a modern look */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

/* ─── General Body Styles ────────────────────────────────────── */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f7f6;
    margin: 0;
}

/* ─── Login Page Layout ─────────────────────────────────────── */
.login-page-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a2a3a 0%, #2c3e50 60%, #34495e 100%);
}

.login-container {
    background: rgba(255, 255, 255, 0.97);
    padding: 2.8rem 2.8rem 2.2rem;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    width: 100%;
    max-width: 380px;
    text-align: center;
    animation: fadeInUp 0.4s ease both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── Login Logo ─────────────────────────────────────────────── */
.login-logo {
    margin-bottom: 0.6rem;
    display: flex;
    justify-content: center;
}

/* ─── Headings & Subtitle ───────────────────────────────────── */
.login-container h2 {
    color: #1a2a3a;
    margin: 0.2rem 0 0;
    font-weight: 700;
    font-size: 1.65rem;
    letter-spacing: -0.5px;
}

.login-subtitle {
    color: #7f8c8d;
    font-size: 0.85rem;
    margin: 0.2rem 0 1.6rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ─── Error Message ─────────────────────────────────────────── */
.error-message {
    color: #e74c3c;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 500;
    font-size: 0.88rem;
    min-height: 20px;
    line-height: 1.4;
}

/* ─── Google Sign-In Button ─────────────────────────────────── */
.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 0.78rem 1.2rem;
    background-color: #ffffff;
    color: #3c4043;
    border: 1.5px solid #dadce0;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.97rem;
    font-weight: 500;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.google-btn:hover {
    background-color: #f8f9fa;
    border-color: #adb5bd;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    transform: translateY(-2px);
    color: #1a2a3a;
}

.google-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.google-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.google-icon {
    flex-shrink: 0;
}

/* ─── Login Note ────────────────────────────────────────────── */
.login-note {
    margin: 1.4rem 0 0;
    font-size: 0.75rem;
    color: #adb5bd;
    line-height: 1.5;
}

/* ─── Dashboard Button Reset (so .google-btn overrides body button) ─── */
/* These rules apply ONLY on non-login pages via the dashboard CSS */
