/* style_index.css */

/* General Page Styles */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #e6ecf5 0%, #f8fbff 100%);
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #005293;
}



/* Header */
.header {
    background-color: #005293;
    color: white;
    padding: 15px 0 15px 0;
    text-align: center;
    box-shadow: 0 4px 16px 0 rgba(0, 82, 147, 0.06);
}

.header h1 {
    margin: 0;
    font-size: 3.15rem;
    font-weight: 500;
    letter-spacing: 1.2px;
    line-height: 1.22;
    text-shadow: 0 2px 8px rgba(0,82,147,0.09);
    /* Responsive font for longer titles */
    max-width: 90vw;
    margin-left: auto;
    margin-right: auto;
}

.header .subtitle {
    margin-top: 12px;
    font-size: 1.13rem;
    font-weight: 300;
    letter-spacing: 0.3px;
    color: #d6e4f1;
    text-shadow: 0 1px 6px rgba(0,82,147,0.13);
}


@media (max-width: 500px) {
    .header {
        padding: 22px 0 16px 0;
        margin-bottom: 20px;
        border-radius: 0 0 12px 12px;
    }
    .header h1 {
        font-size: 1.15rem;
    }
    .header .subtitle {
        font-size: 0.98rem;
        margin-top: 7px;
    }
    .header::after {
        margin-top: 14px;
        width: 40px;
        height: 3px;
    }
}


/* Centering the login card container */
.center-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 248px);
}

/* Login Card Styles */
.login-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 6px 32px rgba(0, 82, 147, 0.12);
    padding: 38px 32px 34px 32px;
    max-width: 360px;
    width: 100%;
    margin: 36px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.login-card p {
    margin: 0 0 10px 0;
    color: #005293;
    font-size: 1.07rem;
    text-align: center;
    font-weight: 400;
    letter-spacing: 0.1px;
}

#loginForm {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Username Input */
#userName {
    padding: 12px 14px;
    font-size: 1.07rem;
    border: 1.5px solid #c3d2e6;
    border-radius: 7px;
    background: #f4f8fb;
    outline: none;
    transition: border-color 0.3s;
    margin-bottom: 8px;
    color: #005293;
}

#userName:focus {
    border-color: #005293;
    background: #eaf4fc;
}

/* Button Styles */
#login {
    background: linear-gradient(90deg, #005293 80%, #1976b2 100%);
    color: #fff;
    padding: 12px 0;
    border: none;
    border-radius: 7px;
    font-size: 1.07rem;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 12px rgba(0, 82, 147, 0.11);
    transition: background 0.2s, transform 0.08s;
}

#login:hover, #login:focus {
    background: linear-gradient(90deg, #00365a 70%, #005293 100%);
    transform: translateY(-1px) scale(1.015);
}

/* Footer */
footer,
.footer {
    text-align: center;
    margin-top: 42px;
    padding: 20px 0 15px 0;
    background-color: #005293;
    color: white;
    font-size: 0.92rem;
    box-shadow: 0 -2px 14px rgba(0, 82, 147, 0.04);
}

/* Responsive: Mobile */
@media (max-width: 500px) {
    .login-card {
        padding: 25px 10px 24px 10px;
        max-width: 97vw;
    }
    .center-container {
        min-height: 60vh;
    }
}
