/* ── GF TPV Payments – Admin styles ────────────────────────────── */

/* Caja de reembolso */
#gf-tpv-refund-box label {
    font-weight: 600;
}

#gf-tpv-refund-btn {
    margin-top: 4px;
    width: 100%;
    text-align: center;
}

#gf-tpv-refund-result p {
    margin-top: 6px;
    padding: 6px 10px;
    border-radius: 3px;
    background: #f0f0f0;
}

/* Badges de estado de límite en el listado */
.gf-tpv-limit-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    vertical-align: middle;
}

.gf-tpv-limit-ok {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.gf-tpv-limit-full {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Formulario desactivado por límite */
.gf-tpv-limit-reached .gform_body,
.gf-tpv-limit-reached .gform_footer {
    display: none !important;
}

.gf-tpv-limit-error {
    margin-bottom: 16px;
    padding: 12px 16px;
    border-left: 4px solid #dc3545;
    background: #fff3f3;
    color: #5a0a12;
}


.gf-tpv-choice-fields-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.gf-tpv-choice-field-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    border: 1px solid #dcdcde;
    border-radius: 8px;
    background: #fff;
}

.gf-tpv-choice-field-card input {
    margin: 0 0 4px 0;
}

.gf-tpv-choice-field-card-title {
    font-weight: 600;
}

.gf-tpv-choice-field-card-meta {
    font-size: 11px;
    color: #50575e;
    letter-spacing: 0.04em;
}

.gf-tpv-choice-field-card-choices {
    font-size: 12px;
    color: #50575e;
}

.gf-tpv-choice-limit-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0 14px;
}

.gf-tpv-choice-limit-steps span {
    padding: 6px 10px;
    border-radius: 999px;
    background: #f0f6fc;
    color: #0a4b78;
    font-size: 12px;
}

.gf-tpv-choice-limit-table th,
.gf-tpv-choice-limit-table td {
    vertical-align: middle;
}

.gf-tpv-chip {
    display: inline-block;
    margin: 0 6px 6px 0;
    padding: 3px 8px;
    border-radius: 999px;
    background: #f6f7f7;
    border: 1px solid #dcdcde;
    font-size: 11px;
}

.gf-tpv-choice-limit-row.is-hidden-by-selection {
    display: none;
}


/* ── Frontend: masterclass sin plazas (cross-person real-time) ─────── */
.gf-choice-sold-out label {
    text-decoration: line-through;
    opacity: 0.55;
    cursor: not-allowed;
}
.gf-choice-sold-out input[type="checkbox"] {
    cursor: not-allowed;
    pointer-events: none;
}
.gf-choice-sold-tag {
    font-size: 0.85em;
    color: #c0392b;
    font-weight: 600;
    margin-left: 4px;
    text-decoration: none;
    display: inline;
}
