/* ===== SpeedDatesRD — Tema neón sobre fondo oscuro ===== */
:root {
    --bg:        #0A0E27;
    --bg-2:      #141A3C;
    --bg-3:      #1b2350;
    --line:      #2a3160;
    --pink:      #FF2D95;
    --cyan:      #00E5FF;
    --violet:    #B026FF;
    --pink-soft: #F8B6E0;
    --text:      #E6E9F5;
    --muted:     #9aa0c0;
    --green:     #39FF14;
    --danger:    #FF3860;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background:
        radial-gradient(1200px 600px at 80% -10%, rgba(176,38,255,.18), transparent 60%),
        radial-gradient(900px 500px at -10% 10%, rgba(0,229,255,.14), transparent 55%),
        var(--bg);
    color: var(--text);
    font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.font-display { font-family: 'Righteous', 'Poppins', sans-serif; letter-spacing: .5px; }

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

/* --- Contenedores --- */
.wrap { width: 100%; max-width: 480px; margin: 0 auto; padding: 20px 16px 64px; }
.wrap-wide { max-width: 1100px; }

/* --- Neón helpers --- */
.neon-pink   { color: var(--pink);   text-shadow: 0 0 6px rgba(255,45,149,.8),  0 0 18px rgba(255,45,149,.5); }
.neon-cyan   { color: var(--cyan);   text-shadow: 0 0 6px rgba(0,229,255,.8),   0 0 18px rgba(0,229,255,.5); }
.neon-violet { color: var(--violet); text-shadow: 0 0 6px rgba(176,38,255,.8),  0 0 18px rgba(176,38,255,.5); }
.glow-border { box-shadow: 0 0 0 1px var(--line), 0 0 20px rgba(0,229,255,.08); }

/* --- Card --- */
.card {
    background: linear-gradient(180deg, rgba(20,26,60,.9), rgba(13,16,48,.9));
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.card + .card { margin-top: 16px; }

/* --- Header/brand --- */
.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.brand h1 { font-size: 20px; margin: 0; }
.brand .logo {
    width: 44px; height: 44px; border-radius: 12px; object-fit: cover;
    border: 1px solid var(--line); box-shadow: 0 0 16px rgba(255,45,149,.35);
}

/* --- Forms --- */
label { display: block; font-size: 13px; color: var(--muted); margin: 14px 0 6px; font-weight: 600; }
input, select, textarea {
    width: 100%; padding: 13px 14px; border-radius: 12px;
    background: #0c1030; color: var(--text);
    border: 1px solid var(--line); font-size: 15px; font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0,229,255,.15);
}
textarea { min-height: 90px; resize: vertical; }

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 14px 18px; border: none; border-radius: 12px;
    font-weight: 700; font-size: 15px; cursor: pointer; font-family: inherit;
    background: linear-gradient(90deg, var(--pink), var(--violet));
    color: #fff; box-shadow: 0 6px 20px rgba(255,45,149,.35);
    transition: transform .08s ease, box-shadow .15s, filter .15s;
}
.btn:hover { filter: brightness(1.08); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-cyan   { background: linear-gradient(90deg, var(--cyan), #2b7cff); box-shadow: 0 6px 20px rgba(0,229,255,.3); }
.btn-ghost  { background: transparent; border: 1px solid var(--line); color: var(--text); box-shadow: none; }
.btn-danger { background: linear-gradient(90deg, var(--danger), #b3123b); box-shadow: none; }
.btn-sm { width: auto; padding: 9px 14px; font-size: 13px; border-radius: 10px; }
.btn-auto { width: auto; }

/* --- Alerts --- */
.alert { padding: 12px 14px; border-radius: 12px; font-size: 14px; margin-bottom: 14px; border: 1px solid; }
.alert-error   { background: rgba(255,56,98,.12);  border-color: rgba(255,56,98,.4);  color: #ffb3c4; }
.alert-success { background: rgba(57,255,20,.10);   border-color: rgba(57,255,20,.35); color: #b8ffab; }
.alert-info    { background: rgba(0,229,255,.10);   border-color: rgba(0,229,255,.35); color: #a9f0ff; }

/* --- Badges --- */
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; border: 1px solid var(--line); }
.badge-pink   { color: var(--pink);   border-color: rgba(255,45,149,.5);  background: rgba(255,45,149,.1); }
.badge-cyan   { color: var(--cyan);   border-color: rgba(0,229,255,.5);   background: rgba(0,229,255,.1); }
.badge-green  { color: var(--green);  border-color: rgba(57,255,20,.4);   background: rgba(57,255,20,.08); }
.badge-muted  { color: var(--muted);  }
.badge-violet { color: var(--violet); border-color: rgba(176,38,255,.5);  background: rgba(176,38,255,.1); }

/* --- Lists / rows --- */
.row-item {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 0; border-bottom: 1px solid var(--line);
}
.row-item:last-child { border-bottom: none; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny  { font-size: 12px; }

/* --- Number token (foto de perfil por número) --- */
.num-token {
    display: inline-flex; align-items: center; justify-content: center;
    width: 64px; height: 64px; border-radius: 16px; font-weight: 800; font-size: 26px;
    font-family: 'Righteous', sans-serif;
}
.num-token.big { width: 150px; height: 150px; font-size: 68px; border-radius: 28px; }
.num-m { color: var(--cyan);   border: 2px solid var(--cyan);   box-shadow: 0 0 22px rgba(0,229,255,.45);  background: rgba(0,229,255,.08); }
.num-f { color: var(--pink);   border: 2px solid var(--pink);   box-shadow: 0 0 22px rgba(255,45,149,.45); background: rgba(255,45,149,.08); }

/* --- Stat grid --- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stats .stat { background: #0c1030; border: 1px solid var(--line); border-radius: 14px; padding: 16px; text-align: center; }
.stat .n { font-size: 30px; font-weight: 800; font-family: 'Righteous', sans-serif; }
.stat .l { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* --- Panel top nav --- */
.topbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px; border-bottom: 1px solid var(--line);
    background: rgba(10,14,39,.85); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(8px);
}
.topbar .links a { color: var(--muted); margin-left: 16px; font-size: 14px; }
.topbar .links a:hover, .topbar .links a.active { color: var(--cyan); }

/* --- Tabs --- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs a { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.tabs a.active { color: #fff; border-color: var(--pink); background: rgba(255,45,149,.12); }

/* --- Grid of numbers (match panel) --- */
.num-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 10px; }
.num-cell {
    aspect-ratio: 1; border-radius: 12px; border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center; font-weight: 800;
    font-family: 'Righteous', sans-serif; font-size: 18px; cursor: pointer; user-select: none;
    background: #0c1030; transition: all .12s;
}
.num-cell.sel-m { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 14px rgba(0,229,255,.4); background: rgba(0,229,255,.12); }
.num-cell.sel-f { border-color: var(--pink); color: var(--pink); box-shadow: 0 0 14px rgba(255,45,149,.4); background: rgba(255,45,149,.12); }

/* --- Table --- */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th, table.data td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); }
table.data th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }

hr.sep { border: none; border-top: 1px solid var(--line); margin: 18px 0; }
.center { text-align: center; }
.mt { margin-top: 16px; }
.mb { margin-bottom: 16px; }
.flex { display: flex; gap: 10px; align-items: center; }
.between { justify-content: space-between; }
.wrap-flex { flex-wrap: wrap; }
.grow { flex: 1; }
