/* ===== REGISTRO PASSO A PASSO ===== */

.register-step-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* ===== BARRA DE PROGRESSO ===== */

.register-step-progress {
    margin-bottom: 40px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #45a049);
    transition: width 0.3s ease;
    border-radius: 10px;
}

.progress-text {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin: 0;
}

.progress-text .current-step {
    font-weight: bold;
    color: #4CAF50;
}

/* ===== CONTEÚDO DO FORMULÁRIO ===== */

.register-step-content {
    margin-bottom: 30px;
}

.register-step-content h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.step-description {
    color: #999;
    font-size: 14px;
    margin: 0 0 25px 0;
}

/* ===== GRUPOS DE FORMULÁRIO ===== */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-group small.form-text {
    display: block;
    margin-top: 6px;
    color: #999;
    font-size: 12px;
}

/* ===== CHECKBOX ===== */

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
    margin-bottom: 12px;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

/* ===== FORÇA DA SENHA ===== */

.password-strength {
    margin-top: 15px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 4px;
}

.strength-meter {
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 10px;
}

.strength-meter-fill {
    height: 100%;
    width: 0%;
    background: #f44336;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.strength-text {
    margin: 0;
    font-size: 12px;
    color: #666;
}

.strength-value {
    font-weight: bold;
    color: #f44336;
}

/* ===== BOTÕES ===== */

.register-step-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: space-between;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-primary {
    background: #4CAF50;
    color: white;
}

.btn-primary:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.btn-secondary {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background: #e8e8e8;
    transform: translateY(-2px);
}

.btn-success {
    background: #2196F3;
    color: white;
}

.btn-success:hover {
    background: #0b7dda;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ===== RESUMO ===== */

.register-step-summary {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.register-step-summary h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
}

.summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.summary-list li {
    padding: 10px 0;
    color: #666;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.summary-list li:last-child {
    border-bottom: none;
}

.summary-list strong {
    color: #333;
}

.no-data {
    color: #999;
    font-size: 14px;
    font-style: italic;
    margin: 0;
}

/* ===== RESPONSIVO ===== */

@media (max-width: 768px) {
    .register-step-container {
        margin: 20px;
        padding: 20px;
    }

    .register-step-content h3 {
        font-size: 20px;
    }

    .register-step-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* ===== LOGIN ===== */

.login-register-step {
    max-width: 400px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.login-register-step h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

.login-register-step form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.login-register-step input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.login-register-step input[type="submit"] {
    background: #4CAF50;
    color: white;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.login-register-step input[type="submit"]:hover {
    background: #45a049;
}

/* ===== BOTÃO DO SHORTCODE CUSTOM FIELDS ===== */

/* Manter o botão visível mas estilizar para combinar */
.cfpf-submit-button {
    display: inline-block !important;
}

button[name="cfpf_submit"] {
    display: inline-block !important;
}