/* ============================================
   SIGNUP PAGE - PRIMO CONTINGÊNCIA
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #0B0F1F;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
    padding: 1rem;
}

/* Imagem de fundo */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../imagens/Painel-analise.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

/* Gradiente escuro */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 15, 31, 0.75), rgba(11, 15, 31, 0.85));
    pointer-events: none;
    z-index: 0;
}

.auth-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
    position: relative;
    z-index: 2;
}

/* CARD - TOTALMENTE SÓLIDO (igual ao login) */
.auth-card {
    background: #0F122E;
    backdrop-filter: none;
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid rgba(255, 107, 0, 0.2);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.4);
}

.logo {
    text-align: center;
    margin-bottom: 1rem;
}

.logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 0.5rem;
    display: block;
}

.auth-card h2 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.auth-card .subtitle {
    text-align: center;
    color: #A5AAC7;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: #A5AAC7;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.form-group label i {
    color: #FF8C2E;
    margin-right: 0.3rem;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background: #1A1E42;
    border: 1px solid #2A2F4A;
    border-radius: 0.75rem;
    color: white;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s;
}

.form-group input:focus {
    border-color: #FF6B00;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.2);
}

.form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.form-row .form-group {
    flex: 1;
    min-width: 150px;
}

.field-note {
    font-size: 0.7rem;
    color: #6B7280;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #FF6B00, #FF8C2E);
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    color: white;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 0, 0.3);
}

.google-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid #2A2F4A;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.google-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #FF6B00;
}

.divider {
    text-align: center;
    margin: 1.5rem 0;
    color: #6B7280;
    position: relative;
    font-size: 0.85rem;
}

.divider::before,
.divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #2A2F4A;
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.switch-auth {
    text-align: center;
    margin-top: 1.5rem;
    color: #A5AAC7;
    font-size: 0.9rem;
}

.switch-auth a {
    color: #FF8C2E;
    text-decoration: none;
    font-weight: 600;
}

.error-msg,
.success-msg {
    padding: 0.75rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    font-family: 'Poppins', sans-serif;
}

.error-msg {
    background: rgba(239, 68, 68, 0.15);
    border-left: 3px solid #ef4444;
    color: #fca5a5;
}

.success-msg {
    background: rgba(34, 197, 94, 0.15);
    border-left: 3px solid #22c55e;
    color: #86efac;
}

/* Responsividade */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }

    .auth-card {
        padding: 1.2rem;
    }

    .logo-img {
        width: 60px;
        height: 60px;
    }
}