.login-panel {
    max-width: 560px;
    padding: clamp(24px, 5vw, 46px);
}

.login-brand {
    margin-bottom: 28px;
}

.login-brand h1 {
    font-size: clamp(2rem, 7vw, 3.4rem);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row span {
    font-size: 0.92rem;
    font-weight: 700;
    color: #334155;
}

.form-row input {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;

    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.62);
    color: #111827;

    font: inherit;
    font-size: 1rem;

    outline: none;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        0 10px 26px rgba(15, 23, 42, 0.08);

    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        background 160ms ease;
}

.form-row input:focus {
    border-color: rgba(37, 99, 235, 0.55);
    background: rgba(255, 255, 255, 0.78);

    box-shadow:
        0 0 0 4px rgba(37, 99, 235, 0.14),
        0 14px 32px rgba(15, 23, 42, 0.10);
}

.login-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 10px;
}

.login-actions .btn {
    border: 0;
    cursor: pointer;
    font: inherit;
}

.login-error {
    margin-bottom: 20px;
    padding: 14px 16px;

    border-radius: 18px;
    border: 1px solid rgba(239, 68, 68, 0.25);

    background: rgba(254, 226, 226, 0.70);
    color: #991b1b;

    font-weight: 700;
}

.login-success {
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    border-radius: 0.75rem;
    background: rgba(46, 204, 113, 0.12);
    border: 1px solid rgba(46, 204, 113, 0.35);
    color: #2ecc71;
}

.login-hint {
    margin-top: 26px;
}

@media (max-width: 640px) {
    .login-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .login-actions .btn {
        width: 100%;
    }
}