/**
 * Nexus — estilos públicos compartidos (tokens + shell + componentes UI).
 * Cargado desde includes/header.php junto a style_pro.css / perf_global_public.css.
 * Ver docs/NEXUS-CENTRALIZACION.md
 */
:root {
    --nx-bg-deep: #0a0a1a;
    --nx-orange: #f97316;
    --nx-pink: #ec4899;
    --nx-violet: #8b5cf6;
    --nx-text: #f1f5f9;
    --nx-muted: #94a3b8;
    --nx-surface: rgba(15, 12, 22, 0.92);
    --nx-border: rgba(249, 115, 22, 0.22);
    --nx-gradient-sunset: linear-gradient(135deg, #f97316 0%, #ec4899 50%, #8b5cf6 100%);
    --nx-radius: 14px;
    --nx-radius-sm: 10px;
    --nx-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---------- Shell de página ---------- */
.nx-shell {
    box-sizing: border-box;
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem 1.25rem 2.5rem;
}

@media (min-width: 1025px) {
    .nx-shell {
        padding: 1.25rem 1.75rem 3rem;
    }
}

.nx-main.nx-shell {
    min-height: 40vh;
}

body.nx-page-body {
    background: linear-gradient(180deg, #070710 0%, #0a0a14 40%, #06060c 100%);
    color: var(--nx-text);
    font-family: var(--nx-font);
}

/* ---------- Superficies y tarjetas ---------- */
.nx-card {
    background: var(--nx-surface);
    border: 1px solid var(--nx-border);
    border-radius: var(--nx-radius);
    padding: 1rem 1.1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.nx-card--glow {
    box-shadow:
        0 0 0 1px rgba(249, 115, 22, 0.12) inset,
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(236, 72, 153, 0.06);
}

/* ---------- Títulos ---------- */
.nx-page-title {
    font-family: var(--nx-font);
    font-weight: 800;
    font-size: clamp(1.35rem, 4vw, 1.75rem);
    letter-spacing: -0.02em;
    margin: 0 0 0.35rem;
    line-height: 1.2;
}

.nx-text-gradient {
    background: var(--nx-gradient-sunset);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nx-page-sub {
    color: var(--nx-muted);
    font-size: 0.9rem;
    margin: 0 0 1rem;
    line-height: 1.45;
}

/* ---------- Precio / saldo ---------- */
.nx-price-hero {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    font-weight: 800;
    font-size: clamp(1.5rem, 5vw, 2rem);
    color: #ffedd5;
    text-shadow: 0 0 24px rgba(249, 115, 22, 0.25);
}

.nx-balance-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--nx-radius-sm);
    background: rgba(249, 115, 22, 0.08);
    border: 1px solid rgba(249, 115, 22, 0.25);
    margin-bottom: 0.75rem;
}

.nx-balance-row .nx-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--nx-muted);
    font-weight: 600;
}

.nx-balance-row .nx-amount {
    font-weight: 800;
    font-size: 1.1rem;
    color: #fde68a;
}

/* ---------- Rejilla de beneficios (compacta en móvil) ---------- */
.nx-benefits-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--nx-muted);
    margin: 0 0 0.5rem;
    text-align: center;
}

.nx-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
}

@media (min-width: 640px) {
    .nx-benefits-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.55rem;
    }
}

.nx-benefit-chip {
    padding: 0.45rem 0.5rem;
    border-radius: var(--nx-radius-sm);
    font-size: 0.72rem;
    line-height: 1.3;
    font-weight: 600;
    border: 1px solid rgba(139, 92, 246, 0.28);
    background: rgba(139, 92, 246, 0.08);
    color: #e9d5ff;
}

.nx-benefit-chip--accent {
    border-color: rgba(249, 115, 22, 0.4);
    background: rgba(249, 115, 22, 0.1);
    color: #ffedd5;
}

/* ---------- Botones ---------- */
.nx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.1rem;
    border-radius: var(--nx-radius-sm);
    font-family: var(--nx-font);
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.nx-btn:active {
    transform: scale(0.98);
}

.nx-btn--primary {
    background: linear-gradient(135deg, #ea580c 0%, #ec4899 55%, #9333ea 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.35);
}

.nx-btn--primary:hover {
    box-shadow: 0 6px 28px rgba(236, 72, 153, 0.4);
}

.nx-btn--block {
    width: 100%;
}

.nx-btn--telegram {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #fff;
    box-shadow: 0 4px 18px rgba(2, 132, 199, 0.35);
}

.nx-btn--telegram:hover {
    box-shadow: 0 6px 24px rgba(2, 132, 199, 0.45);
}

.nx-btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    color: var(--nx-text);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ---------- CTA strip ---------- */
.nx-cta-strip {
    text-align: center;
    padding: 0.65rem;
    border-radius: var(--nx-radius-sm);
    border: 1px solid rgba(2, 132, 199, 0.35);
    background: rgba(2, 132, 199, 0.1);
    margin: 0.65rem 0;
}

/* ---------- Alertas ---------- */
.nx-alert {
    padding: 0.65rem 0.85rem;
    border-radius: var(--nx-radius-sm);
    font-size: 0.88rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.nx-alert--success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #bbf7d0;
}

.nx-alert--error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fecaca;
}

.nx-success-panel {
    text-align: center;
    padding: 1rem;
    border-radius: var(--nx-radius);
    border: 1px solid rgba(34, 197, 94, 0.4);
    background: rgba(34, 197, 94, 0.1);
    margin: 0.75rem 0;
    animation: nx-fade-in 0.35s ease;
}

.nx-success-panel__icon {
    font-size: 2.25rem;
    color: #4ade80;
    margin-bottom: 0.5rem;
}

.nx-success-panel h3 {
    margin: 0.35rem 0;
    font-size: 1.15rem;
    color: var(--nx-text);
}

.nx-success-panel p {
    color: var(--nx-muted);
    margin: 0.35rem 0 0.75rem;
    font-size: 0.9rem;
}

.nx-telegram-box {
    padding: 0.85rem;
    border-radius: var(--nx-radius-sm);
    border: 1px solid rgba(2, 132, 199, 0.35);
    background: rgba(2, 132, 199, 0.08);
}

@keyframes nx-fade-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Modal Nexus ---------- */
.nx-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100050;
    background: rgba(5, 5, 12, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
}

.nx-modal-overlay.is-open {
    display: flex !important;
}

.nx-modal {
    width: 100%;
    max-width: 420px;
    max-height: min(92vh, 640px);
    overflow: auto;
    border-radius: var(--nx-radius);
    border: 1px solid var(--nx-border);
    background: linear-gradient(180deg, #14121c 0%, #0c0a12 100%);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.nx-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nx-modal__head h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--nx-text);
}

.nx-modal__close {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--nx-muted);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nx-modal__close:hover {
    color: var(--nx-text);
    border-color: rgba(249, 115, 22, 0.35);
}

.nx-modal__body {
    padding: 1rem;
}

.nx-modal-price {
    text-align: center;
    padding: 0.5rem 0 1rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
    margin-bottom: 0.75rem;
}

.nx-modal-price .nx-label {
    display: block;
    font-size: 0.75rem;
    color: var(--nx-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.nx-modal-price .nx-amount {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fde68a;
}

.nx-form-group {
    margin-bottom: 0.75rem;
}

.nx-form-group label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--nx-muted);
    margin-bottom: 0.35rem;
}

.nx-input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.35);
    color: var(--nx-text);
    font-size: 0.95rem;
}

.nx-input:focus {
    outline: none;
    border-color: rgba(249, 115, 22, 0.45);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.nx-help {
    font-size: 0.72rem;
    color: var(--nx-muted);
    margin-top: 0.25rem;
}

.nx-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.nx-modal-actions .nx-btn {
    flex: 1 1 auto;
    min-width: 120px;
}

/* Página afiliación: stack compacto */
.nx-affiliation-page {
    max-width: 560px;
    margin: 0 auto;
}

@media (max-width: 480px) {
    .nx-affiliation-page .nx-card {
        padding: 0.75rem 0.85rem;
    }
}

/* ===================================================================
   Cuentas Redes (cuentas-cuban.php) — activo con body.nx-page-body
   =================================================================== */
body.nx-page-body .accs-page {
    background: transparent;
    color: var(--nx-text);
    padding-top: 72px;
    padding-bottom: 48px;
}

body.nx-page-body .accs-wrap {
    max-width: 1200px;
}

body.nx-page-body .accs-cat-card {
    background: rgba(15, 12, 22, 0.92);
    border: 1px solid rgba(249, 115, 22, 0.22);
    color: var(--nx-text);
}

body.nx-page-body .accs-cat-card span {
    color: var(--nx-text);
}

body.nx-page-body .accs-cat-card:hover {
    box-shadow: 0 8px 28px rgba(249, 115, 22, 0.18);
    transform: translateY(-3px);
}

body.nx-page-body .accs-cat-card:hover::after {
    border-color: rgba(236, 72, 153, 0.45);
}

body.nx-page-body .accs-cat-card--current,
body.nx-page-body .accs-cat-card.active {
    background: rgba(249, 115, 22, 0.12);
    border-color: rgba(249, 115, 22, 0.55);
    box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.25);
}

body.nx-page-body .accs-cat-card--current::after,
body.nx-page-body .accs-cat-card.active::after {
    border-color: rgba(249, 115, 22, 0.5);
}

body.nx-page-body .accs-alert.warn {
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.35);
    color: #ffedd5;
}

body.nx-page-body .accs-alert.warn a {
    color: #fdba74;
}

body.nx-page-body .accs-alert.err {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fecaca;
}

body.nx-page-body .accs-card {
    background: rgba(15, 12, 22, 0.88);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: var(--nx-text);
}

body.nx-page-body .accs-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

body.nx-page-body .accs-name {
    color: #f8fafc;
}

body.nx-page-body .accs-meta {
    color: var(--nx-muted);
}

body.nx-page-body .accs-card-cookie-hint,
body.nx-page-body .accs-guide-cookie-callout {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.35);
    color: #e9d5ff;
}

body.nx-page-body .accs-guide-cookie-callout strong {
    color: #f0abfc;
}

body.nx-page-body .accs-history-cookie-hint {
    color: #c4b5fd;
}

body.nx-page-body .accs-2fa-hint,
body.nx-page-body .accs-history-2fa-hint {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(167, 139, 250, 0.35);
    color: #ede9fe;
}

body.nx-page-body .accs-2fa-hint a,
body.nx-page-body .accs-history-2fa-hint a {
    color: #fdba74;
}

body.nx-page-body .accs-buy-row label {
    color: var(--nx-muted);
}

body.nx-page-body .accs-buy-row input[type="number"] {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.35);
    color: var(--nx-text);
}

body.nx-page-body .accs-buy-row input[type="number"]:focus {
    border-color: rgba(249, 115, 22, 0.55);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

body.nx-page-body .accs-btn {
    background: linear-gradient(135deg, #ea580c 0%, #ec4899 55%, #7c3aed 100%);
    color: #fff;
    box-shadow: 0 4px 18px rgba(249, 115, 22, 0.35);
}

body.nx-page-body .accs-btn:hover {
    box-shadow: 0 6px 26px rgba(236, 72, 153, 0.4);
}

body.nx-page-body .accs-loading {
    color: var(--nx-muted);
}

body.nx-page-body .accs-loading i {
    color: var(--nx-orange);
}

body.nx-page-body .accs-modal-bg {
    background: rgba(5, 5, 12, 0.82);
    backdrop-filter: blur(8px);
}

body.nx-page-body .accs-modal {
    background: linear-gradient(180deg, #14121c 0%, #0c0a12 100%);
    border: 1px solid rgba(249, 115, 22, 0.22);
    color: var(--nx-text);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

body.nx-page-body .accs-modal h3 {
    color: #ffedd5;
}

body.nx-page-body .accs-modal pre {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
}

body.nx-page-body .accs-modal a.dl {
    color: #fdba74;
}

body.nx-page-body .accs-modal-progress .accs-step {
    color: #fed7aa;
}

body.nx-page-body .accs-modal-progress .accs-step-hint {
    color: var(--nx-muted);
}

body.nx-page-body .accs-modal-progress .fa-spin {
    color: var(--nx-orange);
}

body.nx-page-body .accs-delivery-guide {
    border-top-color: rgba(255, 255, 255, 0.08);
    color: var(--nx-muted);
}

body.nx-page-body .accs-delivery-guide h4 {
    color: #fdba74;
}

body.nx-page-body .accs-delivery-guide code {
    background: rgba(0, 0, 0, 0.45);
    color: #e9d5ff;
}

body.nx-page-body .accs-delivery-guide .accs-guide-note {
    color: var(--nx-muted);
}

body.nx-page-body .accs-shop-x {
    background: rgba(255, 255, 255, 0.06);
    color: var(--nx-muted);
}

body.nx-page-body .accs-shop-x:hover {
    background: rgba(249, 115, 22, 0.15);
    color: var(--nx-text);
}

body.nx-page-body .accs-shop-intro {
    color: var(--nx-muted);
}

body.nx-page-body .accs-shop-loading {
    color: var(--nx-muted);
}

body.nx-page-body .accs-shop-loading i {
    color: var(--nx-orange);
}

body.nx-page-body .accs-shop-error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fecaca;
}

body.nx-page-body .accs-shop-badge {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.35);
}

body.nx-page-body .accs-page-intro {
    color: var(--nx-muted);
}

body.nx-page-body .accs-page-footer-title {
    border-top-color: rgba(249, 115, 22, 0.2);
    color: #ffedd5;
}

body.nx-page-body .accs-history-title {
    color: #ffedd5;
}

body.nx-page-body .accs-history-intro,
body.nx-page-body .accs-history--empty p {
    color: var(--nx-muted);
}

body.nx-page-body .accs-history-card {
    background: rgba(15, 12, 22, 0.92);
    border: 1px solid rgba(139, 92, 246, 0.22);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

body.nx-page-body .accs-history-date {
    color: var(--nx-muted);
}

body.nx-page-body .accs-history-badge {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.35);
}

body.nx-page-body .accs-history-product {
    color: #f8fafc;
}

body.nx-page-body .accs-history-meta,
body.nx-page-body .accs-history-orderid {
    color: var(--nx-muted);
}

body.nx-page-body .accs-history-orderid code {
    background: rgba(0, 0, 0, 0.4);
    color: #e9d5ff;
}

body.nx-page-body .accs-history-pre {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
}

body.nx-page-body .accs-history-note {
    color: var(--nx-muted);
}

body.nx-page-body .accs-history-dl a {
    color: #fdba74;
}

body.nx-page-body #accs-modal-close {
    background: rgba(255, 255, 255, 0.08) !important;
    color: var(--nx-text) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

body.nx-page-body #accs-modal-close:hover {
    background: rgba(249, 115, 22, 0.15) !important;
}

body.nx-page-body .accs-shop-head h3 {
    color: #ffedd5;
}

/* ===================================================================
   Proxy iPhone (proxy_iphone.php)
   =================================================================== */
body.nx-page-body .proxy-page {
    background: transparent;
    min-height: auto;
    padding: 88px 0 40px;
    color: var(--nx-text);
}

body.nx-page-body .proxy-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

body.nx-page-body .proxy-header {
    text-align: center;
    margin-bottom: 2rem;
}

body.nx-page-body .proxy-header h1 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    margin: 0 0 0.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #fed7aa 40%, #f97316 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

body.nx-page-body .proxy-header h1 i {
    -webkit-text-fill-color: #f97316;
    margin-right: 0.35rem;
}

body.nx-page-body .proxy-header p {
    color: var(--nx-muted);
    font-size: 1rem;
    margin: 0 0 1rem;
    line-height: 1.5;
}

body.nx-page-body .balance-display {
    display: inline-block;
    padding: 0.65rem 1.1rem;
    border-radius: 12px;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.35);
}

body.nx-page-body .balance-display span {
    color: #fde68a;
    font-weight: 800;
    font-size: 1.1rem;
}

body.nx-page-body .products-grid-bypass {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
    margin: 2rem 0;
}

body.nx-page-body .product-card-bypass {
    background: rgba(15, 12, 22, 0.92);
    border-radius: 16px;
    padding: 1.25rem;
    border: 1px solid rgba(139, 92, 246, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

body.nx-page-body .product-card-bypass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f97316, #ec4899, #8b5cf6);
}

body.nx-page-body .product-card-bypass:hover {
    border-color: rgba(249, 115, 22, 0.45);
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}

body.nx-page-body .product-icon-bypass {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #f97316 0%, #ec4899 55%, #8b5cf6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.85rem;
    color: #fff;
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35);
}

body.nx-page-body .product-name-bypass {
    color: #f8fafc;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

body.nx-page-body .product-desc-bypass {
    color: var(--nx-muted);
    font-size: 0.88rem;
    margin: 0 0 0.75rem;
}

body.nx-page-body .price-main-bypass {
    color: #fde68a;
    font-size: 2rem;
    font-weight: 800;
    text-shadow: 0 0 20px rgba(249, 115, 22, 0.25);
}

body.nx-page-body .product-stock-bypass {
    color: #a7f3d0;
    font-size: 0.85rem;
    margin: 0.75rem 0;
    padding: 0.35rem 0.75rem;
    background: rgba(34, 197, 94, 0.12);
    border-radius: 999px;
    border: 1px solid rgba(34, 197, 94, 0.35);
}

body.nx-page-body .btn-buy-bypass {
    width: 100%;
    background: linear-gradient(135deg, #ea580c 0%, #ec4899 55%, #7c3aed 100%);
    color: #fff;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: auto;
    box-shadow: 0 4px 18px rgba(249, 115, 22, 0.35);
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

body.nx-page-body .btn-buy-bypass:hover {
    box-shadow: 0 6px 26px rgba(236, 72, 153, 0.4);
    transform: translateY(-2px);
}

body.nx-page-body .nx-proxy-empty {
    text-align: center;
    padding: 2.5rem 1.25rem;
    background: rgba(15, 12, 22, 0.85);
    border-radius: 16px;
    border: 2px dashed rgba(239, 68, 68, 0.45);
}

body.nx-page-body .nx-proxy-empty h3 {
    color: #fca5a5;
    margin: 0 0 0.75rem;
}

body.nx-page-body .nx-proxy-empty p {
    color: var(--nx-muted);
    margin: 0;
}

body.nx-page-body .nx-proxy-empty code {
    font-size: 0.85rem;
    background: rgba(0, 0, 0, 0.35);
    padding: 0.2rem 0.45rem;
    border-radius: 6px;
    color: #fde68a;
}

body.nx-page-body .nx-proxy-history-title {
    color: #ffedd5;
    margin-bottom: 1.25rem;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 800;
}

body.nx-page-body .nx-proxy-history-title i {
    color: #f97316;
    margin-right: 0.35rem;
}

body.nx-page-body .nx-proxy-history-wrap {
    margin-top: 2.5rem;
}

body.nx-page-body .purchases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

body.nx-page-body .purchase-card {
    background: rgba(15, 12, 22, 0.92);
    border: 1px solid rgba(139, 92, 246, 0.22);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    color: var(--nx-text);
}

body.nx-page-body .purchase-card strong {
    color: #f8fafc;
}

body.nx-page-body .purchase-card .nx-proxy-mode {
    color: #fdba74;
    font-size: 0.88rem;
    margin-top: 0.35rem;
}

body.nx-page-body .purchase-card .nx-proxy-meta {
    color: var(--nx-muted);
    font-size: 0.88rem;
}

body.nx-page-body .purchase-card .status-approved {
    color: #86efac;
}

body.nx-page-body .purchase-card .status-pending {
    color: #fcd34d;
}

body.nx-page-body .purchase-card .nx-proxy-status {
    margin-top: 0.5rem;
}

body.nx-page-body .proxy-modal {
    display: none;
    position: fixed;
    z-index: 100050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 12, 0.85);
    backdrop-filter: blur(6px);
    overflow: auto;
}

body.nx-page-body .proxy-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

body.nx-page-body .proxy-modal-content {
    background: linear-gradient(180deg, #14121c 0%, #0c0a12 100%);
    border: 1px solid rgba(249, 115, 22, 0.35);
    border-radius: 16px;
    padding: 1.5rem;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

body.nx-page-body .proxy-modal-content h3 {
    color: #ffedd5;
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
}

body.nx-page-body .proxy-modal-content .nx-proxy-modal-intro {
    color: var(--nx-muted);
    font-size: 0.9rem;
    margin: 0 0 1rem;
}

body.nx-page-body .proxy-modal-content .nx-proxy-modal-intro strong {
    color: #fcd34d;
}

body.nx-page-body .proxy-modal-content label.nx-proxy-label {
    color: #fdba74;
    font-size: 0.88rem;
    display: block;
    margin-bottom: 0.5rem;
}

body.nx-page-body .proxy-modal-content label.nx-proxy-label--muted {
    color: var(--nx-muted);
    margin-top: 0.75rem;
}

body.nx-page-body .proxy-modal-content .mode-options {
    margin: 0.75rem 0 1rem;
    text-align: left;
}

body.nx-page-body .proxy-modal-content .mode-option input[type="radio"] {
    margin-right: 0.65rem;
    vertical-align: middle;
}

body.nx-page-body .proxy-modal-content .nx-proxy-udid-block {
    margin-top: 1.25rem;
}

body.nx-page-body .proxy-modal-content input[type="text"] {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.4);
    color: var(--nx-text);
    margin: 0.5rem 0;
    font-family: ui-monospace, monospace;
    box-sizing: border-box;
}

body.nx-page-body .proxy-modal-content input[type="text"]:focus {
    outline: none;
    border-color: rgba(249, 115, 22, 0.55);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

body.nx-page-body .proxy-modal-content .udid-link {
    display: block;
    margin: 1rem 0;
    padding: 0.75rem;
    background: rgba(2, 132, 199, 0.12);
    border-radius: 10px;
    border: 1px solid rgba(2, 132, 199, 0.35);
}

body.nx-page-body .proxy-modal-content .udid-link strong {
    color: #7dd3fc;
}

body.nx-page-body .proxy-modal-content .udid-link a {
    color: #38bdf8;
    font-weight: 700;
    word-break: break-all;
}

body.nx-page-body .proxy-modal-content .btn-modal {
    width: 100%;
    padding: 0.65rem;
    margin-top: 0.5rem;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

body.nx-page-body .proxy-modal-content .btn-confirm {
    background: linear-gradient(135deg, #ea580c 0%, #ec4899 55%, #7c3aed 100%);
    color: #fff;
}

body.nx-page-body .proxy-modal-content .btn-cancel {
    background: rgba(255, 255, 255, 0.08);
    color: var(--nx-text);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

body.nx-page-body .proxy-modal-content .mode-option {
    display: block;
    padding: 0.65rem 0.85rem;
    margin: 0.5rem 0;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    color: var(--nx-muted);
    transition: border-color 0.2s, color 0.2s;
}

body.nx-page-body .proxy-modal-content .mode-option:hover {
    border-color: rgba(249, 115, 22, 0.45);
    color: var(--nx-text);
}

body.nx-page-body .proxy-modal-content .mode-option.selected {
    border-color: rgba(249, 115, 22, 0.55);
    background: rgba(249, 115, 22, 0.1);
    color: #ffedd5;
}

body.nx-page-body .proxy-modal-content .mode-note {
    font-size: 0.78rem;
    color: #fcd34d;
    margin-top: 0.5rem;
}

body.nx-page-body #udidError {
    color: #fca5a5 !important;
    font-size: 0.85rem;
    margin: 0.35rem 0 0;
}

/* Modal resultado compra (éxito / error) — Proxy iPhone */
body.nx-page-body .nx-proxy-result {
    text-align: center;
    max-width: 420px;
}

body.nx-page-body .nx-proxy-result-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
}

body.nx-page-body .nx-proxy-result--success .nx-proxy-result-icon {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.25) 0%, rgba(249, 115, 22, 0.2) 100%);
    border: 2px solid rgba(34, 197, 94, 0.55);
    color: #86efac;
    box-shadow: 0 8px 28px rgba(34, 197, 94, 0.2);
}

body.nx-page-body .nx-proxy-result--error .nx-proxy-result-icon {
    background: rgba(239, 68, 68, 0.12);
    border: 2px solid rgba(239, 68, 68, 0.45);
    color: #fca5a5;
}

body.nx-page-body .nx-proxy-result h3 {
    margin: 0 0 0.75rem;
    font-size: 1.35rem;
}

body.nx-page-body .nx-proxy-result--success h3 {
    color: #ffedd5;
}

body.nx-page-body .nx-proxy-result--error h3 {
    color: #fecaca;
}

body.nx-page-body .nx-proxy-result .nx-proxy-result-msg {
    color: var(--nx-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 1rem;
}

body.nx-page-body .nx-proxy-result--success .nx-proxy-result-msg {
    color: #e2e8f0;
}

body.nx-page-body .nx-proxy-result-balance {
    display: none;
    margin: 0 0 1.25rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.35);
    color: #fde68a;
    font-size: 1.15rem;
    font-weight: 800;
}

body.nx-page-body .nx-proxy-result-balance.is-visible {
    display: block;
}

body.nx-page-body .nx-proxy-result .btn-modal {
    margin-top: 0.25rem;
}

body.nx-page-body .nx-proxy-result--error .btn-confirm {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--nx-text);
}

body.nx-page-body .nx-proxy-result--error .btn-confirm:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
}

@media (max-width: 768px) {
    body.nx-page-body .proxy-page {
        padding: 72px 0 28px;
    }
}

@media (max-width: 480px) {
    body.nx-page-body .proxy-page {
        padding: 64px 0 20px;
    }

    body.nx-page-body .products-grid-bypass {
        grid-template-columns: 1fr;
    }
}


/* ===================================================================
   Bypass ID (bypass_id.php) — body.bypass-id-page
   =================================================================== */
body.bypass-id-page .bypass-page{
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    min-height: 100vh;
    padding: 120px 0 40px 0;
}

@media (max-width: 768px) {
    body.bypass-id-page .bypass-page{
        padding: 100px 0 30px 0;
    }
}

@media (max-width: 480px) {
    body.bypass-id-page .bypass-page{
        padding: 80px 0 20px 0;
    }
}

body.bypass-id-page .bypass-container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    body.bypass-id-page .bypass-container{
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    body.bypass-id-page .bypass-container{
        padding: 0 10px;
    }
}

body.bypass-id-page .bypass-header{
    text-align: center;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    body.bypass-id-page .bypass-header{
        margin-bottom: 35px;
    }
}

@media (max-width: 480px) {
    body.bypass-id-page .bypass-header{
        margin-bottom: 25px;
    }
}

body.bypass-id-page .bypass-header h1{
    color: #f97316;
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
    line-height: 1.2;
    word-break: break-word;
}

@media (max-width: 768px) {
    body.bypass-id-page .bypass-header h1{
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    body.bypass-id-page .bypass-header h1{
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    
    body.bypass-id-page .bypass-header h1 .title-text{
        display: block;
        margin-top: 5px;
    }
    
    body.bypass-id-page .bypass-header h1 i{
        display: block;
        margin-bottom: 5px;
        font-size: 1.8rem;
    }
}

body.bypass-id-page .bypass-header p{
    color: #aaa;
    font-size: 1.2rem;
    margin-bottom: 25px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    body.bypass-id-page .bypass-header p{
        font-size: 1rem;
        margin-bottom: 20px;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    body.bypass-id-page .bypass-header p{
        font-size: 0.9rem;
        margin-bottom: 15px;
        padding: 0 5px;
    }
}

body.bypass-id-page .balance-display{
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-radius: 15px;
    padding: 20px;
    display: inline-block;
    border: 2px solid #f97316;
}

@media (max-width: 768px) {
    body.bypass-id-page .balance-display{
        padding: 15px 20px;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    body.bypass-id-page .balance-display{
        padding: 12px 16px;
        border-radius: 10px;
        width: 100%;
        max-width: 280px;
    }
}

body.bypass-id-page .balance-display span{
    color: #f97316;
    font-weight: bold;
    font-size: 1.3rem;
}

@media (max-width: 768px) {
    body.bypass-id-page .balance-display span{
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    body.bypass-id-page .balance-display span{
        font-size: 1.1rem;
    }
}

/* Grid de Productos - Diseño Horizontal */
body.bypass-id-page .products-grid-bypass{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

@media (max-width: 768px) {
    body.bypass-id-page .products-grid-bypass{
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 480px) {
    body.bypass-id-page .products-grid-bypass{
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

body.bypass-id-page .product-card{
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-radius: 20px;
    padding: 30px;
    border: 2px solid #333;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    body.bypass-id-page .product-card{
        padding: 25px;
        border-radius: 15px;
    }
}

@media (max-width: 480px) {
    body.bypass-id-page .product-card{
        padding: 20px;
        border-radius: 12px;
        margin: 0 5px;
    }
}

body.bypass-id-page .product-card:hover{
    border-color: #f97316;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.2);
}

/* Nuevos Estilos para Tarjetas de Producto */
body.bypass-id-page .product-card-bypass{
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 20px;
    padding: 25px;
    border: 2px solid #333;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

body.bypass-id-page .product-card-bypass::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f97316, #ec4899);
}

body.bypass-id-page .product-card-bypass:hover{
    border-color: #f97316;
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(249, 115, 22, 0.3);
}

body.bypass-id-page .product-icon-bypass{
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f97316, #ec4899);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2.2rem;
    color: #000;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4);
}

body.bypass-id-page .product-header-bypass{
    margin-bottom: 20px;
    width: 100%;
}

body.bypass-id-page .product-name-bypass{
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

body.bypass-id-page .product-desc-bypass{
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

body.bypass-id-page .product-price-bypass{
    margin: 20px 0;
}

body.bypass-id-page .price-main-bypass{
    color: #f97316;
    font-size: 2.5rem;
    font-weight: 800;
    text-shadow: 0 0 20px rgba(249, 115, 22, 0.5);
}

body.bypass-id-page .product-stock-bypass{
    color: #f97316;
    font-size: 0.95rem;
    margin: 15px 0;
    padding: 8px 15px;
    background: rgba(249, 115, 22, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

body.bypass-id-page .btn-buy-bypass{
    width: 100%;
    background: linear-gradient(135deg, #f97316, #ec4899);
    color: #000;
    border: none;
    padding: 15px 25px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

body.bypass-id-page .btn-buy-bypass:hover{
    background: linear-gradient(135deg, #ec4899, #f97316);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
}

body.bypass-id-page .btn-buy-bypass:active{
    transform: translateY(0);
}

/* Tarjeta de Admin */
body.bypass-id-page .admin-card-bypass{
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    border-radius: 20px;
    padding: 25px;
    border: 2px solid #ff4444;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

body.bypass-id-page .admin-card-bypass:hover{
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.5);
}

body.bypass-id-page .admin-icon-bypass{
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2.2rem;
    color: #fff;
}

body.bypass-id-page .admin-card-bypass h3{
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

body.bypass-id-page .admin-card-bypass p{
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

body.bypass-id-page .btn-admin-bypass{
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    padding: 15px 25px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

body.bypass-id-page .btn-admin-bypass:hover{
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    body.bypass-id-page .product-card-bypass,
    body.bypass-id-page .admin-card-bypass{
        padding: 20px;
    }
    
    body.bypass-id-page .product-icon-bypass,
    body.bypass-id-page .admin-icon-bypass{
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    body.bypass-id-page .product-name-bypass{
        font-size: 1.2rem;
    }
    
    body.bypass-id-page .price-main-bypass{
        font-size: 2.2rem;
    }
}

body.bypass-id-page .product-card::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f97316, #ec4899);
}

body.bypass-id-page .product-icon{
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f97316, #ec4899);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

body.bypass-id-page .product-title{
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    line-height: 1.3;
}

@media (max-width: 768px) {
    body.bypass-id-page .product-title{
        font-size: 1.3rem;
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    body.bypass-id-page .product-title{
        font-size: 1.2rem;
        margin-bottom: 6px;
    }
}

body.bypass-id-page .product-description{
    color: #aaa;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.6;
}

body.bypass-id-page .product-price{
    text-align: center;
    margin-bottom: 25px;
}

body.bypass-id-page .price-main{
    color: #f97316;
    font-size: 2.5rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    body.bypass-id-page .price-main{
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    body.bypass-id-page .price-main{
        font-size: 2rem;
    }
}

body.bypass-id-page .price-original{
    color: #666;
    text-decoration: line-through;
    font-size: 1.2rem;
    margin-left: 10px;
}

body.bypass-id-page .buy-button{
    width: 100%;
    background: linear-gradient(135deg, #f97316, #ec4899);
    color: #000;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    body.bypass-id-page .buy-button{
        padding: 12px;
        font-size: 1rem;
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    body.bypass-id-page .buy-button{
        padding: 10px;
        font-size: 0.95rem;
        border-radius: 6px;
    }
}

body.bypass-id-page .buy-button:hover{
    background: linear-gradient(135deg, #ec4899, #f97316);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.3);
}

/* Modal Styles */
body.bypass-id-page .modal{
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

body.bypass-id-page .modal.show{
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body.bypass-id-page .modal-content{
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    border: 2px solid #f97316;
    animation: modalSlideIn 0.3s ease;
}

@media (max-width: 768px) {
    body.bypass-id-page .modal-content{
        width: 95%;
        margin: 3% auto;
        border-radius: 15px;
    }
}

@media (max-width: 480px) {
    body.bypass-id-page .modal-content{
        width: 98%;
        margin: 2% auto;
        border-radius: 12px;
        max-height: 95vh;
        overflow-y: auto;
    }
}

@keyframes modalSlideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

body.bypass-id-page .modal-header{
    background: linear-gradient(135deg, #ea580c 0%, #ec4899 50%, #7c3aed 100%);
    color: #ffedd5;
    padding: 20px;
    border-radius: 18px 18px 0 0;
    text-align: center;
    font-weight: 800;
    font-size: 1.2rem;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

body.bypass-id-page .modal-header h3 {
    margin: 0;
    color: inherit;
    font-size: 1.15rem;
    font-weight: 800;
}

body.bypass-id-page .modal-body{
    padding: 30px;
}

body.bypass-id-page #bypass-confirm-details,
body.bypass-id-page #bypass-result-content {
    padding: 0 1.25rem 1.25rem;
    color: #e2e8f0;
}

@media (max-width: 768px) {
    body.bypass-id-page .modal-body{
        padding: 25px;
    }
}

@media (max-width: 480px) {
    body.bypass-id-page .modal-body{
        padding: 20px 15px;
    }
}

body.bypass-id-page .form-group{
    margin-bottom: 25px;
}

body.bypass-id-page .form-group label{
    color: #f97316;
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
}

body.bypass-id-page .form-control{
    width: 100%;
    padding: 12px;
    background: #333;
    border: 2px solid #555;
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
}

body.bypass-id-page .form-control:focus{
    border-color: #f97316;
    outline: none;
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.3);
}

body.bypass-id-page .product-selector{
    display: grid;
    gap: 15px;
    margin-bottom: 25px;
}

body.bypass-id-page .product-option{
    background: #333;
    border: 2px solid #555;
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

body.bypass-id-page .product-option:hover{
    border-color: #f97316;
}

body.bypass-id-page .product-option.selected{
    border-color: #f97316;
    background: rgba(249, 115, 22, 0.1);
}

body.bypass-id-page .product-option-title{
    color: #fff;
    font-weight: bold;
    margin-bottom: 5px;
}

body.bypass-id-page .product-option-price{
    color: #f97316;
    font-size: 1.2rem;
    font-weight: bold;
}

body.bypass-id-page .modal-buttons{
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

body.bypass-id-page .btn{
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

body.bypass-id-page .btn-primary{
    background: linear-gradient(135deg, #ea580c 0%, #ec4899 50%, #7c3aed 100%);
    color: #fff;
}

body.bypass-id-page .btn-primary:hover{
    background: linear-gradient(135deg, #ec4899, #f97316);
    transform: translateY(-2px);
}

body.bypass-id-page .btn-secondary{
    background: #666;
    color: #fff;
}

body.bypass-id-page .btn-secondary:hover{
    background: #777;
}

body.bypass-id-page .btn-success{
    background: linear-gradient(135deg, #ea580c 0%, #ec4899 50%, #7c3aed 100%);
    color: #fff;
}

body.bypass-id-page .btn-success:hover{
    background: linear-gradient(135deg, #ec4899, #f97316);
    transform: translateY(-2px);
}

body.bypass-id-page .btn-danger{
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: #fff;
}

body.bypass-id-page .btn-danger:hover{
    background: linear-gradient(135deg, #ee5a52, #ff6b6b);
    transform: translateY(-2px);
}

body.bypass-id-page .close{
    color: rgba(255, 255, 255, 0.92);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

body.bypass-id-page .close:hover{
    opacity: 0.7;
}

body.bypass-id-page .loading{
    display: none;
    text-align: center;
    color: #f97316;
    margin: 20px 0;
}

body.bypass-id-page .success-message{
    background: rgba(249, 115, 22, 0.1);
    border: 2px solid #f97316;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    color: #f97316;
    margin: 20px 0;
    display: none;
}

body.bypass-id-page .error-message{
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid #ff4444;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    color: #ff4444;
    margin: 20px 0;
    display: none;
}

/* Estilos adicionales para el modal de licencia */
body.bypass-id-page .license-code{
    background: #000 !important;
    border: 1px solid #333 !important;
    border-radius: 10px !important;
    padding: 15px !important;
    margin: 15px 0 !important;
    font-family: 'Courier New', monospace !important;
    font-size: 1.1rem !important;
    color: #f97316 !important;
    word-break: break-all !important;
    text-align: center !important;
    user-select: all !important;
    cursor: text !important;
}

body.bypass-id-page .license-button{
    background: linear-gradient(135deg, #ea580c 0%, #ec4899 50%, #7c3aed 100%) !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    margin: 5px !important;
    transition: all 0.3s ease !important;
}

body.bypass-id-page .license-button:hover{
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.3) !important;
}

body.bypass-id-page .license-button.copied{
    background: #28a745 !important;
    color: #fff !important;
}

body.bypass-id-page .license-instructions{
    background: rgba(249, 115, 22, 0.1) !important;
    border: 1px solid #f97316 !important;
    border-radius: 10px !important;
    padding: 20px !important;
    margin: 20px 0 !important;
    text-align: left !important;
}

body.bypass-id-page .license-warning{
    background: rgba(255, 165, 0, 0.1) !important;
    border: 1px solid #ffa500 !important;
    border-radius: 10px !important;
    padding: 15px !important;
    margin: 20px 0 !important;
    color: #ffa500 !important;
    font-weight: bold !important;
    text-align: center !important;
}

/* Estilos para el Panel de Administración */
body.bypass-id-page .license-item{
    background: #333;
    border: 1px solid #555;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body.bypass-id-page .license-item.available{
    border-color: #f97316;
    background: rgba(249, 115, 22, 0.05);
}

body.bypass-id-page .license-item.sold{
    border-color: #666;
    background: rgba(128, 128, 128, 0.05);
}

body.bypass-id-page .license-key{
    font-family: 'Courier New', monospace;
    color: #f97316;
    font-weight: bold;
    word-break: break-all;
    flex: 1;
    margin-right: 15px;
}

body.bypass-id-page .license-status{
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

body.bypass-id-page .license-status.available{
    background: #f97316;
    color: #000;
}

body.bypass-id-page .license-status.sold{
    background: #666;
    color: #fff;
}

body.bypass-id-page .license-actions{
    display: flex;
    gap: 10px;
}

body.bypass-id-page .btn-delete{
    background: #ff4444;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

body.bypass-id-page .btn-delete:hover{
    background: #cc3333;
    transform: translateY(-1px);
}

body.bypass-id-page .btn-delete:disabled{
    background: #666;
    cursor: not-allowed;
    transform: none;
}

body.bypass-id-page .license-info{
    font-size: 0.8rem;
    color: #888;
    margin-top: 5px;
}

body.bypass-id-page .admin-stats{
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid #f97316;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
}

body.bypass-id-page .admin-stats h4{
    color: #f97316;
    margin: 0 0 10px 0;
}

body.bypass-id-page .admin-stats .stats-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

body.bypass-id-page .admin-stats .stat-item{
    background: #333;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #555;
}

body.bypass-id-page .admin-stats .stat-value{
    color: #f97316;
    font-size: 1.5rem;
    font-weight: bold;
    display: block;
}

body.bypass-id-page .admin-stats .stat-label{
    color: #aaa;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* Estilos para el modo bulk */
body.bypass-id-page .bulk-mode-buttons{
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

body.bypass-id-page .bulk-mode-buttons .btn{
    transition: all 0.3s ease;
    border-radius: 8px;
    font-weight: bold;
}

body.bypass-id-page .bulk-mode-buttons .btn:hover{
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

body.bypass-id-page #bulkLicenseKeys{
    background: #222 !important;
    border: 2px solid #555 !important;
    color: #fff !important;
    line-height: 1.4;
}

body.bypass-id-page #bulkLicenseKeys:focus{
    border-color: #f97316 !important;
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.3) !important;
}

body.bypass-id-page #bulkCounter{
    font-weight: bold;
    padding: 8px 12px;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid #f97316;
    border-radius: 5px;
    color: #f97316 !important;
}

body.bypass-id-page .bulk-help{
    background: rgba(249, 115, 22, 0.05);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 8px;
    padding: 10px;
    margin-top: 10px;
    font-size: 0.85rem;
    color: #aaa;
}

body.bypass-id-page .bulk-help strong{
    color: #f97316;
}

/* Mejoras adicionales para móviles */
@media (max-width: 768px) {
    body.bypass-id-page .product-icon{
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    body.bypass-id-page .stock-info{
        font-size: 0.85rem !important;
    }
    
    body.bypass-id-page .modal-header{
        padding: 15px 20px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    body.bypass-id-page .product-icon{
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
        margin-bottom: 12px;
    }
    
    body.bypass-id-page .stock-info{
        font-size: 0.8rem !important;
        margin-bottom: 12px !important;
    }
    
    body.bypass-id-page .modal-header{
        padding: 12px 15px;
        font-size: 1.1rem;
    }
    
    body.bypass-id-page .form-control{
        padding: 10px;
        font-size: 0.95rem;
    }
    
    body.bypass-id-page .btn{
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    body.bypass-id-page .product-description{
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
}

body.bypass-id-page .platform-selector:hover{
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(249, 115, 22, 0.3) !important;
        }
        @media (max-width: 480px) {
            body.bypass-id-page .platform-selector{
                padding: 20px !important;
            }
            body.bypass-id-page .platform-selector div:first-child{
                font-size: 2rem !important;
            }
        }

body.bypass-id-page .purchase-card-bypass:hover{
    border-color: #f97316;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.2);
}

/* Estilos para form-control en modales */
body.bypass-id-page .form-control{
    width: 100%;
    padding: 12px;
    background: #2d2d2d;
    border: 2px solid #555;
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

body.bypass-id-page .form-control:focus{
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.3);
}

body.bypass-id-page .form-control::placeholder{
    color: #888;
}

body.bypass-id-page .form-group{
    margin-bottom: 20px;
}

body.bypass-id-page .form-group label{
    display: block;
    color: #fff;
    font-weight: bold;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    body.bypass-id-page .purchases-grid{
        grid-template-columns: 1fr !important;
    }
    
    body.bypass-id-page .modal-content{
        width: 95% !important;
        margin: 10% auto !important;
    }
}

/* Bypass ID — refinado Nexus (plataforma, layout, modal alerta) */
body.bypass-id-page .bypass-page {
    background: transparent;
    min-height: auto;
    padding: 88px 0 40px;
}

body.bypass-id-page .bx-platform-wrap {
    text-align: center;
    margin: 2.5rem auto;
    max-width: 600px;
}

body.bypass-id-page .bx-platform-title {
    color: #ffedd5;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

body.bypass-id-page .bx-platform-title i {
    color: #f97316;
    margin-right: 0.35rem;
}

body.bypass-id-page .bx-platform-sub {
    color: var(--nx-muted);
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

body.bypass-id-page .bx-platform-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    max-width: 500px;
    margin: 0 auto;
}

body.bypass-id-page .platform-selector {
    display: block;
    padding: 1.5rem;
    border-radius: 15px;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.12);
    background: rgba(15, 12, 22, 0.92);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.bypass-id-page .platform-selector:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(249, 115, 22, 0.2);
    border-color: rgba(249, 115, 22, 0.35);
}

body.bypass-id-page .platform-selector.active {
    background: linear-gradient(135deg, #ea580c 0%, #ec4899 55%, #7c3aed 100%);
    border-color: rgba(249, 115, 22, 0.55);
    box-shadow: 0 8px 28px rgba(249, 115, 22, 0.3);
}

body.bypass-id-page .bx-plat-emoji {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

body.bypass-id-page .bx-plat-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: #f8fafc;
}

body.bypass-id-page .platform-selector.active .bx-plat-name {
    color: #fff;
}

body.bypass-id-page .bx-plat-desc {
    font-size: 0.85rem;
    color: var(--nx-muted);
}

body.bypass-id-page .platform-selector.active .bx-plat-desc {
    color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 480px) {
    body.bypass-id-page .bx-platform-grid {
        grid-template-columns: 1fr;
    }

    body.bypass-id-page .bypass-page {
        padding: 72px 0 28px;
    }
}

body.bypass-id-page .bypass-alert-modal.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 100060 !important;
}

body.bypass-id-page .nx-bypass-alert-content {
    max-width: 420px;
    width: 100%;
    margin: auto;
    text-align: center;
}

body.bypass-id-page .nx-bypass-alert-content .nx-bypass-alert-btn {
    width: 100%;
    margin-top: 0.75rem;
}
