/* Plantilla de formulario COD "03 · COD Two Columns" — modal ancho de 2 columnas */

.wp-cod-03-wrapper {
    max-width: 720px !important;
    width: 94% !important;
    padding: 24px;
    border-radius: 14px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    position: relative;
}

.wp-cod-03-header {
    text-align: left;
    margin-bottom: 12px;
    padding-right: 24px;
}

.wp-cod-03-header h3 {
    margin: 0 0 4px 0;
    font-size: 19px;
    font-weight: 800;
    color: #111;
}

.wp-cod-03-header p {
    margin: 0;
    font-size: 13px;
    color: #16a34a;
    font-weight: 600;
}

/* --- Contador --- */
.wp-cod-03-countdown {
    background: #111827;
    color: #fff;
    border-radius: 10px;
    padding: 12px 16px;
    text-align: center;
    margin-bottom: 18px;
}

.wp-cod-03-countdown > span {
    display: block;
    font-size: 12px;
    color: #cbd5e1;
    margin-bottom: 6px;
}

.wp-cod-03-countdown-boxes {
    font-size: 24px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: 1px;
}

.wp-cod-03-social-proof {
    display: block;
    margin-top: 6px;
    font-size: 11.5px;
    color: #94a3b8;
}

/* --- Columnas --- */
.wp-cod-03-columns {
    display: flex;
    gap: 20px;
}

.wp-cod-03-col-left,
.wp-cod-03-col-right {
    flex: 1;
    min-width: 0;
}

.wp-cod-03-col-title {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: #111;
    margin-bottom: 8px;
}

.wp-cod-03-option-card {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 2px solid #16a34a;
    background: #f0fdf4;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 12px;
}

.wp-cod-03-option-card img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.wp-cod-03-option-card > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.wp-cod-03-option-card strong {
    font-size: 13.5px;
}

.wp-cod-03-option-badge {
    display: inline-block;
    width: fit-content;
    background: #16a34a;
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    border-radius: 20px;
    padding: 1px 8px;
}

.wp-cod-03-option-price {
    font-weight: 800;
    font-size: 14px;
    color: #111;
}

.wp-cod-03-summary {
    background: #f4f5f7;
    border-radius: 10px;
    padding: 10px 12px;
}

.wp-cod-03-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #555;
    padding: 3px 0;
}

.wp-cod-03-total-row {
    font-weight: 800;
    font-size: 15px;
    color: #111;
    border-top: 1px solid #e0e2e6;
    margin-top: 4px;
    padding-top: 6px;
}

/* --- Campos --- */
.wp-cod-03-group {
    margin-bottom: 10px;
}

.wp-cod-03-group label {
    /* Diseño estilo "placeholder únicamente" (igual al mockup), pero el label
       se mantiene accesible para lectores de pantalla en vez de ocultarse del
       todo con display:none. */
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.wp-cod-03-group-input-wrap {
    display: flex;
    align-items: center;
    border: 1px solid #d8dadf;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.wp-cod-03-group-input-wrap:focus-within {
    border-color: #16a34a;
}

.wp-cod-03-group-input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    flex-shrink: 0;
    color: #9aa0a6;
}

.wp-cod-03-group-input-wrap input,
.wp-cod-03-group-input-wrap select,
.wp-cod-03-group-input-wrap textarea {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 10px 10px 0;
    font-size: 13.5px;
    background: transparent;
    min-width: 0;
    font-family: inherit;
}

.wp-cod-03-cta {
    border-radius: 8px !important;
    font-size: 15px !important;
}

.wp-cod-03-secure-note {
    font-size: 11px;
    color: #888;
    text-align: center;
    margin: 8px 0 0 0;
}

.wp-cod-03-wrapper .wp-cod-image-group img {
    max-width: 100%;
    border-radius: 8px;
}

@media (max-width: 640px) {
    .wp-cod-03-columns {
        flex-direction: column;
    }
}

/* --- Popup de oferta de salida (exit-intent) --- */
.wp-cod-03-exit-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.55);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 20px;
}

.wp-cod-03-exit-popup {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    max-width: 320px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.wp-cod-03-exit-close {
    top: 8px;
    right: 10px;
    font-size: 22px;
}

.wp-cod-03-exit-popup strong {
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
}

.wp-cod-03-exit-popup p {
    font-size: 13.5px;
    color: #444;
    margin: 0 0 6px 0;
}

.wp-cod-03-exit-timer-value {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.wp-cod-03-exit-accept {
    display: block;
    width: 100%;
    margin-top: 14px;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #16a34a;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

.wp-cod-03-exit-accept:hover {
    background: #15803d;
}

.wp-cod-03-exit-decline {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 10px;
    border: none;
    border-radius: 8px;
    background: #f1f5f9;
    color: #444;
    font-size: 13px;
    cursor: pointer;
}

.wp-cod-03-prepay {
    text-align: center;
    background: #fffaf3;
    border: 1.5px dashed #ffb74d;
    border-radius: 10px;
    padding: 12px;
    margin-top: 12px;
    font-size: 13px;
    color: #7a4a00;
}

.wp-cod-03-pay-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0;
}

.wp-cod-03-pay-pills span {
    background: #fff;
    border: 1px solid #e0c199;
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 11px;
}

.wp-cod-03-prepay-btn {
    width: 100%;
    border: none;
    border-radius: 8px;
    background: #263238;
    color: #fff;
    font-weight: 700;
    padding: 10px;
    cursor: pointer;
}

.wp-cod-03-prepay-btn:hover {
    background: #37474f;
}
