/* Fundo padrão das telas de autenticação */
.auth-body {
    min-height: 100vh;
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #f5f6ff;
    background: radial-gradient(circle at top, #286bff 0%, #050b17 55%, #020611 100%);
}

/* Wrapper centralizado */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
}

/* Cartão do formulário */
.auth-card {
    width: 100%;
    max-width: 420px;
    background: #050b17;
    border-radius: 20px;
    padding: 28px 28px 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

/* Título e subtítulo */
.auth-title {
    margin: 0 0 6px;
    font-size: 26px;
    font-weight: 600;
}

.auth-subtitle {
    margin: 0 0 22px;
    font-size: 14px;
    color: #c4cffd;
}

/* Inputs e selects */
.auth-form-group {
    margin-bottom: 14px;
}

.auth-form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: #c4cffd;
}

.auth-input,
.auth-select {
    width: 100%;
    border-radius: 999px;
    border: 1px solid #151c33;
    background: #020713;
    padding: 10px 16px;
    font-size: 14px;
    color: #f5f6ff;
    outline: none;
    box-sizing: border-box;
}

.auth-input::placeholder {
    color: #7380a9;
}

.auth-input:focus,
.auth-select:focus {
    border-color: #3d7cff;
    box-shadow: 0 0 0 1px rgba(61, 124, 255, 0.35);
}

/* Botão verde já definido em styles.css – aqui só deixamos ele ocupar 100% */
.btn-full {
    width: 100%;
    justify-content: center;
}

/* Links embaixo do formulário */
.auth-links-row {
    margin-top: 16px;
    font-size: 13px;
    color: #c4cffd;
}

.auth-links-row a {
    color: #4da3ff;
    text-decoration: none;
    font-weight: 500;
}

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

/* Link "voltar para o site" */
.auth-back-link {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    font-size: 13px;
    color: #9aa6ff;
    text-decoration: none;
}

.auth-back-link:hover {
    text-decoration: underline;
}

/* Mensagens flash (erro de login, sucesso de cadastro etc.) */
.flash-container {
    margin-bottom: 12px;
}

.flash {
    border-radius: 12px;
    padding: 9px 12px;
    font-size: 13px;
    line-height: 1.35;
}

.flash-error {
    background: #3b1220;
    border: 1px solid #ff4b7f;
    color: #ffc4da;
}

.flash-success {
    background: #062b17;
    border: 1px solid #12c56b;
    color: #a5f4c6;
}

/* Responsivo: afasta mais do topo em telas maiores */
@media (min-width: 768px) {
    .auth-wrapper {
        padding: 40px 16px;
    }

    .auth-card {
        padding: 32px 32px 26px;
    }
}

