/* --- ESTILO GLOBAL 8OU80 ECOSSISTEMA --- */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8fafc; /* slate-50 */
    color: #0f172a; /* slate-900 */
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
}

/* Contêiner do Card Central */
.welcome-container {
    max-width: 600px;
    width: 90%;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    text-align: center;
    box-sizing: border-box;
}

/* Badge Superior */
.badge-version {
    background-color: #e0e7ff; /* indigo-50 */
    color: #4f46e5; /* indigo-600 */
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

/* Título Principal */
.main-title {
    font-size: 32px;
    font-weight: 800;
    color: #1e1b4b; /* indigo-950 */
    margin-top: 20px;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

/* Texto de Descrição */
.description-text {
    font-size: 16px;
    color: #475569; /* slate-600 */
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Bloco de Botões */
.button-group {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Estilo Base dos Botões */
.btn-action {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: 0.2s ease-in-out;
    display: inline-block;
    box-sizing: border-box;
}

/* Botão Buscar (Indigo) */
.btn-primary {
    background-color: #4f46e5;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    background-color: #4338ca;
    transform: translateY(-1px);
}

/* Botão Painel (Cinza) */
.btn-secondary {
    background-color: #f1f5f9;
    color: #334155;
}

.btn-secondary:hover {
    background-color: #e2e8f0;
    transform: translateY(-1px);
}

/* Responsividade para Celulares */
@media (max-width: 600px) {
    .button-group {
        flex-direction: column;
    }
    .btn-action {
        width: 100%;
    }
}

/* --- ESTILOS DE AUTENTICAÇÃO (LOGIN / CADASTRO) --- */

/* Caixa do Formulário */
.auth-form {
    margin-top: 20px;
    text-align: left;
}

/* Grupos de Inputs */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #475569; /* slate-600 */
    margin-bottom: 6px;
}

/* Campos de Texto e Seleção */
.form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #cbd5e1; /* slate-300 */
    background-color: #f8fafc;
    font-size: 15px;
    color: #0f172a;
    box-sizing: border-box;
    transition: 0.2s ease-in-out;
}

.form-control:focus {
    outline: none;
    border-color: #4f46e5; /* indigo-600 */
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

/* Alertas de Feedback */
.alert {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: center;
}

.alert-danger {
    background-color: #fef2f2;
    color: #dc3545;
    border: 1px solid #fecaca;
}

.alert-success {
    background-color: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

/* Link de Alternância na base do card */
.auth-footer-link {
    margin-top: 25px;
    font-size: 14px;
    color: #64748b;
}

.auth-footer-link a {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 600;
}

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