.login-page {
    margin: 0;
    min-height: 100vh;
    background: #f4f6f9;
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

.login-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Left panel. Drop a photo at wwwroot/img/login-hero.webp to show it behind the gradient. */
.login-hero {
    flex: 0 0 52%;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 80px 64px 48px 96px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(10, 20, 32, .92) 0%, rgba(10, 20, 32, .6) 60%, rgba(10, 20, 32, .35) 100%),
        url("../img/login-hero.webp") center / cover no-repeat,
        linear-gradient(135deg, #1b2a3a 0%, #0d1620 100%);
}

.login-hero-text {
    margin-top: 64px;
    max-width: 320px;
}

.login-hero-text h1 {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 24px;
}

.login-hero-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .85);
}

.login-hero-usps {
    margin: auto 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 56px;
    font-size: 1.05rem;
}

.login-hero-usps i,
.login-hero-usps svg {
    margin-right: 10px;
    font-size: 1.3rem;
}

.login-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    background:
        linear-gradient(120deg, transparent 60%, rgba(0, 50, 88, .04) 60%, rgba(0, 50, 88, .04) 75%, transparent 75%),
        #f4f6f9;
}

.login-card {
    width: 100%;
    max-width: 560px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 30, 60, .08);
    padding: 52px;
}

.login-card-logo {
    display: block;
    width: 200px;
    max-width: 100%;
    margin: 0 0 36px;
    opacity: .85;
}

.login-card h2 {
    color: #003258;
    font-weight: 600;
    font-size: 2rem;
    margin-bottom: 8px;
}

.login-subtitle {
    color: #5a6b7f;
    margin-bottom: 32px;
}

.login-card label {
    color: #1d2b3a;
    margin-bottom: 6px;
}

.login-input {
    position: relative;
}

.login-input i,
.login-input svg {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #1d2b3a;
}

.login-input .form-control {
    height: 56px;
    padding-left: 52px;
    border-color: #d5dbe3;
    border-radius: 6px;
}

.login-input .form-control:focus {
    border-color: #003258;
    box-shadow: 0 0 0 .2rem rgba(0, 50, 88, .15);
}

.login-button {
    position: relative;
    width: 100%;
    height: 60px;
    margin-top: 12px;
    background: #003258;
    color: #fff;
    border-radius: 6px;
    font-size: 1.1rem;
}

.login-button:hover,
.login-button:focus {
    background: #194568;
    color: #fff;
}

.login-button i,
.login-button svg {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 991px) {
    .login-hero {
        display: none;
    }

    .login-card {
        padding: 40px 24px;
    }

    .login-card-logo {
        margin-bottom: 32px;
    }
}

.login-input svg {
    z-index: 2;
    pointer-events: none;
}


.login-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
    padding: 12px 16px;
    border: 1px solid #f1c2c2;
    border-left: 4px solid #c62828;
    border-radius: 6px;
    background: #fdf2f2;
    color: #8e1c1c;
    font-size: .95rem;
}

.login-alert.validation-summary-valid {
    display: none;
}

.login-alert ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.login-field-error {
    display: block;
    margin-top: 6px;
    color: #c62828;
    font-size: .875rem;
}

.login-input .form-control.input-validation-error {
    border-color: #c62828;
}

.login-input .form-control.input-validation-error:focus {
    box-shadow: 0 0 0 .2rem rgba(198, 40, 40, .15);
}
