.app-pago-contenedor {
    background: white;
    border-radius: 20px;
    width: 100%;
    position: relative;
    border: 1px solid #e2e8f0;
    font-family: 'Poppins', sans-serif;
}

.app-pago-contenido {
    padding: 5px 18px 18px
}

.app-pago-header {
    margin-bottom: 20px;
}

.app-pago-header h2 {
    font-size: 20px;
    color: #0f172a;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Tabs */
.app-pago-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 10px;
}

.app-pago-tab {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.app-pago-tab.activo {
    background: white;
    color: #4f46e5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Título sección tokens */
.app-pago-titulo-seccion {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 12px;
}

/* Sección Tokens - 4 opciones */
.app-pago-opciones-token {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.app-pago-opcion-token {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 4px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.app-pago-opcion-token.seleccionado {
    border-color: #4f46e5;
    background: #eef2ff;
}

.app-pago-cantidad-token {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.app-pago-icono-token {
    font-size: 16px;
}

.app-pago-precio-token {
    color: #4f46e5;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 2px;
}

.app-pago-descuento-token {
    font-size: 11px;
    color: #10b981;
    font-weight: 700;
    background: #d1fae5;
    display: inline-block;
    padding: 2px 8px;
    border-radius: 100px;
}

.app-pago-token-personalizado {
    display: flex;
    gap: 6px;
    margin-top: 12px;
}

.app-pago-input-personalizado {
    flex: 1;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 13px;
}

.app-pago-input-personalizado:focus {
    outline: none;
    border-color: #4f46e5;
}

.app-pago-btn-calcular {
    padding: 12px 20px;
    background: #f1f5f9;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 13px;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s;
}

.app-pago-btn-calcular:hover {
    background: #e2e8f0;
}

/* Tarjeta de características tokens - ESTILO MEMBRESÍA */
.app-pago-tarjeta-token {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 16px;
    padding: 20px;
    margin-top: 10px;
    color: #0c4a6e;
}

.app-pago-nombre-token {
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.app-pago-badge-token {
    background: #4f46e5;
    color: white;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
}

.app-pago-caracteristicas-token {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
    margin-top: 0px;
    padding-left: 0px;
}

.app-pago-caracteristicas-token li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #0c4a6e;
}

.app-pago-caracteristicas-token li::before {
    content: "✓";
    background: #4f46e5;
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

.app-pago-caja-valor-token {
    background: rgba(79, 70, 229, 0.1);
    border-radius: 10px;
    padding: 12px;
    font-size: 12px;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.app-pago-fila-valor-token {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    color: #0c4a6e;
}

/* Sección Membresía compacta */
.app-pago-tarjeta-membresia {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border-radius: 16px;
    padding: 20px;
    color: white;
}

.app-pago-header-membresia {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.app-pago-nombre-membresia {
    font-size: 18px;
    font-weight: 700;
}

.app-pago-insignia {
    background: rgba(255,255,255,0.2);
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
}

.app-pago-precio-membresia {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
}

.app-pago-precio-membresia span {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.9;
}

.app-pago-caracteristicas-membresia {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
    padding-left: 0px;
}

.app-pago-caracteristicas-membresia li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

.app-pago-caracteristicas-membresia li::before {
    content: "✓";
    background: rgba(255,255,255,0.2);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.app-pago-caja-valor {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 12px;
    font-size: 12px;
}

.app-pago-fila-valor {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.app-pago-ahorro {
    color: #fef9c3;
    font-weight: 700;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* Resumen compacto */
.app-pago-resumen {
    background: #f8fafc;
    border-radius: 12px;
    padding: 0px 16px;
    margin-top: 16px;
}

.app-pago-fila-resumen {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: #334155;
    font-size: 13px;
}

.app-pago-total {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 2px solid #e2e8f0;
    font-weight: 700;
    color: #0f172a;
    font-size: 16px;
}

.app-pago-btn-pago {
    width: 100%;
    padding: 14px;
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.app-pago-btn-pago:hover {
    background: #4338ca;
    transform: scale(1.02);
}

.app-pago-oculto {
    display: none;
}