/**
 * PAP Core v2.4.1
 * CSS propio centralizado.
 */

/* PAP · Separación global entre grupos de botones Gutenberg. */
.wp-block-buttons {
    gap: 24px !important;
    row-gap: 16px !important;
}

/* PAP · Estados pulsado/foco de botones PMPro. */
.pmpro .pmpro_btn:active,
.pmpro .pmpro_btn:focus,
.pmpro input[type="submit"]:active,
.pmpro input[type="submit"]:focus,
.pmpro button[type="submit"]:active,
.pmpro button[type="submit"]:focus {
    background: #111111 !important;
    background-color: #111111 !important;
    color: #ffffff !important;
    border-color: #111111 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* MI PAP */
.pap-mi-pap-header {
    position: relative !important;
}

.pap-cerrar-sesion-auto,
.pap-iniciar-sesion-auto,
.pap-ver-planes-auto {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    white-space: nowrap;
    box-sizing: border-box;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.pap-cerrar-sesion-auto {
    position: absolute;
    top: 50%;
    right: 32px;
    transform: translateY(-50%);
    border: 1px solid #E30613;
    background: transparent;
    color: #ffffff !important;
    z-index: 2;
}

.pap-cerrar-sesion-auto:hover,
.pap-cerrar-sesion-auto:focus {
    background: #E30613;
    border-color: #E30613;
    color: #ffffff !important;
}

.pap-login-cta-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    width: 100%;
    margin-top: 32px;
    margin-bottom: 24px;
}

.pap-iniciar-sesion-auto,
.pap-ver-planes-auto {
    min-width: 220px;
}

.pap-iniciar-sesion-auto {
    background: #E30613;
    border: 1px solid #E30613;
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(227, 6, 19, .18);
}

.pap-iniciar-sesion-auto:hover,
.pap-iniciar-sesion-auto:focus {
    background: #c40010;
    border-color: #c40010;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.pap-ver-planes-auto {
    background: transparent;
    border: 1px solid #E30613;
    color: #ffffff !important;
}

.pap-ver-planes-auto:hover,
.pap-ver-planes-auto:focus {
    background: #E30613;
    border-color: #E30613;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.pap-logout-modal[hidden] {
    display: none !important;
}

.pap-logout-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, .72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.pap-logout-modal__card {
    width: min(430px, 100%);
    padding: 32px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    background: #111111;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 24px 70px rgba(0,0,0,.45);
}

.pap-logout-modal__title {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.15;
}

.pap-logout-modal__text {
    margin: 0 0 26px;
    color: #bdbdbd;
    font-size: 16px;
    line-height: 1.5;
}

.pap-logout-modal__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.pap-logout-modal__btn {
    min-height: 46px;
    padding: 11px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none !important;
    box-sizing: border-box;
}

.pap-logout-modal__cancel {
    border: 1px solid #666666;
    background: transparent;
    color: #ffffff;
}

.pap-logout-modal__cancel:hover,
.pap-logout-modal__cancel:focus {
    border-color: #ffffff;
}

.pap-logout-modal__confirm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E30613;
    background: #E30613;
    color: #ffffff !important;
}

.pap-logout-modal__confirm:hover,
.pap-logout-modal__confirm:focus {
    background: #c40010;
    border-color: #c40010;
}

@media (max-width: 768px) {
    .wp-block-buttons {
        gap: 14px !important;
        row-gap: 14px !important;
    }

    .pap-mi-pap-header {
        padding-bottom: 18px !important;
    }

    .pap-cerrar-sesion-auto {
        position: static;
        transform: none;
        width: 100%;
        margin-top: 18px;
    }

    .pap-login-cta-wrap {
        margin-top: 24px;
        margin-bottom: 18px;
        gap: 14px;
    }

    .pap-iniciar-sesion-auto,
    .pap-ver-planes-auto {
        width: 100%;
        min-width: 0;
    }

    .pap-logout-modal__card {
        padding: 26px 20px;
    }

    .pap-logout-modal__actions {
        flex-direction: column-reverse;
    }

    .pap-logout-modal__btn {
        width: 100%;
    }
}


/* MI PAP · Número del día en tarjetas semanales. */
.pap-week-day-number {
    display: block;
    margin: 5px 0 3px;
    color: #a9a9a9;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    letter-spacing: .02em;
    pointer-events: none;
}

@media (max-width: 768px) {
    .pap-week-day-number {
        margin-top: 4px;
        font-size: 13px;
    }
}

/* =========================================================
 * MI PAP · integración limpia 2.15.0
 * ========================================================= */

.pap-week-card--interactive {
    cursor: pointer;
}

.pap-week-card--interactive:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

.pap-rest-badge--today,
.pap-rest-badge--done {
    background: #22C55E !important;
    border-color: #22C55E !important;
    color: #111111 !important;
}

.pap-rest-badge--missed {
    background: #EF233C !important;
    border-color: #EF233C !important;
    color: #ffffff !important;
}

.pap-rest-badge--future {
    background: #333333 !important;
    border-color: #333333 !important;
    color: #ffffff !important;
}

.pap-rest-action {
    margin-top: 18px;
    width: 100%;
}

.pap-rest-button {
    width: 100%;
    min-height: 54px;
    border: 1px solid #E30613;
    border-radius: 8px;
    background: #E30613;
    color: #ffffff !important;
    font: inherit;
    font-weight: 800;
    text-align: center;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.pap-rest-button:hover,
.pap-rest-button:focus-visible {
    background: #c40010;
    border-color: #c40010;
    color: #ffffff !important;
}

.pap-rest-button:disabled {
    cursor: wait;
    opacity: .75;
}

.pap-rest-button--done {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #22C55E;
    border-color: #22C55E;
    color: #111111 !important;
    cursor: default;
}

.pap-diagnostic-native-hidden {
    display: none !important;
}

.pap-diagnostic-history {
    margin-top: 24px;
}

.pap-diagnostic-history__card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 12px;
    padding: 18px 20px;
    border: 1px solid #555555;
    border-radius: 8px;
    background: #111111;
    color: inherit;
    text-decoration: none;
}

.pap-diagnostic-history__card div {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.pap-diagnostic-history__card strong {
    font-size: 18px;
}

.pap-diagnostic-history__card span {
    opacity: .65;
}

.pap-diagnostic-history__card--done {
    border-color: #22C55E;
}

.pap-diagnostic-history__card--done b {
    color: #22C55E;
}

.pap-diagnostic-history__card--partial {
    border-color: #F59E0B;
}

.pap-diagnostic-history__card--partial b {
    color: #F59E0B;
}

.pap-diagnostic-history__card--missed {
    border-color: #EF233C;
}

.pap-diagnostic-history__card--missed b {
    color: #EF233C;
}

.pap-diagnostic-trend {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #333333;
}

.pap-diagnostic-trend h2 {
    margin: 0 0 4px;
}

.pap-diagnostic-trend__intro {
    margin: 0 0 18px;
    opacity: .7;
}

.pap-diagnostic-trend__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.pap-diagnostic-trend__card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    border: 1px solid #3A3A3A;
    border-radius: 8px;
    background: #151515;
}

.pap-diagnostic-trend__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.pap-diagnostic-trend__head > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pap-diagnostic-trend__card strong {
    font-size: 13px;
}

.pap-diagnostic-trend__card b {
    font-size: 24px;
}

.pap-diagnostic-trend__card span {
    opacity: .72;
}

.pap-diagnostic-trend__card em {
    color: #F59E0B;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.pap-diagnostic-trend__card p {
    margin: 4px 0 0;
    padding: 12px;
    border-radius: 5px;
    background: #1B1B1B;
}

.pap-diagnostic-trend__help {
    margin-top: 10px;
    padding: 12px;
    border: 1px solid #333333;
    border-radius: 6px;
    background: #151515;
}

.pap-trend-icon {
    display: flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.pap-trend-icon--rpe {
    color: #60A5FA;
}

.pap-trend-icon--quality {
    color: #F59E0B;
    font-size: 42px;
}

.pap-trend-icon--finish {
    font-size: 34px;
}

@media (max-width: 760px) {
    .pap-diagnostic-trend__grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
 * PAP · Registro público
 * PMPro conserva contraseña + email.
 * user_login es técnico y no se solicita al usuario.
 * ========================================================= */

.pmpro .pmpro_form_field-username,
.pmpro_form_field-username {
    display: none !important;
}

/* =========================================================
 * PAP · Checkout PMPro · cuenta
 * Orden visible: correo primero, contraseña después.
 * No modifica el HTML ni sustituye la plantilla de PMPro.
 * ========================================================= */

#pmpro_user_fields .pmpro_form_fields {
    display: flex;
    flex-direction: column;
}

/* PMPro con campos de confirmación activos: cada pareja vive en pmpro_cols-2. */
#pmpro_user_fields .pmpro_form_fields > .pmpro_cols-2:has(.pmpro_form_field-bemail) {
    order: -20;
}

#pmpro_user_fields .pmpro_form_fields > .pmpro_cols-2:has(.pmpro_form_field-password) {
    order: -10;
}

/* Compatibilidad si en el futuro se desactiva alguna confirmación. */
#pmpro_user_fields .pmpro_form_fields > .pmpro_form_field-bemail {
    order: -20;
}

#pmpro_user_fields .pmpro_form_fields > .pmpro_form_field-password {
    order: -10;
}

/* =========================================================
 * PAP · Confirmación PMPro
 * El alta termina en Datos PAP, no en el editor de perfil PMPro.
 * ========================================================= */

/* Texto estándar de PMPro sobre fondo oscuro PAP. */
.pmpro [id^="pmpro_confirmation-"] > p,
.pmpro [id^="pmpro_confirmation-"] > .pmpro_confirmation-level-message,
.pmpro [id^="pmpro_confirmation-"] > .pmpro_confirmation-level-message p {
    color: #f5f5f5 !important;
}

/* Siguiente paso PAP. */
.pap-pmpro-confirmation-next {
    margin: 28px 0 30px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 12px;
    background: #111111;
    color: #ffffff;
}

.pap-pmpro-confirmation-next__title {
    margin: 0 0 8px !important;
    color: #ffffff !important;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}

.pap-pmpro-confirmation-next__text {
    margin: 0 0 18px !important;
    color: #f1f1f1 !important;
    font-size: 17px;
    line-height: 1.5;
}

.pap-pmpro-confirmation-next__button,
.pap-pmpro-confirmation-next__button:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 13px 24px;
    border: 1px solid #E30613;
    border-radius: 999px;
    background: #E30613;
    color: #ffffff !important;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none !important;
}

.pap-pmpro-confirmation-next__button:hover,
.pap-pmpro-confirmation-next__button:focus-visible {
    border-color: #c40010;
    background: #c40010;
    color: #ffffff !important;
}

/*
 * En la tarjeta gratuita de confirmación, PMPro muestra user_login como
 * "Username". En PAP ese dato es técnico y no forma parte del acceso visible.
 */
.pmpro [id^="pmpro_confirmation-"] > .pmpro_card .pmpro_card_title {
    display: none !important;
}

.pmpro [id^="pmpro_confirmation-"] > .pmpro_card .pmpro_list_item:first-child {
    display: none !important;
}

.pmpro [id^="pmpro_confirmation-"] > .pmpro_card,
.pmpro [id^="pmpro_confirmation-"] > .pmpro_card * {
    color: #111111;
}

/*
 * El enlace estándar "Ver tu cuenta de miembro" lleva al perfil PMPro y
 * confunde el onboarding PAP. El CTA oficial de esta pantalla es Datos PAP.
 */
.pmpro [id^="pmpro_confirmation-"] > .pmpro_actions_nav {
    display: none !important;
}

@media (max-width: 768px) {
    .pap-pmpro-confirmation-next {
        padding: 20px;
    }

    .pap-pmpro-confirmation-next__button {
        width: 100%;
        box-sizing: border-box;
    }
}

/* =========================================================
 * PAP · Datos PAP
 * Perfil estable en Formidable, presentación centralizada
 * desde PAP Core. Mobile first y sin IDs numéricos.
 * ========================================================= */

.pap-profile-onboarding {
    width: 100%;
    margin: 0 auto 24px;
    padding: 24px 26px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: 1px solid #303030;
    border-radius: 18px;
    background: #111111;
}

.pap-profile-onboarding__copy {
    min-width: 0;
}

.pap-profile-onboarding__kicker {
    margin-bottom: 7px;
    color: #E30613;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
}

.pap-profile-onboarding h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.08;
}

.pap-profile-onboarding p {
    max-width: 760px;
    margin: 0;
    color: #b8b8b8;
    font-size: 16px;
    line-height: 1.55;
}

.pap-profile-onboarding__actions {
    flex: 0 0 auto;
}

.pap-profile-onboarding__logout {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .pap-profile-onboarding {
        padding: 20px 18px;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        border-radius: 14px;
    }

    .pap-profile-onboarding__actions,
    .pap-profile-onboarding__logout {
        width: 100%;
    }
}

.pap-datos-pap-page .entry-content,
.pap-datos-pap-page .site-main > article .entry-content {
    width: min(1100px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}

.pap-datos-pap-page .frm_forms {
    width: 100%;
    margin: 0 auto 48px;
    padding: 32px;
    box-sizing: border-box;
    border: 1px solid #303030;
    border-radius: 18px;
    background: #111111;
    box-shadow: 0 18px 50px rgba(0,0,0,.18);
}

.pap-datos-pap-page .frm_form_fields {
    margin: 0;
}

.pap-datos-pap-page .frm_form_field {
    margin-bottom: 22px;
}

.pap-datos-pap-page .frm_primary_label,
.pap-datos-pap-page .frm_form_field > label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.pap-datos-pap-page .frm_required {
    color: #E30613 !important;
}

.pap-datos-pap-page input[type="text"],
.pap-datos-pap-page input[type="email"],
.pap-datos-pap-page input[type="tel"],
.pap-datos-pap-page input[type="number"],
.pap-datos-pap-page input[type="password"],
.pap-datos-pap-page select,
.pap-datos-pap-page textarea {
    min-height: 50px;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px !important;
    border: 1px solid #454545 !important;
    border-radius: 10px !important;
    background: #181818 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    line-height: 1.4;
    box-shadow: none !important;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.pap-datos-pap-page textarea {
    min-height: 110px;
    resize: vertical;
}

.pap-datos-pap-page input:focus,
.pap-datos-pap-page select:focus,
.pap-datos-pap-page textarea:focus {
    border-color: #E30613 !important;
    box-shadow: 0 0 0 3px rgba(227,6,19,.14) !important;
}

.pap-datos-pap-page input[readonly],
.pap-datos-pap-page input:disabled {
    background: #151515 !important;
    color: #a8a8a8 !important;
    cursor: default;
}

/* Foto de perfil. */
.pap-datos-pap-page .frm_dropzone,
.pap-datos-pap-page .dropzone,
.pap-datos-pap-page .frm_file_upload {
    box-sizing: border-box;
    border-radius: 12px !important;
}

.pap-datos-pap-page .frm_dropzone,
.pap-datos-pap-page .dropzone {
    min-height: 138px;
    border: 1px dashed #555555 !important;
    background: #181818 !important;
    color: #ffffff !important;
}

.pap-datos-pap-page .frm_dropzone:hover,
.pap-datos-pap-page .dropzone:hover {
    border-color: #E30613 !important;
}

.pap-datos-pap-page .dz-message,
.pap-datos-pap-page .frm_upload_text,
.pap-datos-pap-page .frm_small_text {
    color: #b9b9b9 !important;
}

.pap-datos-pap-page .frm_dropzone svg,
.pap-datos-pap-page .dropzone svg {
    color: #ffffff !important;
    fill: currentColor;
}

/* Opciones Categoría y días de pista. */
.pap-datos-pap-page .frm_opt_container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 4px;
}

.pap-datos-pap-page .frm_radio,
.pap-datos-pap-page .frm_checkbox {
    margin: 0 !important;
}

.pap-datos-pap-page .frm_radio label,
.pap-datos-pap-page .frm_checkbox label {
    display: flex !important;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    margin: 0 !important;
    padding: 11px 14px;
    box-sizing: border-box;
    border: 1px solid #414141;
    border-radius: 10px;
    background: #181818;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}

.pap-datos-pap-page .frm_radio label:hover,
.pap-datos-pap-page .frm_checkbox label:hover {
    border-color: #747474;
}

.pap-datos-pap-page .frm_radio label:has(input:checked),
.pap-datos-pap-page .frm_checkbox label:has(input:checked) {
    border-color: #E30613;
    background: rgba(227,6,19,.10);
}

.pap-datos-pap-page input[type="radio"],
.pap-datos-pap-page input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 18px;
    margin: 0 !important;
    accent-color: #E30613;
}

/* Mensajes de ayuda y error. */
.pap-datos-pap-page .frm_description,
.pap-datos-pap-page .frm_error,
.pap-datos-pap-page .frm_error_style {
    font-size: 14px;
    line-height: 1.4;
}

.pap-datos-pap-page .frm_description {
    color: #9c9c9c !important;
}

.pap-datos-pap-page .frm_error,
.pap-datos-pap-page .frm_error_style {
    color: #ff6b72 !important;
}

/* Acción principal. */
.pap-datos-pap-page .frm_submit {
    margin-top: 8px;
}

.pap-datos-pap-page .frm_button_submit,
.pap-datos-pap-page button[type="submit"],
.pap-datos-pap-page input[type="submit"] {
    min-height: 54px !important;
    min-width: 190px;
    padding: 14px 26px !important;
    border: 1px solid #E30613 !important;
    border-radius: 999px !important;
    background: #E30613 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.2;
    box-shadow: none !important;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

.pap-datos-pap-page .frm_button_submit:hover,
.pap-datos-pap-page .frm_button_submit:focus-visible,
.pap-datos-pap-page button[type="submit"]:hover,
.pap-datos-pap-page button[type="submit"]:focus-visible,
.pap-datos-pap-page input[type="submit"]:hover,
.pap-datos-pap-page input[type="submit"]:focus-visible {
    background: #c40010 !important;
    border-color: #c40010 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* Mensaje de éxito de Formidable. */
.pap-datos-pap-page .frm_message {
    margin-bottom: 24px !important;
    padding: 16px 18px !important;
    border: 1px solid #22C55E !important;
    border-radius: 10px !important;
    background: rgba(34,197,94,.10) !important;
    color: #eafff0 !important;
}

/* Ajustes de columnas de Formidable. */
.pap-datos-pap-page .frm_form_field.frm_half,
.pap-datos-pap-page .frm_form_field.frm_first,
.pap-datos-pap-page .frm_form_field.frm_last {
    box-sizing: border-box;
}

/* Tablet y móvil. */
@media (max-width: 768px) {
    .pap-datos-pap-page .entry-content,
    .pap-datos-pap-page .site-main > article .entry-content {
        width: min(100% - 24px, 680px);
    }

    .pap-datos-pap-page .frm_forms {
        padding: 22px 18px;
        border-radius: 14px;
        margin-bottom: 32px;
    }

    .pap-datos-pap-page .frm_form_field {
        margin-bottom: 18px;
    }

    .pap-datos-pap-page .frm_opt_container {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .pap-datos-pap-page .frm_button_submit,
    .pap-datos-pap-page button[type="submit"],
    .pap-datos-pap-page input[type="submit"] {
        width: 100%;
        min-width: 0;
    }
}

/* =========================================================
 * PAP · Email Confirmation pendiente
 * ========================================================= */

.pap-email-pending-page{
    min-height:70vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:40px 20px;
    background:#111;
}

.pap-email-pending-card{
    width:min(100%,680px);
    padding:30px;
    border:1px solid #333;
    border-radius:16px;
    background:#151515;
    color:#fff;
}

.pap-email-pending-kicker{
    margin-bottom:10px;
    color:#E30613;
    font-size:12px;
    font-weight:900;
    letter-spacing:.06em;
}

.pap-email-pending-card h1{
    margin:0 0 18px;
    color:#fff;
    font-size:34px;
}

.pap-email-pending-card p{
    color:#d7d7d7;
    font-size:17px;
    line-height:1.55;
}

.pap-email-pending-email{
    padding:12px 14px;
    border:1px solid #333;
    border-radius:10px;
    background:#1c1c1c;
    color:#fff !important;
    font-weight:800;
    overflow-wrap:anywhere;
}

.pap-email-pending-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:24px;
}

.pap-email-pending-primary,
.pap-email-pending-secondary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:46px;
    padding:0 20px;
    border-radius:999px;
    font-weight:900;
    text-decoration:none !important;
}

.pap-email-pending-primary{
    background:#E30613;
    color:#fff !important;
}

.pap-email-pending-secondary{
    border:1px solid #555;
    color:#fff !important;
}

@media (max-width:600px){
    .pap-email-pending-card{
        padding:22px;
    }

    .pap-email-pending-card h1{
        font-size:28px;
    }

    .pap-email-pending-actions{
        flex-direction:column;
    }

    .pap-email-pending-primary,
    .pap-email-pending-secondary{
        width:100%;
    }
}

/* =========================================================
 * PAP · PMPro Checkout
 * Estética coherente con MI PAP y resto del sistema.
 * ========================================================= */

.pap-pmpro-checkout-page{
    background:#111;
}

.pap-pmpro-checkout-page .site-content,
.pap-pmpro-checkout-page .content-area,
.pap-pmpro-checkout-page .site-main,
.pap-pmpro-checkout-page article,
.pap-pmpro-checkout-page .entry-content{
    background:#111 !important;
}

.pap-pmpro-checkout-page .entry-content{
    width:min(100% - 32px, 760px);
    margin-inline:auto;
}

.pap-pmpro-checkout-page #pmpro_form,
.pap-pmpro-checkout-page .pmpro_form{
    color:#fff;
}

.pap-pmpro-checkout-page .pmpro_card,
.pap-pmpro-checkout-page .pmpro_checkout,
.pap-pmpro-checkout-page .pmpro_form_fieldset{
    margin-bottom:20px !important;
    padding:26px !important;
    border:1px solid #333 !important;
    border-radius:14px !important;
    background:#151515 !important;
    box-shadow:none !important;
}

.pap-pmpro-checkout-page .pmpro_card_title,
.pap-pmpro-checkout-page .pmpro_checkout h2,
.pap-pmpro-checkout-page .pmpro_form_fieldset legend,
.pap-pmpro-checkout-page .pmpro_form_heading,
.pap-pmpro-checkout-page h1,
.pap-pmpro-checkout-page h2,
.pap-pmpro-checkout-page h3{
    color:#fff !important;
}

.pap-pmpro-checkout-page .pmpro_card_content,
.pap-pmpro-checkout-page .pmpro_checkout p,
.pap-pmpro-checkout-page .pmpro_form_fieldset p,
.pap-pmpro-checkout-page .pmpro_form_hint,
.pap-pmpro-checkout-page .pmpro_form_description{
    color:#d6d6d6 !important;
}

.pap-pmpro-checkout-page .pmpro_form_label,
.pap-pmpro-checkout-page label{
    color:#fff !important;
    font-weight:700;
}

.pap-pmpro-checkout-page input[type="text"],
.pap-pmpro-checkout-page input[type="email"],
.pap-pmpro-checkout-page input[type="password"],
.pap-pmpro-checkout-page input[type="tel"],
.pap-pmpro-checkout-page input[type="number"],
.pap-pmpro-checkout-page select,
.pap-pmpro-checkout-page textarea{
    min-height:48px;
    padding:11px 13px !important;
    border:1px solid #444 !important;
    border-radius:9px !important;
    background:#1d1d1d !important;
    color:#fff !important;
    box-shadow:none !important;
}

.pap-pmpro-checkout-page input:focus,
.pap-pmpro-checkout-page select:focus,
.pap-pmpro-checkout-page textarea:focus{
    border-color:#E30613 !important;
    outline:2px solid rgba(227,6,19,.18) !important;
    outline-offset:1px;
}

.pap-pmpro-checkout-page .pmpro_form_field-password-toggle,
.pap-pmpro-checkout-page .pmpro_form_field-password-toggle button,
.pap-pmpro-checkout-page .pmpro_form_field-password-toggle a,
.pap-pmpro-checkout-page .pmpro_form_field-password-toggle span{
    color:#ff3340 !important;
}

.pap-pmpro-checkout-page .pmpro_form_field-password-toggle button{
    background:transparent !important;
    border:0 !important;
}

.pap-pmpro-checkout-page .pmpro_checkout_gateway-none,
.pap-pmpro-checkout-page .pmpro_level_cost_text,
.pap-pmpro-checkout-page .pmpro_checkout-fields{
    color:#fff !important;
}

.pap-pmpro-checkout-page a{
    color:#ff3340;
}

.pap-pmpro-checkout-page .pmpro_btn,
.pap-pmpro-checkout-page input[type="submit"],
.pap-pmpro-checkout-page button[type="submit"]{
    min-height:48px;
    padding:0 22px !important;
    border:1px solid #E30613 !important;
    border-radius:999px !important;
    background:#E30613 !important;
    color:#fff !important;
    font-weight:900 !important;
    box-shadow:none !important;
}

.pap-pmpro-checkout-page .pmpro_btn:hover,
.pap-pmpro-checkout-page input[type="submit"]:hover,
.pap-pmpro-checkout-page button[type="submit"]:hover{
    filter:brightness(.92);
}

.pap-pmpro-checkout-page .pmpro_form_fieldset .pmpro_form_field{
    margin-bottom:18px;
}

.pap-pmpro-checkout-page .pmpro_form_fieldset .pmpro_form_field:last-child{
    margin-bottom:0;
}

@media (max-width:640px){
    .pap-pmpro-checkout-page .entry-content{
        width:min(100% - 20px, 760px);
    }

    .pap-pmpro-checkout-page .pmpro_card,
    .pap-pmpro-checkout-page .pmpro_checkout,
    .pap-pmpro-checkout-page .pmpro_form_fieldset{
        padding:20px 16px !important;
        border-radius:12px !important;
    }

    .pap-pmpro-checkout-page .pmpro_btn,
    .pap-pmpro-checkout-page input[type="submit"],
    .pap-pmpro-checkout-page button[type="submit"]{
        width:100%;
    }
}

