/* ============================================
   AGRO INTELIGENTE - LOGIN E CONVITE
   ============================================ */

.auth {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.auth-lado {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 48px;
    color: #fff;
    background:
        radial-gradient(700px 400px at 90% 0%, rgba(102, 187, 106, 0.22), transparent 60%),
        linear-gradient(160deg, #07170B, var(--sidebar-bg));
}

.auth-marca {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
}

.auth-chamada h2 {
    max-width: 440px;
    font-size: 34px;
    color: #fff;
    margin-bottom: 14px;
}

.auth-chamada p {
    max-width: 440px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 24px;
}

.auth-chamada ul {
    list-style: none;
    display: grid;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--font-size-sm);
}

.auth-chamada li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-chamada .ti {
    color: #A5D6A7;
    font-size: 18px;
}

.auth-lado small {
    color: rgba(255, 255, 255, 0.45);
}

.auth-conteudo {
    display: grid;
    place-items: center;
    padding: 40px 24px;
    background: var(--page-bg);
}

.auth-form {
    width: min(400px, 100%);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-form h1 {
    font-size: var(--font-size-2xl);
}

.auth-sub {
    margin-top: -10px;
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

.auth-conta {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.auth-erro {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 10px 12px;
    border-radius: var(--border-radius);
    background: var(--danger-soft);
    color: var(--danger);
    font-size: var(--font-size-sm);
}

.auth-form .form-group input {
    padding: 11px 12px;
    font-size: var(--font-size-base);
}

.senha-campo {
    position: relative;
}

.senha-campo input {
    padding-right: 44px !important;
}

.senha-ver {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: 0;
    background: none;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
}

.auth-botao {
    width: 100%;
    padding: 12px;
    font-size: var(--font-size-base);
    margin-top: 4px;
}

.auth-rodape {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    text-align: center;
}

.label-hint {
    font-weight: 500;
    color: var(--text-muted);
}

@media (max-width: 860px) {
    .auth {
        grid-template-columns: minmax(0, 1fr);
    }

    .auth-lado {
        padding: 24px;
        gap: 18px;
    }

    .auth-chamada h2 {
        font-size: 24px;
    }

    .auth-chamada p,
    .auth-chamada ul,
    .auth-lado small {
        display: none;
    }
}
