/* Stargio - Criar Conta */
.criar-conta {
    width: min(92%, 640px);
    margin: 3rem auto 4rem;
    padding: 2.5rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.07);
}

.criar-conta h1 {
    margin-bottom: 0.4rem;
    color: #111827;
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.5px;
}

.cc-subtitle {
    text-align: center;
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.criar-conta label {
    display: block;
    color: #374151;
    font-weight: 600;
    font-size: 0.88rem;
    margin-top: 0.9rem;
    margin-bottom: 0.3rem;
}

.criar-conta input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
    color: #111827;
    font: inherit;
    font-size: 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.criar-conta input:focus {
    outline: none;
    border-color: #ff5e00;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(255,94,0,0.12);
}

.criar-conta input[readonly] {
    background: #f3f4f6;
    color: #6b7280;
    cursor: not-allowed;
}

/* Buttons */
.criar-conta button {
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.85rem 1rem;
    border: 0;
    border-radius: 8px;
    background: #374151;
    color: white;
    font: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

/* Primary - enviar cadastro (called via onclick, not type=submit) */
.criar-conta button:first-of-type,
.criar-conta button[onclick="enviarCadastro()"] {
    background: linear-gradient(135deg, #ff5e00, #ff2a5f);
    box-shadow: 0 6px 20px rgba(255,94,0,0.25);
    margin-top: 1.5rem;
}

.criar-conta button:hover { transform: translateY(-1px); }
.criar-conta button:active { transform: translateY(0); }

/* Buscar CEP inline button */
#buscar-cep {
    width: auto;
    margin-top: 0.5rem;
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    background: #f3f4f6;
    color: #374151;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-weight: 600;
}

#buscar-cep:hover {
    background: #fff3ec;
    border-color: #ff5e00;
    color: #ff5e00;
    transform: none;
    box-shadow: none;
}

/* Section divider */
.cc-section {
    border-top: 1px solid #f3f4f6;
    margin-top: 1.5rem;
    padding-top: 0.5rem;
}

.cc-section-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

@media (max-width: 640px) {
    .criar-conta { margin: 1.5rem auto; padding: 1.5rem 1.25rem; }
    .criar-conta h1 { font-size: 1.5rem; }
}
