﻿:root {
    --primary: #1f8f2e;
    --primary-700: #187326;
    --bg: #f6f8f7;
    --text: #172217;
    --muted: #5f6b5f;
    --border: rgba(0,0,0,.10);
}

.login-page {
    min-height: calc(100vh - 0px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: radial-gradient(800px 400px at 20% 10%, rgba(31,143,46,.12), transparent 60%), radial-gradient(900px 500px at 80% 0%, rgba(31,143,46,.10), transparent 55%), var(--bg);
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 14px 40px rgba(0,0,0,.08);
    padding: 22px 20px;
}

.login-header {
    margin-bottom: 14px;
}

    .login-header h1 {
        font-size: 24px;
        margin: 8px 0 4px;
        color: var(--text);
    }

    .login-header p {
        margin: 0;
        color: var(--muted);
        font-size: 14px;
    }

.brand-logo {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    object-fit: contain;
    background: #fff;
    border: 1px solid rgba(0,0,0,.10);
    padding: 8px;
    display: inline-block;
}

.field {
    margin-top: 12px;
}

    .field label {
        display: block;
        font-size: 13px;
        color: var(--text);
        margin-bottom: 6px;
        font-weight: 600;
    }

.input {
    width: 100%;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 0 12px;
    outline: none;
    font-size: 14px;
    color: var(--text);
    background: #fff;
}

    .input:focus {
        border-color: rgba(31,143,46,.45);
        box-shadow: 0 0 0 4px rgba(31,143,46,.12);
    }

.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    gap: 10px;
}

.check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
}

.link {
    color: var(--primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

    .link:hover {
        text-decoration: underline;
    }

.btn-primary {
    width: 100%;
    height: 46px;
    margin-top: 14px;
    border: 0;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: transform .04s ease, background .12s ease;
}

    .btn-primary:hover {
        background: var(--primary-700);
    }

    .btn-primary:active {
        transform: translateY(1px);
    }

    .btn-primary:disabled {
        opacity: .65;
        cursor: not-allowed;
    }

.alert-error {
    margin-top: 12px;
    border: 1px solid rgba(220, 53, 69, .35);
    background: rgba(220, 53, 69, .08);
    color: #b02a37;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 13px;
}

.validation-summary {
    margin: 8px 0 0;
    color: #b02a37;
    font-size: 13px;
}

.field-error {
    display: block;
    margin-top: 6px;
    color: #b02a37;
    font-size: 12px;
}

.login-footer {
    margin-top: 16px;
    display: flex;
    gap: 8px;
    justify-content: center;
    color: var(--muted);
    font-size: 13px;
}

.login-card {
    margin-top: 40px;
    margin-bottom: 50px
}