/**
 * Sistema de diseño AAPAS (azul) para los checkouts del curso PAS.
 * Paleta: azul #0a509b, navy #06305e, celeste CTA #00c0ff, fills claros #d9f1ff.
 * Se aplica en todos los wfacp_checkout — CSS only, no toca el contenido de las páginas.
 */

/* Inputs y selects redondeados */
body.single-wfacp_checkout .wfacp-form-control,
body.single-wfacp_checkout select.wfacp-form-control,
body.single-wfacp_checkout .wfacp_main_form .woocommerce-input-wrapper input,
body.single-wfacp_checkout .wfacp_main_form .woocommerce-input-wrapper select,
body.single-wfacp_checkout .wfacp_main_form textarea {
    border-radius: 10px;
}

/* Cards de secciones redondeadas */
body.single-wfacp_checkout .wfacp-section,
body.single-wfacp_checkout .wfacp-hg-by-box,
body.single-wfacp_checkout .wfacp_order_summary_widget {
    border-radius: 16px;
}

/* CTA principal: pill celeste con texto navy
   (doble #wfacp-e-form: el DOM lo anida dos veces y hace falta ganarle
   en especificidad a las reglas generadas por FunnelKit) */
.et-db #et-boc .et-l .wfacp_checkout_form_0 #wfacp-e-form .wfacp_main_form.woocommerce.woocommerce #payment button#place_order,
body.single-wfacp_checkout #wfacp-e-form #wfacp-e-form .wfacp_main_form button#place_order,
body.single-wfacp_checkout #wfacp-e-form #place_order,
body.single-wfacp_checkout #place_order {
    border-radius: 999px !important;
    background-color: #00c0ff !important;
    color: #06305e !important;
    font-weight: 700;
    box-shadow: none;
}
.et-db #et-boc .et-l .wfacp_checkout_form_0 #wfacp-e-form .wfacp_main_form.woocommerce.woocommerce #payment button#place_order:hover,
body.single-wfacp_checkout #wfacp-e-form #wfacp-e-form .wfacp_main_form button#place_order:hover,
body.single-wfacp_checkout #place_order:hover {
    background-color: #00a9e6 !important;
    color: #06305e !important;
}
.et-db #et-boc .et-l .wfacp_checkout_form_0 #wfacp-e-form .wfacp_main_form.woocommerce.woocommerce #payment button#place_order:before,
body.single-wfacp_checkout #wfacp-e-form #place_order:before {
    color: #06305e !important;
}
body.single-wfacp_checkout #place_order i,
body.single-wfacp_checkout #place_order svg {
    color: #06305e !important;
    fill: #06305e !important;
}

/* Botones de cupón: pill celeste claro con borde azul */
body.single-wfacp_checkout #wfacp-e-form button.wfacp-coupon-btn,
body.single-wfacp_checkout #wfacp-e-form button.wfacp-coupon-field-btn {
    border-radius: 999px !important;
    background-color: #d9f1ff !important;
    color: #0a509b !important;
    border: 1.5px solid #0a509b !important;
    font-weight: 500;
}
body.single-wfacp_checkout #wfacp-e-form button.wfacp-coupon-btn:hover,
body.single-wfacp_checkout #wfacp-e-form button.wfacp-coupon-field-btn:hover {
    background-color: #b3e4ff !important;
}
body.single-wfacp_checkout #wfacp-e-form button.wfacp-coupon-btn:disabled,
body.single-wfacp_checkout #wfacp-e-form button.wfacp-coupon-field-btn:disabled {
    background-color: #eaf6ff !important;
    color: #7fa6c9 !important;
    border-color: #b5d5ec !important;
}
body.single-wfacp_checkout .wfacp_coupon_field_input {
    border-radius: 24px !important;
    padding-left: 18px;
}

/* Radios y checkboxes en azul AAPAS */
body.single-wfacp_checkout .wfacp_main_form input[type="radio"],
body.single-wfacp_checkout .wfacp_main_form input[type="checkbox"] {
    accent-color: #0a509b;
}

/* Filas de productos redondeadas */
body.single-wfacp_checkout .wfacp-product-switch-panel,
body.single-wfacp_checkout .wfacp_product_switching {
    border-radius: 10px;
    overflow: hidden;
}
