/* Fundo com gradiente */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #5b2cff, #e64aff);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

/* Container principal */
.cadastroUser {
    background: #fff;
    width: 800px;
    max-width: 95%;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Título */
#title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 24px;
    font-weight: bold;
}

/* Barra de Progresso */
.progress-container {
    margin-bottom: 30px;
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin: 0 20px;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #5c994c;
    z-index: 1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 12px;
    color: #666;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
}

.progress-step.active .step-number {
    background: #5b2cff;
    color: white;
    box-shadow: 0 0 0 3px rgba(91, 44, 255, 0.2);
}

.progress-step.active .step-label {
    color: #5b2cff;
    font-weight: 600;
}

.progress-step.completed .step-number {
    background: #2ecc71;
    color: white;
}

.progress-step.completed .step-label {
    color: #2ecc71;
    font-weight: 600;
}

/* Formulário */
.form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Campos do formulário */
.form div {
    display: flex;
    flex-direction: column;
}

/* Labels */
.form label {
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

/* Inputs */
.form input,
.form select {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 25px;
    background: #f0f0f0;
    font-size: 15px;
    box-sizing: border-box;
}

.form input:focus,
.form select:focus {
    outline: none;
    background: #e8e8e8;
}

/* Botão */
.form button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 25px;
    background: #2ecc71;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
}

.form button:hover {
    background: #27ae60;
}

/* Mensagens de erro */
.error {
    background: #ffebee;
    color: #c62828;
    padding: 10px;
    border-radius: 25px;
    margin: 5px 0;
    text-align: center;
    font-size: 14px;
    border: 1px solid #ffcdd2;
}

/* Mensagem de senha */
#mesangemSenha {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
    padding: 8px 15px;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #2ecc71;
}

/* Responsividade para mobile */
@media (max-width: 768px) {
    .cadastroUser {
        width: 90%;
        padding: 20px;
    }

    .form {
        gap: 15px;
    }

    .form input,
    .form select {
        padding: 10px 15px;
        font-size: 14px;
    }

    .form button {
        padding: 10px;
        font-size: 15px;
    }

    /* Ajustes da barra de progresso para mobile */
    .progress-bar {
        margin: 0 10px;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .step-label {
        font-size: 11px;
    }

    .progress-bar::before {
        top: 17px;
    }
}