﻿:root {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #102664;
    background: #eef3f8;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
}

body {
    min-height: 100vh;
}

.auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background: radial-gradient(circle at top left, #dff4f2, transparent 35%), radial-gradient(circle at bottom right, #dce8f8, transparent 40%), #eef3f8;
}

.login-card {
    width: min(420px, 100%);
    padding: 42px 38px 38px;
    border: 1px solid #d8e2ef;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(16, 38, 100, 0.14);
    text-align: center;
}

.login-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

    .login-logo img {
        display: block;
        width: 78px;
        height: auto;
        object-fit: contain;
    }

.login-card h1 {
    margin: 0;
    color: #102664;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 800;
}

.login-card h3 {
    margin: 2px 0 22px;
    color: #102664;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
}

.login-error {
    margin: 0 0 10px;
    padding: 12px 14px;
    border: 1px solid #dc2626;
    border-radius: 10px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

#account {
    width: 100%;
}

.form-field {
    margin-bottom: 20px;
    text-align: left;
}

    .form-field label {
        display: block;
        margin-bottom: 8px;
        color: #102664;
        font-size: 13px;
        font-weight: 700;
    }

    .form-field input {
        width: 100%;
        min-height: 48px;
        padding: 0 14px;
        border: 1px solid #bdcbe1;
        border-radius: 12px;
        background: #eef4ff;
        color: #102664;
        font: inherit;
        outline: none;
    }

        .form-field input:focus {
            border-color: #102664;
            box-shadow: 0 0 0 4px rgba(16, 38, 100, 0.12);
        }

        .form-field input::placeholder {
            color: #7d8aa8;
        }

.remember-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    margin: 8px 0 24px;
    color: #102664;
    font-size: 14px;
}

    .remember-row input {
        width: 16px;
        height: 16px;
        accent-color: #102664;
    }

.login-button {
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 13px;
    background: #102664;
    color: #ffffff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(16, 38, 100, 0.22);
    transition: transform 0.15s ease, filter 0.15s ease;
}

    .login-button:hover {
        filter: brightness(1.08);
        transform: translateY(-1px);
    }

    .login-button:active {
        transform: translateY(0);
    }

.validation-summary,
.validation-message {
    color: #b42318;
    font-size: 13px;
    text-align: left;
}

    .validation-summary:empty,
    .validation-message:empty {
        display: none;
    }

@media (max-width: 520px) {
    .auth-page {
        padding: 16px;
    }

    .login-card {
        padding: 32px 22px;
    }

        .login-card h1 {
            font-size: 26px;
        }
}
