/* Estilos da Barra de Progresso e Etapas */
.progress-container {
    margin-bottom: 20px;
    text-align: center;
}

.progress-bar-container {
    background: #e0e0e0;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 10px;
}

.progress-bar {
    background: #49E670;
    height: 100%;
    width: 0%;
    transition: width 0.4s ease-in-out;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.progress-step {
    width: 30px;
    height: 30px;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    transition: background-color 0.4s ease;
    z-index: 1;
}

.progress-step.active {
    background: #49E670;
}

/* Estilos do Formulário */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.elementor-field-group {
    margin-bottom: 20px;
    width: 100%;
}

.elementor-field-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.elementor-field-textual, select {
    width: 100%;
    max-width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.elementor-field-textual:focus, select:focus {
    border-color: #49E670;
    outline: none;
}

.radio-group label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    margin-right: 10px;
}

/* Estilo para campos com erro */
.field-error .elementor-field-label {
    color: red;
}
.field-error .elementor-field-textual,
.field-error select,
.field-error .radio-group {
    border: 1px solid red !important; /* Adicionado para destacar o grupo de rádio também */
    border-radius: 5px;
    padding: 5px;
}

/* Botões */
.button-group {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.elementor-button {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    background-color: #49E670;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.elementor-button:hover {
    background-color: #3cc35a;
    transform: translateY(-2px);
}

.elementor-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.prev-step {
    background-color: #ccc;
}

.prev-step:hover {
    background-color: #b3b3b3;
}

/* Notificação Suspensa */
#form-confirmation {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 16px;
    color: #fff;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s, transform 0.3s;
    opacity: 0;
    transform: translateY(-30px);
}

#form-confirmation.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

#form-confirmation.success {
    background-color: #28a745; /* Verde sucesso */
}

#form-confirmation.error {
    background-color: #dc3545; /* Vermelho erro */
}

#form-confirmation::before {
    font-family: "Font Awesome 5 Free"; /* Certifique-se que Font Awesome está carregado */
    font-weight: 900;
    margin-right: 10px;
}

#form-confirmation.success::before {
    content: '\f00c'; /* Ícone de check */
}

#form-confirmation.error::before {
    content: '\f071'; /* Ícone de aviso */
}