/* =====================================================================
   MX THEME – rediseño oscuro estilo "terminal / neón"
   Se carga al final del <head> (header.tpl). Para revertir: quitar el
   <link> de mx-theme.css y restaurar _backup_redesign_20261112/.
   ===================================================================== */

:root {
    --mx-bg: #080d1a;
    --mx-bg2: #0c1324;
    --mx-card: #0f172a;
    --mx-card2: #131d35;
    --mx-line: rgba(148, 163, 184, .14);
    --mx-line2: rgba(148, 163, 184, .24);
    --mx-text: #e5e7eb;
    --mx-muted: #94a3b8;
    --mx-green: #22c55e;
    --mx-green2: #4ade80;
    --mx-yellow: #f59e0b;
    --mx-blue: #3b82f6;
    --mx-purple: #8b5cf6;
    --mx-pink: #ec4899;
    --mx-red: #ef4444;
    --mx-cyan: #06b6d4;
    --mx-radius: 14px;
    --mx-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --mx-display: 'Outfit', 'Inter', system-ui, sans-serif;
    --mx-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- Base ---------- */
body.mx {
    background: var(--mx-bg) !important;
    background-image:
        radial-gradient(1200px 500px at 85% -10%, rgba(34, 197, 94, .07), transparent 60%),
        radial-gradient(900px 500px at 0% 10%, rgba(59, 130, 246, .07), transparent 60%),
        linear-gradient(rgba(148,163,184,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148,163,184,.035) 1px, transparent 1px) !important;
    background-size: auto, auto, 32px 32px, 32px 32px !important;
    background-attachment: fixed !important;
    color: var(--mx-text);
    font-family: var(--mx-font);
}
body.mx .bg-gray, body.mx .mx-main, body.mx .bg-white { background: transparent !important; }
body.mx a { color: #cbd5e1; }
body.mx a:hover { color: #fff; text-decoration: none; }
body.mx h1, body.mx h2, body.mx h3, body.mx h4, body.mx h5, body.mx h6,
body.mx .h1, body.mx .h2, body.mx .h3, body.mx .h4, body.mx .h5, body.mx .h6 { color: #f8fafc; }
body.mx .text-muted { color: var(--mx-muted) !important; opacity: 1; }
body.mx ::selection { background: rgba(34, 197, 94, .35); color: #fff; }

.text-green { color: var(--mx-green2) !important; }
.text-yellow { color: var(--mx-yellow) !important; }
.text-muted2 { color: var(--mx-muted) !important; }
.mx-mono { font-family: var(--mx-mono); }
.mx-small { font-size: 12.5px; color: var(--mx-muted); line-height: 1.55; }
.mx-wrap { max-width: none; width: 100%; padding-left: clamp(16px, 2.5vw, 48px) !important; padding-right: clamp(16px, 2.5vw, 48px) !important; margin: 0 auto; }
.mx-narrow { max-width: none; }
.mx-gutter-sm { margin-left: -6px; margin-right: -6px; }
.mx-gutter-sm > [class*="col"] { padding-left: 6px; padding-right: 6px; }

/* ---------- Botones ---------- */
.mx-btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 15px; border-radius: 9px; border: 1px solid transparent;
    font-weight: 700; font-size: 13px; line-height: 1.2; white-space: nowrap;
    cursor: pointer; transition: transform .15s, box-shadow .2s, filter .2s;
    text-decoration: none !important;
}
.mx-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.mx-btn-sm { padding: 6px 11px; font-size: 12px; border-radius: 8px; }
body.mx .mx-btn-green  { background: var(--mx-green); color: #04140a !important; box-shadow: 0 6px 18px -6px rgba(34,197,94,.6); }
body.mx .mx-btn-wa     { background: #16a34a; color: #fff !important; box-shadow: 0 6px 18px -8px rgba(22,163,74,.7); }
body.mx .mx-btn-blue   { background: var(--mx-blue); color: #fff !important; box-shadow: 0 6px 18px -8px rgba(59,130,246,.7); }
body.mx .mx-btn-yellow { background: var(--mx-yellow); color: #1a1003 !important; box-shadow: 0 6px 18px -8px rgba(245,158,11,.7); }
body.mx .mx-btn-ghost  { background: rgba(255,255,255,.04); border-color: var(--mx-line2); color: #e2e8f0 !important; }

/* ---------- Header ---------- */
body.mx header.mx-header {
    position: sticky; top: 0; z-index: 1030;
    background: rgba(8, 13, 26, .86) !important;
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--mx-line);
    transition: box-shadow .2s;
}
body.mx header.mx-header.is-scrolled { box-shadow: 0 10px 30px -12px rgba(0,0,0,.7); }
body.mx .mx-header .header-middle,
body.mx .mx-header .header-bottom { background: transparent !important; border: 0 !important; box-shadow: none !important; }
body.mx .mx-header .navbar-brand { padding: 8px 0; color: #fff !important; font-family: var(--mx-display); font-weight: 800; }
body.mx .mx-header .navbar-brand img { max-height: 44px; width: auto; border-radius: 8px; }
body.mx .mx-header .navbar-toggler { color: #fff !important; font-size: 22px; margin-right: 10px; }
body.mx .mx-nav-right { gap: 6px; }
body.mx .mx-header .navbar-mastermenu { gap: 4px; flex-wrap: nowrap; }
body.mx .mx-header .navbar-expand-lg .navbar-nav .nav-link,
body.mx .mx-header .navbar-mastermenu > .nav-item > .nav-link {
    color: #cbd5e1 !important; font-size: 13px; font-weight: 600;
    padding: 7px 11px !important; border-radius: 8px;
    background: transparent; border: 1px solid transparent; white-space: nowrap;
}
body.mx .mx-header .navbar-mastermenu > .nav-item:not(.mx-nav-btn):not(.profile) > .nav-link {
    border-color: var(--mx-line); background: rgba(255,255,255,.025);
}
body.mx .mx-header .navbar-mastermenu > .nav-item:not(.mx-nav-btn) > .nav-link:hover { color: #fff !important; border-color: rgba(34,197,94,.45); background: rgba(34,197,94,.08); }
body.mx .mx-header .navbar-expand-lg .navbar-nav .nav-item .nav-link::before { display: none !important; }
body.mx .mx-header .mx-nav-btn .nav-link.mx-btn { padding: 8px 14px !important; border-radius: 9px; }
body.mx .mx-header .mx-nav-btn .mx-btn-blue { background: var(--mx-blue) !important; color: #fff !important; }
body.mx .mx-header .mx-nav-btn .mx-btn-wa { background: #16a34a !important; color: #fff !important; }
body.mx .mx-header .mx-nav-btn .mx-btn-ghost { border-color: var(--mx-line2) !important; }
body.mx .mx-header .dropdown-toggle::after { display: none; }
body.mx .mx-header .user-balance small { font-family: var(--mx-mono); }
body.mx .mx-curlang { flex-direction: row; }
body.mx .mx-curlang .nav-link { color: var(--mx-muted) !important; font-size: 12px; padding: 7px 8px !important; }

/* Dropdowns */
body.mx .dropdown-menu {
    background: #0e1628 !important; border: 1px solid var(--mx-line2) !important;
    border-radius: 12px; box-shadow: 0 20px 50px -12px rgba(0,0,0,.75); padding: 6px;
}
body.mx .dropdown-item { color: #cbd5e1 !important; border-radius: 8px; font-size: 13px; padding: 8px 12px; white-space: normal; }
body.mx .dropdown-item:hover, body.mx .dropdown-item:focus { background: rgba(34,197,94,.1) !important; color: #fff !important; }
body.mx .dropdown-divider { border-color: var(--mx-line); }

/* Barra de aviso */
.mx-notice { border-top: 1px solid var(--mx-line); background: linear-gradient(90deg, rgba(34,197,94,.08), rgba(34,197,94,0) 55%); }
.mx-notice > div { padding-top: 8px; padding-bottom: 8px; gap: 12px; }
.mx-notice-ico { width: 30px; height: 30px; border-radius: 8px; flex: 0 0 30px; display: grid; place-items: center; background: rgba(34,197,94,.15); color: var(--mx-green2); border: 1px solid rgba(34,197,94,.35); }
.mx-notice-text { line-height: 1.3; min-width: 0; }
.mx-notice-text strong { display: block; color: #fff; font-size: 13px; }
.mx-notice-text small { color: var(--mx-muted); font-size: 11.5px; }
.mx-notice-text small b { color: var(--mx-green2); }
.mx-notice-actions { gap: 8px; }
.mx-notice-close { background: rgba(255,255,255,.06); border: 1px solid var(--mx-line2); color: #cbd5e1; width: 28px; height: 28px; border-radius: 8px; font-size: 18px; line-height: 1; cursor: pointer; }
.mx-notice-close:hover { color: #fff; background: rgba(255,255,255,.12); }

/* ---------- Encabezado de páginas internas ---------- */
body.mx .mx-pagehead { border-bottom: 1px solid var(--mx-line); background: linear-gradient(180deg, rgba(15,23,42,.6), rgba(15,23,42,0)) !important; }
body.mx .mx-pagehead .page-title { font-family: var(--mx-display); font-weight: 800; color: #fff; font-size: 26px; }
body.mx .breadcrumb { background: transparent; padding: 0; color: var(--mx-muted); font-size: 12.5px; font-family: var(--mx-mono); }
body.mx .breadcrumb a { color: var(--mx-green2); }

/* ---------- Tipografía de secciones ---------- */
.mx-section { padding: 34px 0; position: relative; }
.mx-hero { padding-top: 26px; }
.mx-eyebrow {
    display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
    font-family: var(--mx-mono); font-size: 11px; letter-spacing: .22em; color: var(--mx-muted); text-transform: uppercase;
}
.mx-num {
    display: inline-grid; place-items: center; min-width: 26px; height: 20px; padding: 0 6px;
    border-radius: 6px; font-weight: 700; font-size: 10.5px; letter-spacing: 0; color: #fff;
    background: var(--mx-green); position: relative; margin-right: 46px;
}
.mx-eyebrow .mx-num::after { content: ''; position: absolute; left: calc(100% + 8px); top: 50%; width: 30px; height: 1px; background: var(--mx-line2); }
.mx-num-yellow { background: var(--mx-yellow); color: #1a1003; }
.mx-num-purple { background: var(--mx-purple); }
.mx-num-cyan { background: var(--mx-cyan); }
.mx-num-red { background: var(--mx-red); }
.mx-num-pink { background: var(--mx-pink); }
body.mx .mx-h1 { font-family: var(--mx-display); font-weight: 800; font-size: clamp(26px, 3vw, 38px); color: #fff; margin: 6px 0 6px; letter-spacing: -.01em; }
body.mx .mx-h2 { font-family: var(--mx-display); font-weight: 800; font-size: clamp(24px, 2.4vw, 32px); color: #fff; letter-spacing: -.01em; }
body.mx .mx-h3 { font-family: var(--mx-display); font-weight: 800; font-size: 22px; }
.mx-sub { color: var(--mx-muted); font-size: 14px; margin-bottom: 18px; }
.mx-new { display: inline-block; vertical-align: middle; font-family: var(--mx-mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #fff; background: var(--mx-red); padding: 4px 9px; border-radius: 999px; transform: translateY(-3px); }
.mx-link-mono { font-family: var(--mx-mono); font-size: 12px; font-weight: 700; color: var(--mx-yellow) !important; letter-spacing: .1em; border-bottom: 1px dashed rgba(245,158,11,.5); padding-bottom: 2px; }

/* ---------- Ventana "terminal" ---------- */
.mx-term {
    background: linear-gradient(180deg, rgba(19,29,53,.92), rgba(12,19,36,.92));
    border: 1px solid var(--mx-line2); border-radius: var(--mx-radius);
    box-shadow: 0 24px 60px -24px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.04);
    overflow: hidden;
}
.mx-term-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--mx-line); background: rgba(255,255,255,.02); }
.mx-term-title { font-family: var(--mx-mono); font-size: 11px; color: var(--mx-muted); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mx-term-sm .mx-term-title { white-space: normal; }
.mx-term-body { padding: 16px; }
.mx-dots { display: inline-flex; gap: 6px; flex: 0 0 auto; }
.mx-dots i { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; display: block; }
.mx-dots i:nth-child(2) { background: #f59e0b; }
.mx-dots i:nth-child(3) { background: #22c55e; }
.mx-badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mx-mono); font-size: 10px; font-weight: 700; letter-spacing: .06em; padding: 4px 8px; border-radius: 6px; line-height: 1.15; text-align: center; }
.mx-badge-green { color: var(--mx-green2); background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.35); }
.mx-badge-dark { color: #cbd5e1; background: rgba(255,255,255,.04); border: 1px solid var(--mx-line2); }
.mx-live { width: 7px; height: 7px; border-radius: 50%; background: var(--mx-green); display: inline-block; box-shadow: 0 0 0 0 rgba(34,197,94,.7); animation: mxPulse 1.6s infinite; }
@keyframes mxPulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.65); } 70% { box-shadow: 0 0 0 7px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.mx-cursor { animation: mxBlink 1s steps(1) infinite; color: var(--mx-green2); }
@keyframes mxBlink { 50% { opacity: 0; } }

.mx-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 6px; }
.mx-chip-yellow { background: rgba(245,158,11,.14); color: #fbbf24; border: 1px solid rgba(245,158,11,.4); }
.mx-rate { font-size: 12.5px; color: #e2e8f0; padding: 3px 0; }
.mx-rate span { color: var(--mx-yellow); }
.mx-rate b { color: var(--mx-green2); }
.mx-log { font-size: 11.5px; color: var(--mx-muted); line-height: 1.75; }

/* ---------- Buscador hero ---------- */
.mx-search {
    display: flex; align-items: center; gap: 8px; max-width: 640px; width: 100%; margin: 0 auto;
    background: rgba(8,13,26,.85); border: 1px solid rgba(245,158,11,.45);
    border-radius: 12px; padding: 6px 6px 6px 16px;
    box-shadow: 0 0 0 4px rgba(245,158,11,.06), 0 20px 40px -20px rgba(0,0,0,.8);
    transition: border-color .2s, box-shadow .2s;
}
.mx-search:focus-within { border-color: var(--mx-yellow); box-shadow: 0 0 0 4px rgba(245,158,11,.15), 0 20px 40px -20px rgba(0,0,0,.8); }
.mx-search > i { color: var(--mx-yellow); }
.mx-search input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: #fff; font-size: 14px; padding: 8px 4px; }
.mx-search input::placeholder { color: #64748b; }
.mx-search select { background: rgba(255,255,255,.05); color: #cbd5e1; border: 1px solid var(--mx-line2); border-radius: 8px; padding: 7px 8px; font-size: 12px; outline: 0; }
.mx-search select option { background: #0f172a; }
.mx-search .mx-btn { padding: 9px 16px; }
.mx-quick { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.mx-quick a { font-size: 12px; color: var(--mx-muted) !important; border: 1px solid var(--mx-line); padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.02); }
.mx-quick a:hover { color: #fff !important; border-color: rgba(34,197,94,.5); }
.mx-quick a i { color: var(--mx-green2); margin-right: 4px; }

/* ---------- Tarjeta promo ---------- */
.mx-promo {
    position: relative; overflow: hidden; padding: 20px 18px 18px;
    border-radius: var(--mx-radius); border: 2px solid var(--mx-yellow);
    background: radial-gradient(400px 200px at 100% 0%, rgba(245,158,11,.18), transparent 60%), linear-gradient(180deg, #111a30, #0b1222);
    box-shadow: 0 0 40px -10px rgba(245,158,11,.35);
}
.mx-promo::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: repeating-linear-gradient(-45deg, #f59e0b 0 10px, #111 10px 20px); }
.mx-promo-tag { display: inline-block; margin-top: 4px; font-size: 10.5px; font-weight: 800; color: #fff; background: var(--mx-red); padding: 3px 9px; border-radius: 999px; letter-spacing: .05em; }
.mx-promo-ribbon { position: absolute; right: -28px; top: 18px; transform: rotate(45deg); background: var(--mx-red); color: #fff; font-size: 10px; font-weight: 800; padding: 3px 34px; letter-spacing: .1em; }
body.mx .mx-promo h4 { font-family: var(--mx-display); font-weight: 800; font-size: 17px; margin: 10px 0 6px; color: #fff; }
.mx-promo-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.mx-promo-tags span { font-size: 10px; font-weight: 800; padding: 3px 7px; border-radius: 5px; background: rgba(245,158,11,.14); color: #fbbf24; border: 1px solid rgba(245,158,11,.35); }
.mx-promo-price { font-family: var(--mx-display); color: #fff; }
.mx-promo-price small { color: var(--mx-muted); font-family: var(--mx-font); font-size: 12px; }
.mx-promo-price b { font-size: 34px; font-weight: 900; color: var(--mx-yellow); text-shadow: 0 0 22px rgba(245,158,11,.45); }
.mx-promo-price em { font-style: normal; font-size: 11px; font-weight: 800; background: var(--mx-yellow); color: #1a1003; padding: 2px 6px; border-radius: 5px; vertical-align: middle; }

/* ---------- Pills ---------- */
.mx-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.mx-pill {
    display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 8px;
    font-family: var(--mx-mono); font-size: 11px; font-weight: 700; letter-spacing: .04em;
    color: #e2e8f0 !important; background: rgba(255,255,255,.03); border: 1px solid var(--mx-line2);
    transition: transform .15s, background .2s, border-color .2s;
}
.mx-pill:hover { transform: translateY(-1px); background: rgba(255,255,255,.07); }
.mx-pill i { font-size: 13px; }
.mx-pill-blue   { border-color: rgba(59,130,246,.45); } .mx-pill-blue i   { color: #60a5fa; }
.mx-pill-green  { border-color: rgba(34,197,94,.45); color: var(--mx-green2) !important; } .mx-pill-green i { color: var(--mx-green2); }
.mx-pill-purple { border-color: rgba(139,92,246,.5); } .mx-pill-purple i { color: #a78bfa; }
.mx-pill-yellow { border-color: rgba(245,158,11,.5); } .mx-pill-yellow i { color: #fbbf24; }
.mx-pill-pink   { border-color: rgba(236,72,153,.5); } .mx-pill-pink i   { color: #f472b6; }

.mx-mini .mx-term-body { padding: 14px; }
.mx-steps { margin: 0 0 12px; padding-left: 18px; font-size: 12.5px; color: #cbd5e1; line-height: 1.85; }
.mx-steps li::marker { color: var(--mx-green2); font-family: var(--mx-mono); font-weight: 700; }
.mx-api { font-size: 11.5px; line-height: 2; color: #cbd5e1; }
.mx-api > div { background: rgba(0,0,0,.25); border: 1px solid var(--mx-line); border-radius: 6px; padding: 0 8px; margin-bottom: 4px; display: flex; gap: 8px; align-items: center; }
.mx-api em { margin-left: auto; font-style: normal; color: var(--mx-muted); font-size: 10px; }
.mx-get, .mx-post { font-size: 9.5px; font-weight: 800; padding: 1px 5px; border-radius: 4px; }
.mx-get { background: rgba(34,197,94,.15); color: var(--mx-green2); }
.mx-post { background: rgba(59,130,246,.18); color: #60a5fa; }
.mx-api-sm { font-size: 10.5px; margin-bottom: 12px; }

/* ---------- Coverflow ---------- */
.mx-coverflow { position: relative; height: 100%; min-height: 380px; perspective: 1400px; overflow: hidden; border-radius: var(--mx-radius); }
.mx-cf-track { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transform-style: preserve-3d; }
.mx-cf-item {
    position: absolute; width: 70%; max-width: 980px; aspect-ratio: 16 / 7.5;
    border-radius: 14px; overflow: hidden; border: 2px solid var(--mx-line2);
    background: #0b1222; box-shadow: 0 30px 60px -20px rgba(0,0,0,.9);
    transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .6s, border-color .3s;
    will-change: transform;
}
.mx-cf-item.is-active { border-color: var(--mx-yellow); box-shadow: 0 0 0 1px rgba(245,158,11,.4), 0 30px 70px -18px rgba(245,158,11,.35); }
.mx-cf-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mx-cf-html { width: 100%; height: 100%; padding: 20px; color: #fff; overflow: hidden; }
.mx-cf-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 20;
    width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--mx-line2);
    background: rgba(8,13,26,.85); color: #fff; cursor: pointer;
}
.mx-cf-nav:hover { background: var(--mx-yellow); color: #111; }
.mx-cf-prev { left: 8px; } .mx-cf-next { right: 8px; }

/* ---------- Bots ---------- */
.mx-typer { font-size: clamp(26px, 3vw, 38px); font-weight: 700; color: var(--mx-green2); letter-spacing: .04em; margin-top: 12px; min-height: 1.3em; text-shadow: 0 0 22px rgba(34,197,94,.45); }
.mx-typer::after { content: '▌'; animation: mxBlink 1s steps(1) infinite; margin-left: 2px; }
.mx-typer-sub { color: #e2e8f0; font-size: 13px; font-weight: 600; }
.mx-workers-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mx-tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mx-mono); font-size: 10px; font-weight: 700; padding: 4px 8px; border-radius: 6px; border: 1px solid var(--mx-line2); color: #cbd5e1; }
.mx-tag-green { border-color: rgba(34,197,94,.4); }
.mx-tag-yellow { border-color: rgba(245,158,11,.4); } .mx-tag-yellow i { color: #fbbf24; }
.mx-tag-blue { border-color: rgba(59,130,246,.4); } .mx-tag-blue i { color: #60a5fa; }
.mx-lane { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--mx-line); }
.mx-lane-l { font-family: var(--mx-mono); font-size: 10px; color: var(--mx-muted); width: 48px; }
.mx-lane-track { position: relative; flex: 1; height: 2px; background: linear-gradient(90deg, rgba(148,163,184,.1), rgba(148,163,184,.3), rgba(148,163,184,.1)); }
.mx-lane-dot { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 3px; background: var(--c); box-shadow: 0 0 12px var(--c); animation: mxLane var(--d) linear infinite; }
.mx-lane-gear { position: absolute; left: 50%; top: -8px; font-size: 16px; color: #64748b; animation: mxSpin 4s linear infinite; }
@keyframes mxLane { from { left: 0; } to { left: calc(100% - 10px); } }
@keyframes mxSpin { to { transform: rotate(360deg); } }
.mx-ok { font-family: var(--mx-mono); font-size: 10px; font-weight: 700; color: var(--mx-green2); border: 1px solid rgba(34,197,94,.4); background: rgba(34,197,94,.08); padding: 3px 7px; border-radius: 6px; }
.mx-welcome { margin-top: 18px; color: #cbd5e1; font-size: 14px; }
.mx-welcome b { color: #fff; }

/* ---------- Servicios ---------- */
.mx-svc {
    display: block; height: 100%; padding: 22px; border-radius: var(--mx-radius);
    background: linear-gradient(180deg, rgba(19,29,53,.9), rgba(12,19,36,.9));
    border: 1px solid var(--mx-line2); position: relative; overflow: hidden;
    transition: transform .2s, border-color .2s, box-shadow .2s;
}
.mx-svc::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--c, var(--mx-green)); opacity: .9; }
.mx-svc:hover { transform: translateY(-4px); border-color: rgba(34,197,94,.55); box-shadow: 0 0 0 1px rgba(34,197,94,.25), 0 26px 50px -22px rgba(34,197,94,.35); }
.mx-svc-ico { --c: var(--mx-green); width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; font-size: 19px; color: var(--c); background: color-mix(in srgb, var(--c) 15%, transparent); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); margin-bottom: 14px; }
body.mx .mx-svc h4 { font-family: var(--mx-display); font-weight: 800; font-size: 19px; margin-bottom: 6px; }
.mx-svc p { color: var(--mx-muted); font-size: 13.5px; margin-bottom: 12px; }
.mx-svc-tags, .mx-brands { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; }
.mx-svc-tags span, .mx-brands span { font-size: 10.5px; font-weight: 700; color: #cbd5e1; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--mx-line2); }
.mx-svc-go { font-family: var(--mx-mono); font-size: 12px; font-weight: 700; color: var(--mx-green2); }

/* ---------- Ofertas (carrusel bootstrap) ---------- */
.mx-offers .carousel-item img { max-height: 680px; object-fit: cover; }
.mx-offer-html { min-height: 300px; padding: 40px; color: #fff; }
.mx-offers .carousel-indicators { margin-bottom: 10px; }
.mx-offers .carousel-indicators li { width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(255,255,255,.4); margin: 0 4px; }
.mx-offers .carousel-indicators li.active { background: var(--mx-green); width: 22px; border-radius: 6px; }
.mx-offers .carousel-control-prev, .mx-offers .carousel-control-next { width: 46px; opacity: 1; }
.mx-offers .carousel-control-prev i, .mx-offers .carousel-control-next i { width: 36px; height: 36px; line-height: 36px; border-radius: 50%; background: rgba(8,13,26,.75); border: 1px solid var(--mx-line2); color: #fff; }

/* ---------- Features ---------- */
.mx-feat {
    --c: var(--mx-green);
    height: 100%; padding: 20px; border-radius: var(--mx-radius);
    background: linear-gradient(180deg, rgba(19,29,53,.85), rgba(12,19,36,.85));
    border: 1px solid var(--mx-line2); border-top: 2px solid var(--c);
    box-shadow: 0 -12px 30px -22px var(--c);
    transition: transform .2s;
}
.mx-feat:hover { transform: translateY(-3px); }
.mx-feat-top { margin-bottom: 12px; }
.mx-ico { width: 34px; height: 34px; border-radius: 9px; display: inline-grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 15%, transparent); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
body.mx .mx-feat h5 { font-family: var(--mx-display); font-weight: 800; font-size: 17px; margin: 6px 0 8px; }
.mx-feat p { color: var(--mx-muted); font-size: 13px; line-height: 1.6; margin-bottom: 12px; }
.mx-feat p b { color: #fff; }
.mx-okbox { display: block; font-size: 11.5px; font-weight: 700; color: #dcfce7; background: rgba(34,197,94,.18); border: 1px solid rgba(34,197,94,.45); border-radius: 8px; padding: 8px 10px; margin-bottom: 8px; }
.mx-okbox i { color: var(--mx-green2); margin-right: 4px; }
.mx-counter { font-size: 18px; font-weight: 700; color: #60a5fa; }
.mx-recharge { position: relative; display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: #cbd5e1; background: rgba(0,0,0,.25); border: 1px solid var(--mx-line); border-radius: 8px; padding: 8px 10px 12px; margin-bottom: 10px; overflow: hidden; }
.mx-recharge b { font-family: var(--mx-mono); font-size: 10px; }
.mx-recharge .mx-bar { position: absolute; left: 10px; right: 10px; bottom: 5px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.mx-recharge .mx-bar::after { content: ''; position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, var(--mx-yellow), var(--mx-green)); animation: mxLoad 2.4s ease-in-out infinite; }
@keyframes mxLoad { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }

/* ---------- CMS (contenido del admin) ---------- */
.mx-cms { border: 1px solid var(--mx-line2); border-radius: var(--mx-radius); background: rgba(15,23,42,.6); }
.mx-cms summary { cursor: pointer; padding: 14px 18px; font-family: var(--mx-display); font-weight: 700; color: #fff; list-style: none; display: flex; gap: 10px; align-items: center; }
.mx-cms summary::-webkit-details-marker { display: none; }
.mx-cms summary::after { content: '+'; margin-left: auto; font-family: var(--mx-mono); color: var(--mx-green2); font-size: 18px; }
.mx-cms[open] summary::after { content: '−'; }
.mx-cms-body { padding: 10px 18px 24px; border-top: 1px solid var(--mx-line); }
.mx-cms-body, .mx-cms-body * { font-family: var(--mx-font) !important; color: #cbd5e1; }
.mx-cms-body h1, .mx-cms-body h2, .mx-cms-body b, .mx-cms-body strong { color: #fff !important; }
.mx-cms-body img { max-width: 100%; height: auto; }

/* ---------- Footer ---------- */
body.mx footer.mx-footer { display: block; margin-top: 30px; border-top: 1px solid var(--mx-line); background: #060a15; }
body.mx .mx-footer .footer-top { background: transparent !important; border: 0 !important; }
body.mx .mx-footer .link-heading { color: #fff !important; font-family: var(--mx-display); font-weight: 700; letter-spacing: .02em; }
body.mx .mx-footer .link-heading::after { display: none; }
body.mx .mx-footer .nav-link, body.mx .mx-footer span { color: var(--mx-muted) !important; }
body.mx .mx-footer .nav-link:hover { color: var(--mx-green2) !important; }
body.mx .mx-footer .footer-navbar .nav-link { padding: 4px 0; font-size: 13.5px; }
body.mx .mx-footer .btn-newsletter { background: var(--mx-blue); color: #fff; border-radius: 9px; font-weight: 700; padding: 8px 16px; }
body.mx .mx-footer .mx-btn { margin-right: 6px; }
body.mx .mx-footer .footer-bottom { background: transparent !important; border-top: 1px solid var(--mx-line); color: var(--mx-muted); }
body.mx .mx-footer .footer-bottom img { max-width: 100%; opacity: .85; }
.mx-powered { text-align: center; padding: 0 0 16px; }
.mx-powered span { display: inline-block; font-family: var(--mx-mono); font-weight: 800; font-size: 11px; letter-spacing: .22em; color: #e2e8f0; padding: 6px 18px; border-radius: 999px; border: 1px solid rgba(59,130,246,.55); background: rgba(59,130,246,.12); box-shadow: 0 0 24px -6px rgba(59,130,246,.6); }

/* =====================================================================
   Páginas internas: tarjetas, tablas, formularios y modales en oscuro
   ===================================================================== */
body.mx .card, body.mx .card-product .product-info, body.mx .list-group-item {
    background: rgba(15,23,42,.85) !important; border-color: var(--mx-line2) !important; color: var(--mx-text);
}
body.mx .card { border-radius: var(--mx-radius); }
body.mx .card-header, body.mx .card-footer { background: rgba(255,255,255,.02) !important; border-color: var(--mx-line) !important; }
body.mx .table { color: #cbd5e1; }
body.mx .table th { color: #fff; border-color: var(--mx-line2) !important; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; }
body.mx .table td { border-color: var(--mx-line) !important; }
body.mx .table-striped tbody tr:nth-of-type(odd) { background: rgba(255,255,255,.025); }
body.mx .table-hover tbody tr:hover { background: rgba(34,197,94,.06); color: #fff; }
body.mx .form-control, body.mx .custom-select, body.mx .input-group-text,
body.mx .chosen-container-single .chosen-single, body.mx .chosen-container .chosen-drop {
    background: #0b1222 !important; color: #e5e7eb !important; border: 1px solid var(--mx-line2) !important; border-radius: 9px;
}
body.mx .form-control:focus { border-color: var(--mx-green) !important; box-shadow: 0 0 0 3px rgba(34,197,94,.18) !important; }
body.mx .form-control::placeholder { color: #64748b; }
body.mx .btn-primary, body.mx button.btn.btn-primary, body.mx .bg-primary { background: var(--mx-green) !important; border-color: var(--mx-green) !important; color: #04140a !important; font-weight: 700; }
body.mx .btn-primary:hover { filter: brightness(1.08); }
body.mx .bg-secondary { background: var(--mx-blue) !important; color: #fff !important; }
body.mx .modal-content { background: #0e1628 !important; border: 1px solid var(--mx-line2); border-radius: 16px; overflow: hidden; }
body.mx .modal-header { background: #111b31 !important; border-bottom: 1px solid var(--mx-line) !important; color: #fff; }
body.mx .modal-body { background: transparent !important; }
body.mx .modal-header .close { color: #fff; opacity: .8; text-shadow: none; }
body.mx .modal-menu .modal-content { background: #0b1222 !important; }
body.mx .nav-pills .nav-link.active, body.mx .nav-pills .show > .nav-link { background: var(--mx-green) !important; color: #04140a !important; }
body.mx .page-link { background: #0b1222; border-color: var(--mx-line2); color: #cbd5e1; }
body.mx .page-item.active .page-link { background: var(--mx-green); border-color: var(--mx-green); color: #04140a; }
body.mx hr { border-color: var(--mx-line); }
body.mx .border, body.mx .border-top, body.mx .border-bottom, body.mx .border-left, body.mx .border-right { border-color: var(--mx-line2) !important; }

/* Precios (resellerpricing) */
body.mx .card-search { background: transparent !important; }
body.mx #searchservicebox { font-size: 15px; padding: 12px 16px !important; border-color: rgba(245,158,11,.45) !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    body.mx .mx-header .navbar-expand-lg .navbar-nav .nav-link { padding: 6px 8px !important; font-size: 12px; }
}
@media (max-width: 991.98px) {
    .mx-wrap { padding-left: 16px !important; padding-right: 16px !important; }
    .mx-section { padding: 24px 0; }
    .mx-coverflow { min-height: 240px; margin-top: 8px; }
    .mx-cf-item { width: 80%; }
    .mx-search { flex-wrap: wrap; padding: 8px; }
    .mx-search input { flex-basis: calc(100% - 30px); }
    .mx-search select, .mx-search .mx-btn { flex: 1; justify-content: center; }
    .mx-promo { margin-top: 6px; }
    .mx-notice-text small { display: none; }
    body.mx .mx-pagehead .page-title { font-size: 21px; }
}
@media (max-width: 575.98px) {
    .mx-coverflow { min-height: 190px; }
    .mx-lane-l { width: 40px; }
    .mx-eyebrow { letter-spacing: .12em; font-size: 10px; }
    .mx-notice-text strong { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .mx-live, .mx-cursor, .mx-lane-dot, .mx-lane-gear, .mx-recharge .mx-bar::after, .mx-typer::after { animation: none !important; }
    .mx-cf-item { transition: none; }
}

/* Autocompletado del navegador en oscuro */
body.mx input:-webkit-autofill, body.mx input:-webkit-autofill:hover, body.mx input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 40px #0b1222 inset !important;
    -webkit-text-fill-color: #e5e7eb !important;
}

/* =====================================================================
   Modal de aviso (popup del admin: "¡LEER CON ATENCIÓN!")
   ===================================================================== */
body.mx .mx-alert-modal .modal-dialog { max-width: 620px; padding: 0 12px; }
body.mx .mx-alert-modal .modal-content {
    position: relative; overflow: hidden; border-radius: 16px;
    background: radial-gradient(500px 220px at 50% 0%, rgba(239,68,68,.16), transparent 70%), linear-gradient(180deg, #111a30, #0a1122) !important;
    border: 1px solid rgba(239,68,68,.55) !important;
    box-shadow: 0 0 0 1px rgba(239,68,68,.15), 0 0 60px -10px rgba(239,68,68,.45), 0 40px 80px -30px rgba(0,0,0,.9);
    animation: mxPop .35s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes mxPop { from { transform: scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }
body.mx .modal-backdrop.show { opacity: .78; background: #02050c; }
.mx-alert-hazard { height: 6px; background: repeating-linear-gradient(-45deg, #ef4444 0 12px, #1a0606 12px 24px); }
.mx-alert-modal .mx-term-bar { border-bottom: 1px solid var(--mx-line); }
.mx-alert-badge { color: #fca5a5; background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.45); }
body.mx .mx-alert-x {
    flex: 0 0 32px; width: 32px; height: 32px; margin-left: 10px; padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.05); border: 1px solid var(--mx-line2); border-radius: 50%;
    color: #94a3b8; font-size: 13px; line-height: 1; cursor: pointer; outline: none;
    transition: background .2s, color .2s, border-color .2s, transform .25s, box-shadow .2s;
}
body.mx .mx-alert-x i { pointer-events: none; }
body.mx .mx-alert-x:hover, body.mx .mx-alert-x:focus-visible {
    background: var(--mx-red); border-color: var(--mx-red); color: #fff;
    transform: rotate(90deg); box-shadow: 0 0 16px -2px rgba(239,68,68,.7);
}
.mx-alert-modal .mx-term-bar { padding-top: 9px; padding-bottom: 9px; }
.mx-alert-modal .mx-term-title { min-width: 0; }
@media (max-width: 575.98px) {
    .mx-alert-modal .mx-alert-badge { display: none; }
    .mx-alert-modal .mx-alert-x { margin-left: auto; }
}
.mx-alert-head { display: flex; align-items: center; gap: 14px; padding: 18px 22px 4px; }
.mx-alert-ico { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; color: #fca5a5; background: rgba(239,68,68,.14); border: 1px solid rgba(239,68,68,.45); animation: mxAlertGlow 2s ease-in-out infinite; }
@keyframes mxAlertGlow { 50% { box-shadow: 0 0 22px -2px rgba(239,68,68,.6); } }
.mx-alert-kicker { font-family: var(--mx-mono); font-size: 11px; font-weight: 700; letter-spacing: .2em; color: #fca5a5; }
.mx-alert-sub { font-family: var(--mx-display); font-weight: 800; font-size: 19px; color: #fff; line-height: 1.2; }

/* Contenido que viene del admin: se normalizan los estilos en línea */
body.mx .mx-alert-body { padding: 10px 22px 6px !important; max-height: 58vh; overflow-y: auto; text-align: center; }
body.mx .mx-alert-body, body.mx .mx-alert-body * { font-family: var(--mx-font) !important; font-size: 14px !important; line-height: 1.55; color: #cbd5e1; }
body.mx .mx-alert-body p { margin: 0 0 6px; }
body.mx .mx-alert-body p:empty { display: none; }
body.mx .mx-alert-body strong, body.mx .mx-alert-body b { color: #fff; }
body.mx .mx-alert-body a { color: var(--mx-green2) !important; font-weight: 700; border-bottom: 1px dashed rgba(74,222,128,.45); word-break: break-word; }
body.mx .mx-alert-body a:hover { color: #fff !important; }
/* El primer párrafo (el título "¡LEER CON ATENCIÓN!") como titular */
body.mx .mx-alert-body > p:first-child {
    display: inline-block; margin: 6px auto 14px; padding: 8px 16px; border-radius: 10px;
    background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.45);
}
body.mx .mx-alert-body > p:first-child, body.mx .mx-alert-body > p:first-child * {
    font-family: var(--mx-display) !important; font-size: 20px !important; font-weight: 900; color: #fff; letter-spacing: .02em;
}
body.mx .mx-alert-body::-webkit-scrollbar { width: 8px; }
body.mx .mx-alert-body::-webkit-scrollbar-thumb { background: rgba(148,163,184,.25); border-radius: 8px; }
.mx-alert-foot { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 22px 18px; border-top: 1px solid var(--mx-line); background: rgba(0,0,0,.18); }
@media (max-width: 575.98px) {
    .mx-alert-foot .mx-btn { flex: 1 1 auto; justify-content: center; }
    .mx-alert-sub { font-size: 16px; }
    body.mx .mx-alert-body > p:first-child, body.mx .mx-alert-body > p:first-child * { font-size: 17px !important; }
}

/* =====================================================================
   PÁGINAS INTERNAS – v2 (login, registro, precios, panel, recargas,
   pedidos, ajustes). Todo con prefijo body.mx para ganar a theme.css.
   ===================================================================== */

/* ---- Contenedor general de páginas internas ---- */
body.mx:not(.page-index) .body-container { padding-bottom: 30px; }
body.mx .page-container { color: var(--mx-text); }
body.mx .mx-pagehead .mx-eyebrow { margin-bottom: 4px; }

/* ---- Fondos claros heredados ---- */
body.mx .bg-white, body.mx .bg-light, body.mx .input-group-text.bg-white { background: rgba(255,255,255,.03) !important; color: var(--mx-text) !important; }
body.mx .text-dark, body.mx .text-black { color: #e5e7eb !important; }
body.mx [style*="color:black"], body.mx [style*="color: black"] { color: #e5e7eb !important; }
body.mx .shadow, body.mx .shadow-sm { box-shadow: 0 18px 40px -24px rgba(0,0,0,.9) !important; }
body.mx .rounded { border-radius: 12px !important; }

/* ---- Tarjetas ---- */
body.mx .card-body { background: transparent; }
body.mx .card-simple-form, body.mx .card-registration {
    background: linear-gradient(180deg, rgba(19,29,53,.92), rgba(12,19,36,.92)) !important;
    border: 1px solid var(--mx-line2) !important; border-radius: 16px !important;
    box-shadow: 0 30px 70px -30px rgba(0,0,0,.9);
    padding: 26px !important;
}

/* ---- Formularios ---- */
body.mx label, body.mx .form-label, body.mx .col-form-label { color: #cbd5e1; font-size: 13px; font-weight: 600; }
body.mx .form-control { min-height: 42px; }
body.mx textarea.form-control { min-height: 110px; }
body.mx .form-control:disabled, body.mx .form-control[readonly] { background: rgba(255,255,255,.04) !important; opacity: .75; }
body.mx .input-group-text { border-radius: 9px 0 0 9px !important; color: var(--mx-green2) !important; }
body.mx .input-group > .form-control:not(:first-child) { border-radius: 0 9px 9px 0 !important; }
body.mx select.form-control option, body.mx .custom-select option { background: #0f172a; color: #e5e7eb; }
body.mx .custom-control-label::before { background: #0b1222; border: 1px solid var(--mx-line2); }
body.mx .custom-control-input:checked ~ .custom-control-label::before { background: var(--mx-green) !important; border-color: var(--mx-green) !important; }
body.mx .custom-control-label { color: #cbd5e1; font-weight: 500; }
body.mx .progress { background: rgba(255,255,255,.06); border-radius: 6px; height: 6px; }
body.mx .progress-bar { background: linear-gradient(90deg, var(--mx-yellow), var(--mx-green)); }
body.mx .show-pass { color: var(--mx-muted); }

/* ---- Botones heredados ---- */
body.mx .btn { border-radius: 9px; font-weight: 700; }
body.mx .btn-secondary { background: rgba(255,255,255,.06) !important; border: 1px solid var(--mx-line2) !important; color: #e2e8f0 !important; }
body.mx .btn-success { background: #16a34a !important; border-color: #16a34a !important; color: #fff !important; }
body.mx .btn-danger { background: var(--mx-red) !important; border-color: var(--mx-red) !important; color: #fff !important; }
body.mx .btn-warning { background: var(--mx-yellow) !important; border-color: var(--mx-yellow) !important; color: #1a1003 !important; }
body.mx .btn-info { background: var(--mx-cyan) !important; border-color: var(--mx-cyan) !important; color: #03161a !important; }
body.mx .btn-light, body.mx .btn-default, body.mx .btn-outline-secondary, body.mx .btn-outline-primary {
    background: rgba(255,255,255,.04) !important; border: 1px solid var(--mx-line2) !important; color: #e2e8f0 !important;
}
body.mx .btn-outline-primary:hover, body.mx .btn-light:hover { border-color: var(--mx-green) !important; color: #fff !important; }
body.mx .btn-text, body.mx .btn-link { color: var(--mx-green2) !important; background: transparent !important; }
body.mx .text-primary, body.mx a.text-primary { color: var(--mx-green2) !important; }
body.mx .text-success { color: var(--mx-green2) !important; }
body.mx .text-danger { color: #f87171 !important; }
body.mx .text-warning { color: #fbbf24 !important; }
body.mx .text-info { color: #22d3ee !important; }

/* ---- Alertas ---- */
body.mx .alert { border-radius: 10px; border: 1px solid; }
body.mx .alert-info, body.mx .alert1.alert-info { background: rgba(6,182,212,.1) !important; border-color: rgba(6,182,212,.4) !important; color: #a5f3fc !important; }
body.mx .alert-success, body.mx .alert1.alert-success { background: rgba(34,197,94,.1) !important; border-color: rgba(34,197,94,.45) !important; color: #bbf7d0 !important; }
body.mx .alert-danger, body.mx .alert-error, body.mx .alert1.alert-error { background: rgba(239,68,68,.12) !important; border-color: rgba(239,68,68,.5) !important; color: #fecaca !important; }
body.mx .alert-warning { background: rgba(245,158,11,.1) !important; border-color: rgba(245,158,11,.45) !important; color: #fde68a !important; }
body.mx .alert a { color: #fff !important; text-decoration: underline; }

/* ---- Badges / estados ---- */
body.mx .badge { border-radius: 6px; font-family: var(--mx-mono); font-weight: 700; letter-spacing: .02em; padding: .38em .6em; }
body.mx .badge-success { background: rgba(34,197,94,.18); color: var(--mx-green2); border: 1px solid rgba(34,197,94,.45); }
body.mx .badge-danger { background: rgba(239,68,68,.16); color: #fca5a5; border: 1px solid rgba(239,68,68,.45); }
body.mx .badge-warning { background: rgba(245,158,11,.16); color: #fcd34d; border: 1px solid rgba(245,158,11,.45); }
body.mx .badge-info, body.mx .badge-primary { background: rgba(59,130,246,.16); color: #93c5fd; border: 1px solid rgba(59,130,246,.45); }
body.mx .badge-secondary, body.mx .badge-light { background: rgba(255,255,255,.06); color: #cbd5e1; border: 1px solid var(--mx-line2); }
body.mx tr.updateorder-Replied td, body.mx tr.updateorder-Cancelled td { background: transparent; }
@keyframes blink { 25% { background-color: rgba(34,197,94,.18); } }
@keyframes blink2 { 25% { background-color: rgba(239,68,68,.18); } }

/* ---- Tablas ---- */
body.mx .table { background: transparent; margin-bottom: 0; }
body.mx .table thead th { background: rgba(255,255,255,.03); border-bottom: 1px solid var(--mx-line2) !important; font-family: var(--mx-mono); font-weight: 700; color: #94a3b8; font-size: 11px; }
body.mx .table td { vertical-align: middle; }
body.mx .table-bordered, body.mx .table-bordered td, body.mx .table-bordered th { border-color: var(--mx-line) !important; }
body.mx .table-responsive { border-radius: 12px; }
body.mx .table .prefix, body.mx .table .suffix { color: var(--mx-muted); font-size: 11px; }

/* ---- Lista de precios (resellerpricing) ---- */
body.mx .reseller-pricing .card-search { padding: 18px 0 6px !important; }
body.mx .reseller-pricing .card-search .form-control { height: 48px; }
body.mx .reseller-pricing .group.card {
    padding: 0 !important; overflow: hidden;
    background: linear-gradient(180deg, rgba(19,29,53,.92), rgba(12,19,36,.92)) !important;
    border: 1px solid var(--mx-line2) !important; border-left: 3px solid var(--mx-green) !important;
}
body.mx .reseller-pricing .group.card:nth-child(4n+2) { border-left-color: var(--mx-yellow) !important; }
body.mx .reseller-pricing .group.card:nth-child(4n+3) { border-left-color: var(--mx-purple) !important; }
body.mx .reseller-pricing .group.card:nth-child(4n+4) { border-left-color: var(--mx-cyan) !important; }
body.mx .reseller-pricing .group thead th { background: rgba(255,255,255,.035); padding: 12px 14px; vertical-align: middle; }
body.mx .reseller-pricing .group thead th h5 { margin: 0; font-family: var(--mx-display); font-weight: 800; font-size: 16px; color: #fff; letter-spacing: .01em; text-transform: none; }
body.mx .reseller-pricing .service td { padding: 10px 14px; border-top: 1px solid var(--mx-line) !important; }
body.mx .reseller-pricing .service td.border-left { border-left: 1px solid var(--mx-line) !important; }
body.mx .reseller-pricing .service .searchme { color: #e2e8f0 !important; font-weight: 500; font-size: 13.5px; }
body.mx .reseller-pricing .service:hover td { background: rgba(34,197,94,.06); }
body.mx .reseller-pricing .service:hover .searchme { color: #fff !important; }
body.mx .reseller-pricing .service td i.fa-cogs { color: var(--mx-muted); }
body.mx .reseller-pricing .service td.text-right .nowrap { font-family: var(--mx-mono); font-weight: 700; color: var(--mx-green2); font-size: 14px; }
body.mx .reseller-pricing .service td.d-lg-table-cell span { font-family: var(--mx-mono); font-size: 11.5px; color: #93c5fd; }

/* ---- Registro / asistentes de pasos ---- */
body.mx .page-registration .wizard-title { font-family: var(--mx-display); font-weight: 800; font-size: 22px; text-transform: none; color: #fff; margin-bottom: 14px !important; }
body.mx .nav-tabs { border-bottom-color: var(--mx-line); }
body.mx .nav-tabs.nav-wizard { gap: 6px; border: 0; margin: 12px 0 6px; }
body.mx .nav-tabs.nav-wizard .nav-item { flex: 1; }
body.mx .nav-tabs.nav-wizard .nav-link { height: 5px; background: rgba(255,255,255,.08) !important; }
body.mx .nav-tabs.nav-wizard .nav-item.checked .nav-link, body.mx .nav-tabs.nav-wizard .nav-link.active { background: var(--mx-green) !important; box-shadow: 0 0 12px rgba(34,197,94,.6); }
body.mx .steps ul li a { background: rgba(255,255,255,.08) !important; }
body.mx .steps ul li.first a, body.mx .steps ul li.checked a, body.mx .steps ul li.current a { background: var(--mx-green) !important; box-shadow: 0 0 12px rgba(34,197,94,.5); }
body.mx .wizard .actions li a { background: var(--mx-green) !important; color: #04140a !important; border-radius: 9px; font-weight: 700; }
body.mx .wizard .actions li.disabled a { background: rgba(255,255,255,.06) !important; color: var(--mx-muted) !important; }
body.mx .nav-tabs .nav-link { color: var(--mx-muted); border: 0; border-bottom: 2px solid transparent; }
body.mx .nav-tabs .nav-link.active, body.mx .nav-tabs .nav-item.show .nav-link { background: transparent !important; color: #fff !important; border-bottom-color: var(--mx-green); }
body.mx .d-actionbar-mobile { background: transparent !important; border-top: 0 !important; }

/* ---- Login (modal y página) ---- */
body.mx #login .modal-dialog { max-width: 420px; }
body.mx #login .modal-content { border-color: rgba(34,197,94,.4) !important; box-shadow: 0 0 50px -14px rgba(34,197,94,.4), 0 40px 80px -30px rgba(0,0,0,.9); }
body.mx #login .modal-header { position: relative; padding-left: 74px; }
body.mx #login .modal-header::before { content: ''; position: absolute; left: 18px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #ef4444; box-shadow: 16px 0 0 #f59e0b, 32px 0 0 #22c55e; }
body.mx #login .modal-title, body.mx .page-login .page-title { font-family: var(--mx-display); font-weight: 800; color: #fff; }
body.mx .page-login .card, body.mx .page-login .fieldoflogin { background: transparent !important; border: 0 !important; padding: 0; }
body.mx .page-login .loginbuttons { height: 46px; }
body.mx h3.h3.or span, body.mx h3.h3 span.text-muted { background: #0e1628 !important; color: var(--mx-muted) !important; }
body.mx h3.h3.or span::before, body.mx h3.h3 span.text-muted::before { background: #0e1628 !important; }
body.mx .digit-group input { background: #0b1222; color: #fff; border: 1px solid var(--mx-line2); border-radius: 9px; }

/* ---- Panel del cliente ---- */
body.mx .clientarea-balance { background: transparent !important; }
body.mx .client-area .card { transition: border-color .2s, transform .2s; }
body.mx .client-area .card:hover { border-color: rgba(34,197,94,.4) !important; }
body.mx .client-area .big-font { font-family: var(--mx-display); font-weight: 900; color: #fff; }
body.mx .client-area .counter { color: var(--mx-green2); text-shadow: 0 0 18px rgba(34,197,94,.35); }
body.mx .client-area .aftercounter { color: var(--mx-muted); }
body.mx .client-area .col-left .card { border-top: 2px solid var(--mx-green) !important; }
body.mx .user-balance.text-success small { color: var(--mx-green2) !important; }
body.mx .user-balance.text-danger small { color: #f87171 !important; }

/* ---- Menús laterales / list-group ---- */
body.mx .list-group { border-radius: 12px; overflow: hidden; }
body.mx .list-group-item { border-color: var(--mx-line) !important; padding: 10px 14px; }
body.mx .list-group-item a { color: #cbd5e1; display: block; }
body.mx .list-group-item:hover { background: rgba(34,197,94,.06) !important; }
body.mx .list-group-item.active { background: rgba(34,197,94,.12) !important; border-left: 3px solid var(--mx-green) !important; }
body.mx .list-group-item.active a { color: #fff; font-weight: 700; }

/* ---- Listas desplegables de servicios (chosen) ---- */
body.mx .chosen-container .chosen-drop { box-shadow: 0 20px 50px -12px rgba(0,0,0,.8); border-radius: 0 0 10px 10px; }
body.mx .chosen-container .chosen-search input { background: #0b1222 !important; color: #fff; border: 1px solid var(--mx-line2) !important; border-radius: 8px; }
body.mx .chosen-container .chosen-results li { color: #cbd5e1; border-bottom: 1px solid var(--mx-line) !important; }
body.mx .chosen-container .chosen-results li.highlighted { background: rgba(34,197,94,.15) !important; color: #fff !important; }
body.mx .chosen-container .chosen-results li.group-result { color: var(--mx-yellow) !important; font-family: var(--mx-mono); font-size: 11.5px; background: rgba(245,158,11,.06); }
body.mx .chosen-container-single .chosen-single span { color: #e5e7eb; }
body.mx .tcs-select { background-color: rgba(34,197,94,.12) !important; }

/* ---- Datepicker / tooltips / popovers ---- */
body.mx .datepicker.dropdown-menu { color: #e5e7eb; }
body.mx .datepicker table tr td.active, body.mx .datepicker table tr td.active:hover { background: var(--mx-green) !important; color: #04140a; }
body.mx .datepicker table tr td.day:hover, body.mx .datepicker .datepicker-switch:hover, body.mx .datepicker .prev:hover, body.mx .datepicker .next:hover { background: rgba(255,255,255,.08); }
body.mx .popover { background: #0e1628; border-color: var(--mx-line2); }
body.mx .popover-body { color: #cbd5e1; }
body.mx .popover-header { background: #111b31; color: #fff; border-color: var(--mx-line); }

/* ---- Recargar saldo ---- */
body.mx.tpl-client_addfunds .page-container > .card > .border {
    background: rgba(8,13,26,.5); border-color: var(--mx-line2) !important; border-radius: 14px !important;
}
body.mx.tpl-client_addfunds #amount { font-family: var(--mx-mono); font-weight: 700; color: var(--mx-green2) !important; height: 60px; }
body.mx.tpl-client_addfunds .card-app { background: transparent !important; }
body.mx.tpl-client_addfunds .transactionform[style*="rgb(46,111,217)"] { background: var(--mx-blue) !important; border-radius: 10px !important; }

/* ---- Paginación / misc ---- */
body.mx .pagination { gap: 4px; }
body.mx .page-link { border-radius: 8px !important; }
body.mx .modal-menu .catloglist li a { color: #cbd5e1 !important; }
body.mx .modal-menu .nav-link { color: #e2e8f0 !important; }
body.mx .close { color: #fff; text-shadow: none; opacity: .75; }
body.mx .close:hover { opacity: 1; color: #fff; }

/* =====================================================================
   ANCHO COMPLETO – usar toda la pantalla (sin columnas angostas)
   ===================================================================== */
body.mx .container,
body.mx .container-fluid.mx-wrap {
    max-width: 100% !important; width: 100%;
    padding-left: clamp(16px, 2.5vw, 48px); padding-right: clamp(16px, 2.5vw, 48px);
}
body.mx .container .container { padding-left: 0; padding-right: 0; }
body.mx .modal .container { padding-left: 15px; padding-right: 15px; }
body.mx .mx-coverflow { min-height: clamp(380px, 30vw, 560px); }

/* Formularios que estaban limitados a ~500px */
body.mx .page-registration.mw-500 { max-width: 820px !important; }
@media (min-width: 992px) {
    body.mx.tpl-client_addfunds .page-container > .card > .col-lg-5,
    body.mx.tpl-client_addfunds .app-content-header .col-lg-5 { flex: 0 0 72%; max-width: 72%; }
}
@media (min-width: 1600px) {
    body.mx.tpl-client_addfunds .page-container > .card > .col-lg-5,
    body.mx.tpl-client_addfunds .app-content-header .col-lg-5 { flex: 0 0 60%; max-width: 60%; }
}

/* ---- Botón "Canales" (WhatsApp / Telegram noticias) ---- */
body.mx .mx-btn-purple { background: var(--mx-purple); color: #fff !important; box-shadow: 0 6px 18px -8px rgba(139,92,246,.75); }
body.mx .mx-header .mx-nav-btn .mx-btn-purple { background: var(--mx-purple) !important; color: #fff !important; }
body.mx .mx-canales .fa-chevron-down { font-size: 10px; margin-left: 2px; }
body.mx .mx-canales .dropdown-menu { min-width: 220px; }
body.mx .mx-canales .dropdown-item { display: flex; align-items: center; gap: 10px; font-weight: 600; }
body.mx .mx-canales .dropdown-item i { width: 26px; height: 26px; border-radius: 7px; display: inline-grid; place-items: center; font-size: 14px; }
.mx-ic-wa { background: rgba(34,197,94,.15); color: #4ade80; }
.mx-ic-tg { background: rgba(59,130,246,.18); color: #60a5fa; }
.mx-canales-mobile { padding: 14px 16px; border-bottom: 1px solid var(--mx-line); background: rgba(139,92,246,.08); }
.mx-canales-title { font-family: var(--mx-mono); font-size: 11px; font-weight: 700; letter-spacing: .12em; color: #c4b5fd; margin-bottom: 8px; text-transform: uppercase; }
.mx-canales-mobile .d-flex { gap: 8px; }
.mx-canales-mobile .mx-btn { flex: 1; justify-content: center; }

/* =====================================================================
   Submenús del header anchos (Reseller Pricing, ◉◉◉, Mi cuenta…)
   ===================================================================== */
body.mx .mx-header .mx-nav-right .dropdown { position: relative; }
body.mx .mx-header .mx-nav-right .dropdown-menu {
    min-width: 300px; width: max-content; max-width: min(520px, 92vw);
    left: auto !important; right: 0 !important;
    padding: 8px; border-radius: 14px !important;
    max-height: calc(100vh - 140px); overflow-y: auto;
}
body.mx .mx-header .mx-nav-right .dropdown-menu .dropdown-item {
    display: flex !important; align-items: center; gap: 10px; width: 100%;
    padding: 10px 12px; font-size: 13.5px; font-weight: 600; line-height: 1.35;
    white-space: normal; border: 1px solid transparent;
}
body.mx .mx-header .mx-nav-right .dropdown-menu .dropdown-item + .dropdown-item { margin-top: 2px; }
body.mx .mx-header .mx-nav-right .dropdown-menu .dropdown-item:hover {
    border-color: rgba(34,197,94,.3); background: rgba(34,197,94,.08) !important;
}
/* Iconito de color para los items que no traen ícono propio */
body.mx .mx-header .mx-nav-right .dropdown-menu .dropdown-item:not(:has(i))::before {
    content: '\203A'; flex: 0 0 26px; width: 26px; height: 26px; border-radius: 7px;
    display: inline-grid; place-items: center; font-size: 17px; font-weight: 800; line-height: 1;
    background: rgba(34,197,94,.14); color: #4ade80;
}
body.mx .mx-header .mx-nav-right .dropdown-menu .dropdown-item:nth-child(4n+2):not(:has(i))::before { background: rgba(59,130,246,.16); color: #60a5fa; }
body.mx .mx-header .mx-nav-right .dropdown-menu .dropdown-item:nth-child(4n+3):not(:has(i))::before { background: rgba(245,158,11,.16); color: #fbbf24; }
body.mx .mx-header .mx-nav-right .dropdown-menu .dropdown-item:nth-child(4n+4):not(:has(i))::before { background: rgba(139,92,246,.18); color: #a78bfa; }
/* Idioma / moneda: lista simple, sin iconito extra */
body.mx .mx-header .mx-curlang .dropdown-menu { min-width: 180px; }
body.mx .mx-header .mx-curlang .dropdown-menu .dropdown-item::before { display: none !important; }

/* Menú del celular: submenús a todo el ancho con el mismo estilo */
body.mx .modal-menu .dropdown-menu { width: 100%; background: rgba(255,255,255,.02) !important; border: 0 !important; box-shadow: none; }
body.mx .modal-menu .dropdown-menu .dropdown-item { display: flex; align-items: center; gap: 10px; padding: 11px 14px; white-space: normal; font-weight: 600; }
body.mx .modal-menu .dropdown-menu .dropdown-item:not(:has(i))::before {
    content: '\203A'; flex: 0 0 24px; width: 24px; height: 24px; border-radius: 7px;
    display: inline-grid; place-items: center; font-size: 16px; font-weight: 800;
    background: rgba(34,197,94,.14); color: #4ade80;
}

/* ---- Logo nuevo (PNG transparente blanco) ---- */
body.mx .mx-logo img { height: 50px; width: auto !important; max-width: 100%; border-radius: 0 !important; display: block; }
body.mx .mx-header .navbar-brand.mx-logo { padding: 6px 0; }
body.mx .mx-header .navbar-brand.mx-logo img { height: 50px; }
body.mx .modal-menu .mx-logo img { height: 34px; display: inline-block; vertical-align: middle; }
body.mx .mx-logo-footer img { height: 56px; }
@media (max-width: 1199.98px) { body.mx .mx-header .navbar-brand.mx-logo img { height: 42px; } }
@media (max-width: 575.98px) { body.mx .mx-header .navbar-brand.mx-logo img { height: 36px; } }

/* =====================================================================
   Filas de tablas: azul marino cercano al fondo, alternado sutil
   (gana al #212a40 !important de themes/dark.css)
   ===================================================================== */
body.mx .table { background: transparent !important; }
body.mx .table tbody tr:not([class*="updateorder"]),
body.mx .table tbody tr:not([class*="updateorder"]) td { background-color: #0b1222 !important; }
body.mx .table-striped tbody tr:nth-of-type(odd):not([class*="updateorder"]),
body.mx .table-striped tbody tr:nth-of-type(odd):not([class*="updateorder"]) td { background-color: #0e172b !important; }
body.mx .table tbody tr[class*="updateorder"] td { background-color: #0b1222; }
body.mx .table thead th { background-color: #111b31 !important; }
body.mx .table th, body.mx .table td { border-top-color: rgba(148,163,184,.08) !important; border-bottom-color: rgba(148,163,184,.08) !important; }
body.mx .table-hover tbody tr:hover,
body.mx .table-hover tbody tr:hover td,
body.mx .reseller-pricing .service:hover td { background-color: #10203a !important; color: #fff; }
body.mx .table-hover tbody tr:hover td:first-child { box-shadow: inset 3px 0 0 var(--mx-green); }
body.mx .reseller-pricing .group.card { background: #0b1222 !important; }

/* ---- Menú celular: botón de contacto WhatsApp (soporte) ---- */
.mx-contacto-mobile { padding: 14px 16px 0; }
.mx-contacto-mobile .mx-btn { width: 100%; justify-content: center; padding: 11px 14px; font-size: 14px; }

/* ---- Logo más grande y centrado verticalmente (v2) ---- */
body.mx .mx-header .header-bottom,
body.mx .mx-header .mx-navbar { height: auto !important; min-height: 0; }
body.mx .mx-header .mx-navbar > .mx-wrap > nav { min-height: 76px; align-items: center !important; }
body.mx .mx-header .navbar-brand.mx-logo {
    display: flex; align-items: center; margin: 0 auto 0 0 !important; padding: 8px 0 !important; line-height: 0;
}
body.mx .mx-header .navbar-brand.mx-logo img { height: 62px; max-height: none !important; }
body.mx .mx-header .navbar-toggler { align-items: center; align-self: center; padding: 8px !important; margin: 0 10px 0 0; line-height: 1; color: #fff !important; }
@media (max-width: 991.98px) { body.mx .mx-header .navbar-toggler { display: flex; } }
@media (min-width: 992px) { body.mx .mx-header .navbar-toggler { display: none !important; } }
@media (max-width: 1199.98px) {
    body.mx .mx-header .navbar-brand.mx-logo img { height: 54px; }
}
@media (max-width: 991.98px) {
    body.mx .mx-header .mx-navbar > .mx-wrap > nav { min-height: 66px; }
    body.mx .mx-header .navbar-brand.mx-logo { padding: 6px 0 !important; }
    body.mx .mx-header .navbar-brand.mx-logo img { height: 48px; }
}
@media (max-width: 575.98px) {
    body.mx .mx-header .navbar-brand.mx-logo img { height: 46px; max-width: calc(100vw - 110px); object-fit: contain; }
}
/* Logo dentro del menú del celular */
body.mx .modal-menu .mx-logo img { height: 42px; }

/* ---- Pasos de registro en 2 columnas ---- */
.mx-steps-2col { columns: 2; column-gap: 28px; }
.mx-steps-2col li { break-inside: avoid; }
@media (max-width: 400px) { .mx-steps-2col { columns: 1; } }

/* ---- Coverflow plano: el banner central destaca, los laterales oscuros detrás ---- */
.mx-cf-track { transform-style: flat !important; display: block !important; }
.mx-cf-item {
    left: 50%; top: 50%; width: 72%;
    transform: translate(-50%, -50%);
    transition: transform .6s cubic-bezier(.2,.8,.2,1), filter .6s, opacity .4s, border-color .3s, box-shadow .3s;
    backface-visibility: hidden;
}
.mx-cf-item:not(.is-active) { border-color: rgba(148,163,184,.12); box-shadow: 0 20px 40px -20px rgba(0,0,0,.9); cursor: pointer; }
.mx-cf-item.is-active {
    border-color: var(--mx-yellow);
    box-shadow: 0 0 0 1px rgba(245,158,11,.45), 0 0 50px -8px rgba(245,158,11,.45), 0 40px 80px -24px rgba(0,0,0,.95);
}
@media (max-width: 575.98px) { .mx-cf-item { width: 84%; } }

/* ---- Bloque Contacto + Canales dentro de la lista del menú celular ---- */
body.mx .modal-menu li.mx-menu-extra { list-style: none; padding: 0; margin: 6px 0; border-top: 1px solid var(--mx-line); border-bottom: 1px solid var(--mx-line); background: rgba(139,92,246,.06); }
body.mx .modal-menu li.mx-menu-extra .mx-canales-mobile { border-bottom: 0; background: transparent; }
