/*
 * Formularios CF7 por pasos (inc/forms.php + js/cf7-steps.js).
 * Imita el aspecto del antiguo formulario de Caldera Forms.
 */
.mmc-cf7 h4 {
    margin: 0 0 10px;
}
.mmc-cf7 .form-group {
    margin-bottom: 15px;
}
.mmc-cf7 .control-label {
    display: block;
    font-weight: 700;
    margin-bottom: 5px;
}
.mmc-cf7 .field_required {
    color: #ee0000;
}
.mmc-cf7 .form-control {
    border-radius: 0;
    width: 100%;
}
.mmc-cf7 .wpcf7-form-control-wrap {
    display: block;
}
.mmc-cf7 .wpcf7-list-item {
    display: block;
    margin: 0 0 2px;
}
.mmc-cf7 .wpcf7-list-item label {
    cursor: pointer;
    font-weight: 300;
}
.mmc-cf7 .wpcf7-list-item input {
    margin-right: 6px;
}

/* Errores: mismo estilo que tenía Caldera. */
.mmc-cf7 .wpcf7-not-valid {
    background: #f2dede;
    border-color: #b94a48 !important;
}
.mmc-cf7 .wpcf7-checkbox.wpcf7-not-valid,
.mmc-cf7 .wpcf7-radio.wpcf7-not-valid {
    background: none;
}
.mmc-cf7 .wpcf7-not-valid-tip {
    color: #b94a48;
    font-size: 13px;
}

/* Pasos */
.mmc-cf7 fieldset.mmc-step {
    border: 0;
    margin: 0;
    min-width: 0;
    padding: 0;
}
.mmc-cf7 fieldset.mmc-step[hidden],
.mmc-cf7 .mmc-cond[hidden] {
    display: none !important;
}
.mmc-cf7 .mmc-steps-progress {
    font-size: 13px;
    margin: 0 0 10px;
    opacity: 0.7;
    text-align: right;
}
.mmc-cf7 .mmc-steps-nav {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}
.mmc-cf7 .mmc-steps-nav .mmc-submit {
    align-items: center;
    display: flex;
    gap: 10px;
    margin: 0;
}
.mmc-cf7 .mmc-steps-nav .btn-default {
    margin: 0 !important;
}
.mmc-cf7 .mmc-steps-nav .btn-default:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}
.mmc-cf7 .mmc-steps-nav .wpcf7-spinner {
    margin: 0;
}

/* Botones (mismos estilos que .caldera-grid .btn-default en main.css, también fuera de /quiero-pareja/) */
.mmc-cf7 .btn-default {
    background: #000;
    border: none;
    border-radius: 0;
    color: #fff;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 700;
    height: 50px;
    text-transform: uppercase;
    width: 170px;
}
.mmc-cf7 .btn-default:hover,
.mmc-cf7 .btn-default:focus-visible {
    background: #333;
    color: #fff;
}
.blquieropareja .mmc-cf7 .btn-default {
    margin: 0;
}

@media (max-width: 575px) {
    .mmc-cf7 .mmc-steps-nav .btn-default {
        width: calc(50% - 10px);
    }
}
