/*
========================================
Arquivo: /www.simp.app.br/css/auth_pages.css
Descrição: Estilização centralizada para Login, Cadastro e Recuperação (Tema Light)
========================================
*/

:root {
    --primary-color: #0d6efd;
    --primary-hover: #0b5ed7;
    --bg-gradient: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    --card-bg: #ffffff;
    --text-main: #212529;
    --text-muted: #6c757d;
    --border-color: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-gradient);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.auth-card-wide {
    max-width: 700px;
}

.brand-logo {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: 1px;
}

.brand-logo span {
    color: var(--primary-color);
}

.section-title {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin: 1.5rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bg-gradient);
}

.form-control, .form-select {
    background: #ffffff;
    border: 1px solid #ced4da;
    color: var(--text-main);
    border-radius: 8px;
    padding: 12px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

.btn-auth {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-auth:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
    color: white;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1rem 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.divider:not(:empty)::before { margin-right: .5em; }
.divider:not(:empty)::after { margin-left: .5em; }

.btn-social {
    width: 100%;
    color: var(--text-main);
    border: 1px solid #ced4da;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    display: block;
    text-align: center;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-social:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
}

.links {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.links a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.links a:hover {
    text-decoration: underline;
}

.code-input {
    width: 45px;
    height: 55px;
    font-size: 24px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgb(86 135 255);
    color: #000000;
    border-radius: 8px;
    margin: 0 2px;	
}
.alert { display: none; }

.bg-success {
    background-color: #d1e7dd; /* verde suave */
    color: #bfff00;
    border: 1px solid #badbcc;
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.bg-danger {
    background-color: #f8d7da; /* vermelho suave */
    color: #ff0000;
    border: 1px solid #f5c2c7;
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.alert.bg-success,
.alert.bg-danger {
    display: block;
    font-size: 0.9rem;
}