.auth-shell {
    width: 100%;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.2);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px; /* AQUI */
    padding: 32px; /* Margem interna */
    overflow: hidden;
}

.auth-pane + .auth-pane {
    border-left: none !important;
}

.auth-pane {
    padding: 32px 28px 28px;
}

.auth-pane + .auth-pane {
    border-left: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #f5f3ff, #eef2ff);
}

.auth-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.auth-subtitle {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 24px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field label {
    font-size: 0.86rem;
    font-weight: 500;
    color: #374151;
}

.field input {
    width: 100%;
    padding: 10px 11px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    font-size: 0.95rem;
    outline: none;
    background: #f9fafb;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input:focus {
    border-color: #6366f1;
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.4);
}

.btn-primary,
.btn-outline {
    border-radius: 999px;
    border: none;
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.15s ease,
                transform 0.08s ease;
}

.btn-primary {
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.6);
    margin-top: 6px;
}

.btn-primary:hover {
    box-shadow: 0 14px 32px rgba(79, 70, 229, 0.75);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(1px) scale(0.99);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.6);
}

.btn-outline {
    border: 1px solid #4f46e5;
    background: transparent;
    color: #4f46e5;
    margin-top: 6px;
}

.btn-outline:hover {
    background: #eef2ff;
}

.helper-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 4px;
}

.helper-row a {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 500;
}

.helper-row a:hover {
    text-decoration: underline;
}

.note {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #6b7280;
}

@media (max-width: 820px) {
    .auth-shell {
        grid-template-columns: minmax(0, 1fr);
    }

    .auth-pane + .auth-pane {
        border-left: none;
        border-top: 1px solid #e5e7eb;
    }
}

@media (max-width: 520px) {
    body {
        padding: 16px;
    }

    .auth-pane {
        padding: 24px 20px 22px;
    }
}

.auth-shell:has(.auth-pane:only-child) {
    grid-template-columns: 1fr;
    justify-items: center; /* centraliza o conteúdo */
    text-align: center;    /* opcional */
}

.auth-shell:has(.auth-pane:only-child) .auth-pane {
    max-width: 420px;      /* largura bonita e controlada */
    width: 100%;
}
