﻿/* =======================
   GOVT DIGITAL INTERNSHIP BLUE LOGIN UI
   ======================= */

/* ===== Page Background & Center Alignment ===== */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background: #eef4ff; /* Light blue background */
    font-family: "Segoe UI", sans-serif;
}

.fw-main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

/* ===== Login Card ===== */
.auth-card {
    width: 480px;
    background: #ffffff;
    border-radius: 16px; /* Slightly smaller radius */
    padding: 40px 36px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    border: 1px solid #c7d2fe; /* soft blue border */
    text-align: center;
}

/* Titles */
.auth-title {
    font-size: 28px;
    font-weight: 700;
    color: #1e40af; /* Govt blue */
    margin-bottom: 6px;
}

.auth-subtitle {
    font-size: 14px;
    color: #1e3a8a; /* Darker blue */
    margin-bottom: 20px;
}

/* ===== Fields ===== */
.auth-field {
    text-align: left;
    margin-bottom: 16px;
}

.auth-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 6px;
}

.auth-input {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 44px;
    background: #f8fafc; /* Very light blue/white */
    border: 1px solid #cbd5e1;
    box-sizing: border-box;
}

    .auth-input:focus {
        border-color: #1e40af;
        box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.15);
    }

/* ===== Password Eye ===== */
.auth-password-row {
    width: 100%;
    position: relative;
}

    .auth-password-row .auth-input {
        padding-right: 44px;
    }

.auth-eye {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    color: #1e40af;
    font-size: 18px;
}

/* ===== Buttons ===== */
.auth-btn {
    width: 100%;
    background: #1e40af;
    border: none;
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    color: #ffffff;
    margin-top: 10px;
    transition: 0.3s;
}

    .auth-btn:hover {
        background: #065fba;
    }

/* ===== Footer Links ===== */
.auth-footer {
    margin-top: 14px;
    font-size: 14px;
    text-align: center;
}

    .auth-footer a {
        font-weight: 600;
        color: #1e40af;
        text-decoration: none;
    }

        .auth-footer a:hover {
            text-decoration: underline;
        }

/* ===== Validation Messages ===== */
.auth-error,
.auth-validation-summary {
    font-size: 12px;
    color: #dc2626; /* Red for error */
    margin-top: 4px;
    display: block;
}

input.input-validation-error {
    border-color: #dc2626 !important;
    background: #fef2f2 !important;
}

/* ===== Forgot Password ===== */
.auth-forgot {
    display: inline-block;
    margin-top: 6px;
    font-size: 14px;
    color: #1e40af;
    font-weight: 600;
    text-decoration: none;
}

    .auth-forgot:hover {
        text-decoration: underline;
    }

/* ===== Responsive ===== */
@media (max-width: 576px) {
    .auth-card {
        width: 90%;
        padding: 32px 20px;
    }
}

/* ===== Govt Header (Logo only) ===== */
.main-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    margin: -40px -36px 20px; /* matches auth-card padding */
    padding: 16px 20px;
    border-radius: 16px 16px 0 0;
}

.main-header-inner {
    display: flex;
    justify-content: center;
    align-items: center;
}

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

    .header-left img {
        height: 44px;
        width: auto;
    }

    .header-left h1 {
        font-size: 15px;
        font-weight: 700;
        margin: 0;
        color: #1e40af;
    }

    .header-left p {
        font-size: 13px;
        margin: 0;
        color: #475569;
    }