/* Estilos adaptados de login.css para a página de Cadastro */
:root {
    --background: #ffffff;
    --foreground: #0B1F3A;
    --card: #ffffff;
    --primary: #0B1F3A;
    --secondary: #FF6B00;
    --muted-foreground: #6b7280;
    --border: #e5e7eb;
    --radius: 1rem;
    --gradient-hero: linear-gradient(135deg, #0B1F3A 0%, #FF6B00 100%);
}

body {
    margin: 0;
    font-family: 'Lato', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.container { width: 100%; }
.cadastro-wrapper { width: 100%; max-width: 56rem; /* max-w-4xl */ margin: 0 auto; }
.header { text-align: center; margin-bottom: 2rem; }
.logo { width: 4rem; height: 4rem; background: var(--gradient-hero); border-radius: 1rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.logo span { color: white; font-size: 1.5rem; font-weight: bold; }
.header h1 { font-family: 'Montserrat', sans-serif; font-size: 1.5rem; font-weight: bold; }
.header p { color: var(--muted-foreground); margin-top: 0.5rem; }
.card { background-color: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1); }
.card-header { padding: 1.5rem; border-bottom: 1px solid var(--border); }
.card-header h2 { font-size: 1.25rem; font-weight: 600; margin: 0; }
.card-header p { font-size: 0.875rem; color: var(--muted-foreground); margin-top: 0.25rem; }
.card-content { padding: 1.5rem; }

.form-grid {
    display: grid;
    grid-template-columns: 1fr; /* Padrão para telas pequenas */
    gap: 2rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 1024px) { /* lg: */
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.form-column h3 { font-size: 1.125rem; font-weight: 600; margin: 0 0 0.5rem; }

.input-group { display: flex; flex-direction: column; gap: 0.5rem; }
label { font-size: 0.875rem; font-weight: 500; }
input, select, textarea {
    width: 100%;
    border-radius: 0.375rem;
    border: 1px solid var(--border);
    background-color: var(--background);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    box-sizing: border-box;
    font-family: inherit;
}
input, select { height: 2.5rem; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--primary); outline-offset: 2px; }

button {
    width: 100%;
    background-color: var(--primary);
    color: white;
    font-weight: 500;
    height: 2.5rem;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.2s;
}
button:hover { background-color: #0b1f3ae6; }
button:disabled { opacity: 0.5; cursor: not-allowed; }

.footer-links { margin-top: 1.5rem; text-align: center; font-size: 0.875rem; }
.footer-links p { color: var(--muted-foreground); }
.footer-links a { color: var(--primary); font-weight: 500; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-links > a { display: block; margin-top: 1rem; color: var(--muted-foreground); }

.prgb {
    pointer-events: none;
    opacity: .5;
}

/* Container para centralizar o spinner na página */
.spinner-container {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Ocupa a altura total da tela */
    left: 50%;
    transform: translate(-50%, 10%);
}

/* O Spinner */
.spinner {
    width: 60px; /* Largura do spinner */
    height: 60px; /* Altura do spinner */
    border: 8px solid #e0e0e0; /* Cor da borda do círculo "trilho" */
    border-top-color: #3498db; /* Cor da parte que gira */
    border-radius: 50%; /* Transforma o quadrado em um círculo perfeito */
    animation: girar 1s linear infinite; /* Aplica a animação */
}

/* Animação de rotação */
@keyframes girar {
    0% {
        transform: rotate(0deg); /* Posição inicial */
    }
    100% {
        transform: rotate(360deg); /* Posição final (volta completa) */
    }
}





.logo-bg {
    background: url('/img/BeGrow/PNG/Ativo 33@4x.png');
    background-repeat: no-repeat;
    width: 89px;
    height: 84px;
    background-size: cover;
}


.avatar-fallback {
    background: url('/img/BeGrow/PNG/Ativo 32@4x.png');
    background-repeat: no-repeat;
    width: 32px;
    height: 28px;
    background-size: contain;
}

.avatar-button {
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    border: 1px solid var(--secondary);
    color: var(--primary-foreground);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-ch {
    background: url('/img/ContentHub/PNG/Ativo 9@4x.png');
    background-repeat: no-repeat;
    width: 180px;
    height: 34px;
    background-size: cover;
}

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
}