/* BBS Payment Gateway — checkout styles */

.bbs-pg-checkout {
    margin-top: 10px;
}

/* Selector de país */
.bbs-pg-country-wrap {
    margin-bottom: 16px;
}
.bbs-pg-country-wrap label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
    color: #333;
}
.bbs-pg-select {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    background: #fff;
    cursor: pointer;
    appearance: auto;
}
.bbs-pg-select:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.2);
}

/* Separador antes de métodos */
.bbs-pg-methods-wrap {
    margin-top: 4px;
}

/* Lista de métodos */
.bbs-pg-method-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Cada método de pago */
.bbs-pg-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
    background: #fff;
    position: relative;
}
.bbs-pg-method:hover {
    border-color: #2271b1;
    background: #f8fbff;
}
.bbs-pg-method input[type="radio"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: #2271b1;
    cursor: pointer;
}
.bbs-pg-method input[type="radio"]:checked ~ .bbs-pg-method-info strong {
    color: #2271b1;
}
.bbs-pg-method.bbs-pg-selected,
.bbs-pg-method:has(input:checked) {
    border-color: #2271b1;
    background: #f0f7ff;
}

/* Ícono del método */
.bbs-pg-method-icon {
    width: 40px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bbs-pg-method-icon img {
    max-width: 40px;
    max-height: 28px;
    object-fit: contain;
}

/* Info del método */
.bbs-pg-method-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.bbs-pg-method-info strong {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.3;
}
.bbs-pg-method-info small {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

/* Badge "Recomendado" / "Próximamente" */
.bbs-pg-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    background: #2271b1;
    color: #fff;
    border-radius: 3px;
    padding: 1px 6px;
    margin-left: 6px;
    vertical-align: middle;
}
.bbs-pg-badge-soon {
    background: #888;
}

/* Método deshabilitado (coming soon) */
.bbs-pg-coming-soon {
    opacity: .55;
    cursor: default;
}
.bbs-pg-coming-soon:hover {
    border-color: #e5e7eb;
    background: #fff;
}

/* Instrucciones de pago manual */
.bbs-pg-manual-instructions {
    margin-top: 4px;
    margin-bottom: 4px;
}
.bbs-pg-instructions {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 14px 16px;
    margin-top: 2px;
}
.bbs-pg-data-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 14px;
}
.bbs-pg-data-row:last-of-type {
    border-bottom: none;
}
.bbs-pg-data-row span {
    min-width: 80px;
    color: #555;
    font-size: 13px;
}
.bbs-pg-data-row strong {
    color: #212529;
    font-family: monospace;
    font-size: 15px;
}
.bbs-pg-btn-copy {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 4px;
    font-size: 14px;
    opacity: .6;
    transition: opacity .15s;
}
.bbs-pg-btn-copy:hover { opacity: 1; }

.bbs-pg-note {
    font-size: 12px;
    color: #555;
    margin: 8px 0 0;
    line-height: 1.5;
}
.bbs-pg-note-warn {
    color: #856404;
    background: #fff3cd;
    border: 1px solid #ffecb5;
    border-radius: 4px;
    padding: 6px 10px;
}

/* Loading spinner mientras cambia país */
.bbs-pg-loading {
    text-align: center;
    padding: 20px;
    color: #888;
    font-size: 13px;
}

/* Descripción del gateway */
.bbs-pg-desc {
    color: #555;
    font-size: 13px;
    margin-bottom: 12px !important;
}

/* Mobile */
@media (max-width: 480px) {
    .bbs-pg-method {
        padding: 10px 12px;
        gap: 8px;
    }
    .bbs-pg-method-icon { width: 32px; }
    .bbs-pg-method-info strong { font-size: 13px; }
}
