/* ===== SHARED LOGIN PAGE STYLES ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
    font-family: 'Segoe UI', Arial, sans-serif;
    min-height: 100vh;
}

.login-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 120px);
    padding: 30px 16px 60px;
}

.login-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 40px rgba(11, 52, 162, 0.12);
    width: 100%;
    max-width: 440px;
    overflow: hidden;
}

/* Header strip */
.login-card-header {
    background: var(--background-color, #1a237e);
    padding: 28px 32px 22px;
    text-align: center;
    color: #fff;
}

.login-card-header .login-icon {
    font-size: 40px;
    margin-bottom: 10px;
    opacity: 0.95;
}

.login-card-header h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
}

.login-card-header p {
    font-size: 13px;
    opacity: 0.8;
    margin: 5px 0 0;
}

/* Body */
.login-card-body {
    padding: 28px 32px 32px;
}

.login-field {
    margin-bottom: 18px;
}

.login-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
}

.login-field .input-wrap {
    position: relative;
}

.login-field .input-wrap .fa {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 15px;
}

.login-field input,
.login-field select {
    width: 100%;
    height: 44px;
    border: 1.5px solid #e0e4f0;
    border-radius: 8px;
    padding: 0 12px 0 38px;
    font-size: 14px;
    color: #333;
    background: #fafbff;
    transition: border 0.2s, box-shadow 0.2s;
    outline: none;
    appearance: none;
}

.login-field input:focus,
.login-field select:focus {
    border-color: var(--background-color, #1a237e);
    box-shadow: 0 0 0 3px rgba(11, 52, 162, 0.1);
    background: #fff;
}

/* reCAPTCHA */
.login-captcha {
    margin: 6px 0 18px;
    transform: scale(0.95);
    transform-origin: left;
}

/* Error message */
.login-error {
    color: #e53935;
    font-size: 13px;
    min-height: 18px;
    margin-bottom: 10px;
    text-align: center;
}

/* Submit button */
.login-btn {
    width: 100%;
    height: 46px;
    background: var(--background-color, #1a237e);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.login-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(11, 52, 162, 0.28);
}

.login-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Links below form */
.login-links {
    text-align: center;
    margin-top: 18px;
    font-size: 13px;
    color: #666;
}

.login-links a {
    color: var(--background-color, #1a237e);
    font-weight: 600;
    text-decoration: none;
}

.login-links a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .login-card-header {
        padding: 22px 20px 18px;
    }

    .login-card-body {
        padding: 22px 20px 24px;
    }

    .login-captcha {
        transform: scale(0.85);
    }
}