* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    background: #f1f5f9;
    color: #1a202c;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.card {
    margin: auto;
    background: #fff;
    width: 100%;
    max-width: min(440px, calc(100% - 3rem));
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.card__head { padding: 28px 32px 8px; }
.card__logo { font-weight: 800; font-size: 1.25rem; color: #1a202c; }
.card__logo span { color: var(--lbx-azul); }
.card__title { font-size: 1.4rem; font-weight: 700; margin-top: 14px; }
.card__sub { color: #718096; font-size: 0.9rem; margin-top: 6px; line-height: 1.5; }
.card__body { padding: 20px 32px 32px; }

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 6px;
    margin-top: 14px;
}

.form-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: border .15s, box-shadow .15s;
}

.form-input:focus {
    border-color: var(--lbx-azul);
    box-shadow: 0 0 0 3px rgba(10, 71, 161, 0.15);
}

.btn {
    width: 100%;
    margin-top: 18px;
    background: var(--lbx-azul);
    color: #fff;
    border: none;
    padding: 13px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s;
}

.btn:hover { background: var(--lbx-azul-escuro); }

.alert {
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.alert--error   { background: #fff5f5; color: #c53030; border: 1px solid #feb2b2; }
.alert--success { background: var(--lbx-verde-50); color: var(--lbx-verde-escuro); border: 1px solid var(--lbx-verde-100); }
.alert--info    { background: var(--lbx-azul-50); color: var(--lbx-azul); border: 1px solid var(--lbx-azul-100); }

.back {
    display: inline-block;
    margin-top: 18px;
    color: #718096;
    font-size: 0.875rem;
    text-decoration: none;
    font-weight: 600;
}

.back:hover { color: var(--lbx-azul); }
