/* ============================================================
   VELTRO WMS — Auth
   Login e Reset de Senha
   ============================================================ */

/* ── Container de autenticação ── */
.auth-container {
    min-height: 100vhcalc(100vh - 48px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background);
    padding: 24px;
}

.auth-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
}

.auth-card__logo {
    text-align: center;
    margin-bottom: 32px;
}

.auth-card__logo-image {
    max-width: 180px;
    height: auto;
}

.auth-card__tagline {
    font-size: 12px;
    color: var(--muted);
    margin-top: 6px;
    padding-bottom: 20px;
    text-align: center;
}

.auth-card__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    text-align: center;
}

.auth-card__subtitle {
    font-size: 14px;
    color: var(--muted);
    text-align: center;
    margin-bottom: 32px;
}

.auth-card__footer {
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: var(--muted);
}

.auth-card__footer a {
    color: var(--primary);
    text-decoration: none;
}

.auth-card__footer a:hover {
    text-decoration: underline;
}

/* ── Toggle senha ── */
.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted);
    font-size: 14px;
    padding: 4px;
}

.password-toggle:hover {
    color: var(--text);
}

/* ── Sucesso ── */
.auth-success {
    text-align: center;
}

.auth-success__icon {
    font-size: 48px;
    margin-bottom: 16px;
}

/* ── Requisitos de senha ── */
.password-rules {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.password-rule {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
    transition: color 0.2s;
}

.password-rule--valid {
    color: var(--success);
}

.password-rule__icon {
    font-size: 12px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.password-match {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
    margin-top: 8px;
    transition: color 0.2s;
}

.password-match--valid {
    color: var(--success);
}

.password-match--invalid {
    color: var(--danger);
}

/*===========================
VELTRO WMS - Login
===========================*/
.card__header--auth {
    display: block;
    text-align: center;
}

.card__header--auth .card__title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
}