/* ============================================================
   dashboard.css v8 — Panel de cliente estilo inethost
   ============================================================ */

/* ── TOP BAR ── */
.topbar {
  background:#0a0d16;
  border-bottom:1px solid rgba(255,255,255,0.06);
  position:sticky; top:0; z-index:110;
}
.topbar-inner {
  max-width:1280px; margin:0 auto; padding:0 24px;
  height:38px; display:flex; align-items:center; justify-content:flex-end; gap:12px;
}
.topbar-left { margin-right:auto; }
.topbar-user { font-size:11px; color:#8a93c4; font-weight:600; }
.topbar-right { display:flex; align-items:center; gap:6px; }
.tb-link { font-size:12px; color:#8a93c4; text-decoration:none; padding:4px 8px; }
.tb-link:hover { color:var(--cyan); }
.tb-link-btn { font-size:12px; background:linear-gradient(135deg,var(--cyan),#1a8fd1); color:#04060f; padding:4px 12px; border-radius:6px; font-weight:700; text-decoration:none; }

/* Campana */
.tb-bell-wrap, .tb-user-wrap { position:relative; }
.tb-bell {
  background:none; border:none; cursor:pointer; font-size:15px; color:#8a93c4;
  padding:4px 8px; border-radius:6px; position:relative; transition:.2s;
}
.tb-bell:hover { background:rgba(255,255,255,0.06); color:var(--txt); }
.tb-badge {
  position:absolute; top:-2px; right:0; background:#ff5d6c; color:#fff;
  font-size:9px; font-weight:800; min-width:14px; height:14px; border-radius:999px;
  display:flex; align-items:center; justify-content:center; padding:0 3px;
}
.bell-panel {
  position:absolute; top:calc(100%+6px); right:0; width:260px;
  background:linear-gradient(180deg,#0d1226,#0a0e1f);
  border:1px solid rgba(51,194,255,0.2); border-radius:12px;
  overflow:hidden; box-shadow:0 16px 40px rgba(0,0,0,0.6); z-index:200;
}
.bell-title { padding:10px 14px; font-size:11px; font-weight:700; color:var(--gold); border-bottom:1px solid rgba(255,255,255,0.06); font-family:'Orbitron'; }
.bell-item { display:block; padding:9px 14px; font-size:12.5px; color:var(--muted); text-decoration:none; transition:.15s; }
.bell-item:hover { background:rgba(255,255,255,0.04); color:var(--txt); }
.bell-item.bell-hot { color:var(--red); }
.bell-empty { padding:12px 14px; font-size:12px; color:var(--muted); text-align:center; }

/* Menú usuario */
.tb-user-btn {
  display:flex; align-items:center; gap:7px; background:none; border:none; cursor:pointer;
  padding:4px 8px; border-radius:6px; color:var(--txt); transition:.2s;
}
.tb-user-btn:hover { background:rgba(255,255,255,0.06); }
.tb-avatar {
  width:24px; height:24px; border-radius:50%;
  background:linear-gradient(135deg,var(--cyan),#1a8fd1);
  display:flex; align-items:center; justify-content:center;
  font-size:11px; font-weight:800; color:#04060f;
}
.tb-name { font-size:11.5px; font-weight:700; max-width:120px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.user-menu {
  position:absolute; top:calc(100%+6px); right:0; width:230px;
  background:linear-gradient(180deg,#0d1226,#0a0e1f);
  border:1px solid rgba(120,150,255,0.2); border-radius:12px;
  overflow:hidden; box-shadow:0 16px 40px rgba(0,0,0,0.6); z-index:200;
}
.um-header { padding:12px 14px; border-bottom:1px solid rgba(255,255,255,0.06); display:flex; gap:10px; align-items:center; }
.um-avatar { width:34px; height:34px; border-radius:50%; background:linear-gradient(135deg,var(--cyan),#1a8fd1); display:flex; align-items:center; justify-content:center; font-size:14px; font-weight:800; color:#04060f; flex-shrink:0; }
.um-name { font-size:13px; font-weight:700; }
.um-email { font-size:11px; color:var(--muted); }
.user-menu a { display:flex; align-items:center; gap:8px; padding:9px 14px; font-size:12.5px; color:var(--muted); text-decoration:none; transition:.15s; }
.user-menu a:hover { background:rgba(255,255,255,0.04); color:var(--txt); }
.um-sep { height:1px; background:rgba(255,255,255,0.06); margin:4px 0; }

/* ── NAVBAR PRINCIPAL ── */
.navbar2 { background:#04060f; border-bottom:1px solid rgba(120,150,255,0.1); position:sticky; top:38px; z-index:100; }
.nav2-inner { max-width:1280px; margin:0 auto; padding:0 24px; height:52px; display:flex; align-items:center; gap:4px; }
.nav2-logo { font-family:'Orbitron'; font-weight:900; font-size:16px; background:linear-gradient(135deg,var(--gold),var(--gold-2,#ff7a3d)); -webkit-background-clip:text; background-clip:text; color:transparent; text-decoration:none; margin-right:12px; white-space:nowrap; }
.nav2-links { display:flex; align-items:center; gap:2px; margin-left:auto; }
.nav2-links a { color:var(--muted); text-decoration:none; font-size:13px; font-weight:600; padding:6px 12px; border-radius:7px; transition:.15s; white-space:nowrap; }
.nav2-links a:hover, .nav2-links a.n2-act { color:var(--txt); background:rgba(255,255,255,0.06); }
.n2-ticket-btn { background:linear-gradient(135deg,rgba(51,194,255,0.2),rgba(51,194,255,0.1))!important; border:1px solid rgba(51,194,255,0.3)!important; color:var(--cyan)!important; }
.nav2-burger { display:none; background:none; border:none; color:var(--txt); font-size:20px; cursor:pointer; margin-left:auto; }

/* Dropdowns nav */
.n2-drop { position:relative; }
.n2-dropbtn { background:none; border:none; cursor:pointer; color:var(--muted); font-size:13px; font-weight:600; padding:6px 12px; border-radius:7px; transition:.15s; }
.n2-dropbtn:hover, .n2-dropbtn.n2-act { color:var(--txt); background:rgba(255,255,255,0.06); }
.n2-dropmenu { display:none; position:absolute; top:calc(100%+4px); left:0; min-width:190px; background:linear-gradient(180deg,#0d1226,#0a0e1f); border:1px solid rgba(120,150,255,0.15); border-radius:10px; overflow:hidden; box-shadow:0 12px 30px rgba(0,0,0,0.5); z-index:150; }
.n2-drop:hover .n2-dropmenu { display:block; }
.n2-dropmenu a { display:block; padding:9px 14px; font-size:13px; color:var(--muted); text-decoration:none; transition:.15s; }
.n2-dropmenu a:hover { background:rgba(255,255,255,0.05); color:var(--txt); }
.n2-sep { height:1px; background:rgba(255,255,255,0.06); margin:4px 0; }

/* Breadcrumb */
.breadcrumb { background:rgba(0,0,0,0.2); border-bottom:1px solid rgba(255,255,255,0.04); padding:8px 0; }
.breadcrumb-inner { max-width:1280px; margin:0 auto; padding:0 24px; font-size:12px; color:var(--muted); }
.breadcrumb-inner a { color:var(--cyan); text-decoration:none; }
.breadcrumb-inner a:hover { text-decoration:underline; }

/* ── FOOTER 2 ── */
.footer2 { border-top:1px solid rgba(255,255,255,0.05); padding:14px 24px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; font-size:12px; color:var(--muted); max-width:1280px; margin:0 auto; }
.footer2 a { color:var(--muted); text-decoration:none; }
.footer2 a:hover { color:var(--cyan); }

/* ── WA FAB ── */
.wa-fab { position:fixed; bottom:24px; right:24px; z-index:990; width:52px; height:52px; border-radius:50%; background:linear-gradient(135deg,#2bd66a,#1ba850); display:flex; align-items:center; justify-content:center; font-size:24px; box-shadow:0 6px 20px rgba(43,214,106,0.4); text-decoration:none; transition:.2s; }
.wa-fab:hover { transform:scale(1.1); }

/* ══════════════════════════════════════
   DASHBOARD DEL CLIENTE (estilo inethost)
══════════════════════════════════════ */
.dash-wrap { display:grid; grid-template-columns:260px 1fr; gap:20px; align-items:start; }
.dash-profile-card {
  background:linear-gradient(135deg,rgba(51,194,255,0.15),rgba(58,123,255,0.08));
  border:1px solid rgba(51,194,255,0.2); border-radius:16px; overflow:hidden; padding:0;
}
.dpc-top { background:linear-gradient(135deg,#1577d6,#0e4fa3); padding:24px; text-align:center; }
.dpc-avatar { width:64px; height:64px; border-radius:50%; background:rgba(255,255,255,0.2); margin:0 auto 12px; display:flex; align-items:center; justify-content:center; font-size:28px; font-weight:800; color:#fff; border:3px solid rgba(255,255,255,0.4); }
.dpc-name { font-weight:800; font-size:15px; color:#fff; margin-bottom:2px; }
.dpc-email { font-size:11.5px; color:rgba(255,255,255,0.7); }
.dpc-body { padding:16px; }
.dpc-info-row { display:flex; justify-content:space-between; padding:7px 0; border-bottom:1px solid rgba(255,255,255,0.06); font-size:12.5px; }
.dpc-info-row:last-child { border-bottom:none; }
.dpc-lbl { color:var(--muted); }
.dpc-btns { display:flex; gap:8px; padding:14px; border-top:1px solid rgba(255,255,255,0.06); }
.dpc-btns a { flex:1; text-align:center; padding:7px; border-radius:8px; font-size:12px; font-weight:700; text-decoration:none; }
.dpc-btn-main { background:linear-gradient(135deg,var(--cyan),#1a8fd1); color:#04060f; }
.dpc-btn-out  { background:rgba(255,93,108,0.1); color:var(--red); border:1px solid rgba(255,93,108,0.3); }

/* KPI cards */
.dash-kpis { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-bottom:18px; }
.kpi2 { background:var(--panel); border:1px solid var(--line); border-radius:12px; padding:16px; text-align:center; cursor:pointer; transition:.2s; text-decoration:none; display:block; }
.kpi2:hover { border-color:rgba(51,194,255,0.3); background:rgba(51,194,255,0.04); }
.kpi2-val { font-family:'Orbitron'; font-size:28px; font-weight:900; margin-bottom:4px; }
.kpi2-lbl { font-size:11px; color:var(--muted); font-weight:600; }
.kpi2-icon { font-size:20px; margin-bottom:6px; }

/* Alert banner */
.dash-alert { display:flex; align-items:center; justify-content:space-between; padding:12px 16px; background:rgba(255,150,40,0.1); border:1px solid rgba(255,150,40,0.35); border-radius:10px; margin-bottom:16px; font-size:13px; }
.dash-alert a { color:var(--gold); font-weight:700; text-decoration:none; margin-left:8px; }
.dash-alert-close { background:none; border:none; cursor:pointer; color:var(--muted); font-size:16px; }

/* Tabla de servicios */
.svc-table { width:100%; border-collapse:collapse; }
.svc-table thead tr { border-bottom:2px solid var(--line); }
.svc-table th { text-align:left; padding:10px 14px; font-size:11.5px; font-weight:700; color:var(--muted); letter-spacing:.04em; text-transform:uppercase; }
.svc-table tbody tr { border-bottom:1px solid rgba(255,255,255,0.04); transition:.15s; }
.svc-table tbody tr:hover { background:rgba(255,255,255,0.025); }
.svc-table td { padding:12px 14px; font-size:13px; vertical-align:middle; }
.svc-name { font-weight:700; color:var(--txt); display:block; margin-bottom:3px; }
.svc-ip { font-size:11.5px; color:var(--muted); display:flex; align-items:center; gap:5px; }
.svc-ip::before { content:'🔒'; font-size:10px; }
.svc-status { display:inline-flex; align-items:center; gap:5px; font-size:12px; font-weight:700; padding:4px 10px; border-radius:999px; }
.ss-activo { background:rgba(34,201,138,0.12); color:var(--green); border:1px solid rgba(34,201,138,0.3); }
.ss-venciendo { background:rgba(255,93,108,0.1); color:var(--red); border:1px solid rgba(255,93,108,0.25); }
.ss-pendiente { background:rgba(255,182,72,0.1); color:var(--gold); border:1px solid rgba(255,182,72,0.25); }
.ss-dot { width:7px; height:7px; border-radius:50%; }
.ss-dot-g { background:var(--green); box-shadow:0 0 6px var(--green); }
.ss-dot-r { background:var(--red); }
.ss-dot-y { background:var(--gold); }
.btn-admin { padding:6px 14px; background:rgba(51,194,255,0.1); border:1px solid rgba(51,194,255,0.25); border-radius:7px; color:var(--cyan); font-size:12px; font-weight:700; text-decoration:none; transition:.15s; white-space:nowrap; }
.btn-admin:hover { background:rgba(51,194,255,0.2); }

/* ══════════════════════════════════════
   PÁGINA DETALLE DE SERVICIO
══════════════════════════════════════ */
.svc-detail-wrap { display:grid; grid-template-columns:210px 1fr; gap:20px; align-items:start; }
.svc-sidebar { background:var(--panel); border:1px solid var(--line); border-radius:14px; overflow:hidden; }
.svc-sidebar h4 { font-size:11px; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:.06em; padding:10px 14px 6px; }
.svc-sidebar a { display:flex; align-items:center; gap:8px; padding:9px 14px; font-size:13px; color:var(--muted); text-decoration:none; transition:.15s; border-radius:0; }
.svc-sidebar a:hover { background:rgba(255,255,255,0.05); color:var(--txt); }
.svc-sidebar a.svc-danger { color:var(--red); }
.svc-sidebar a.svc-danger:hover { background:rgba(255,93,108,0.08); }
.svc-sidebar-sep { height:1px; background:rgba(255,255,255,0.06); margin:4px 0; }
.svc-main { display:flex; flex-direction:column; gap:16px; }
.svc-banner {
  background:linear-gradient(135deg,#1577d6,#0e4fa3);
  border-radius:14px; padding:28px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; min-height:160px;
  box-shadow:0 12px 30px rgba(21,119,214,0.3);
}
.svc-banner-icon { font-size:48px; margin-bottom:12px; filter:drop-shadow(0 4px 8px rgba(0,0,0,0.4)); }
.svc-banner-name { font-weight:800; font-size:16px; color:#fff; margin-bottom:6px; }
.svc-banner-ip { font-size:13px; color:rgba(255,255,255,0.7); font-family:monospace; }
.svc-info-card { background:var(--panel); border:1px solid var(--line); border-radius:14px; padding:20px; }
.svc-info-row { display:flex; justify-content:space-between; align-items:center; padding:9px 0; border-bottom:1px solid rgba(255,255,255,0.05); font-size:13px; }
.svc-info-row:last-child { border-bottom:none; }
.svc-info-lbl { color:var(--muted); }
.svc-info-val { font-weight:600; text-align:right; }
.svc-tabs { display:flex; gap:0; border-bottom:1px solid var(--line); margin-bottom:16px; }
.svc-tab { padding:9px 16px; font-size:13px; font-weight:600; color:var(--muted); cursor:pointer; border-bottom:2px solid transparent; margin-bottom:-1px; transition:.2s; background:none; border-top:none; border-left:none; border-right:none; }
.svc-tab.active { color:var(--cyan); border-bottom-color:var(--cyan); }
.svc-tab-body { display:none; }
.svc-tab-body.active { display:block; }

/* ── TICKETS ── */
.ticket-form .form-group label { font-size:13px; font-weight:600; color:var(--muted); margin-bottom:5px; display:block; }
.ticket-card { background:var(--panel); border:1px solid var(--line); border-radius:12px; padding:16px; margin-bottom:10px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; }
.ticket-card:hover { border-color:rgba(51,194,255,0.25); }
.tc-title { font-weight:700; font-size:14px; margin-bottom:4px; }
.tc-meta { font-size:11.5px; color:var(--muted); }
.tc-status { font-size:11px; font-weight:700; padding:4px 10px; border-radius:999px; }
.tc-open   { background:rgba(51,194,255,0.12); color:var(--cyan); border:1px solid rgba(51,194,255,0.3); }
.tc-closed { background:rgba(34,201,138,0.1); color:var(--green); border:1px solid rgba(34,201,138,0.25); }

/* ── FACTURAS ── */
.inv-row td { font-size:13px; }
.inv-paid   { color:var(--green); font-weight:700; }
.inv-unpaid { color:var(--red); font-weight:700; }

/* Responsive */
@media(max-width:960px) {
  .dash-wrap, .svc-detail-wrap { grid-template-columns:1fr; }
  .dash-kpis { grid-template-columns:repeat(2,1fr); }
  .nav2-links { display:none; position:absolute; top:calc(38px + 52px); left:0; right:0; flex-direction:column; background:#04060f; padding:12px; border-bottom:1px solid var(--line); z-index:99; }
  .nav2-links.open { display:flex; }
  .nav2-burger { display:block; }
  .n2-dropmenu { position:static; box-shadow:none; border:none; padding-left:12px; }
  .n2-drop:hover .n2-dropmenu { display:none; }
  .n2-drop.open .n2-dropmenu { display:block; }
}

/* ══════════════════════════════════════
   SIDEBAR IZQUIERDO (tipo is*hosting)
══════════════════════════════════════ */
body.has-sidebar { background:#04060f; }
.auth-layout { display:flex; min-height:calc(100vh - 38px); }

/* Top bar autenticado */
.auth-topbar { background:#0a0d16; border-bottom:1px solid rgba(255,255,255,0.07); height:48px; display:flex; align-items:center; justify-content:space-between; padding:0 20px; position:sticky; top:0; z-index:110; }
.auth-topbar-left { display:flex; align-items:center; gap:12px; }
.sidebar-toggle { background:none; border:none; font-size:18px; color:var(--muted); cursor:pointer; padding:6px; border-radius:6px; }
.sidebar-toggle:hover { background:rgba(255,255,255,0.06); color:var(--txt); }
.auth-breadcrumb { font-size:12px; color:var(--muted); }
.auth-breadcrumb a { color:var(--cyan); text-decoration:none; }
.auth-topbar-right { display:flex; align-items:center; gap:6px; }

/* Campana + menú usuario topbar */
.atb-wrap { position:relative; }
.atb-bell { background:none; border:none; cursor:pointer; font-size:16px; color:var(--muted); padding:6px 9px; border-radius:6px; position:relative; }
.atb-bell:hover { background:rgba(255,255,255,0.06); }
.atb-badge { position:absolute; top:-1px; right:1px; background:#ff5d6c; color:#fff; font-size:9px; font-weight:800; min-width:14px; height:14px; border-radius:999px; display:flex; align-items:center; justify-content:center; padding:0 2px; }
.atb-panel,.atb-usermenu { position:absolute; top:calc(100%+6px); right:0; min-width:220px; background:linear-gradient(180deg,#0d1226,#0a0e1f); border:1px solid rgba(51,194,255,0.2); border-radius:12px; overflow:hidden; box-shadow:0 14px 36px rgba(0,0,0,0.6); z-index:200; }
.atb-title { padding:9px 14px; font-size:11px; font-weight:700; color:var(--gold); border-bottom:1px solid rgba(255,255,255,0.06); font-family:'Orbitron'; }
.atb-item { display:block; padding:9px 14px; font-size:12.5px; color:var(--muted); text-decoration:none; transition:.15s; }
.atb-item:hover { background:rgba(255,255,255,0.04); color:var(--txt); }
.atb-item.hot { color:var(--red); }
.atb-user-btn { display:flex; align-items:center; gap:7px; background:none; border:none; cursor:pointer; padding:5px 8px; border-radius:8px; color:var(--txt); font-size:12px; font-weight:600; }
.atb-user-btn:hover { background:rgba(255,255,255,0.06); }
.atb-avatar,.um2-av { width:26px; height:26px; border-radius:50%; background:linear-gradient(135deg,var(--cyan),#1a8fd1); display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:800; color:#04060f; flex-shrink:0; }
.um2-av { width:34px; height:34px; font-size:14px; }
.atb-name { max-width:100px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; }
.um2-hd { padding:12px 14px; border-bottom:1px solid rgba(255,255,255,0.06); display:flex; gap:10px; align-items:center; }
.atb-usermenu a { display:flex; align-items:center; gap:8px; padding:9px 14px; font-size:12.5px; color:var(--muted); text-decoration:none; transition:.15s; }
.atb-usermenu a:hover { background:rgba(255,255,255,0.04); color:var(--txt); }

/* SIDEBAR */
.sidebar { width:220px; min-height:calc(100vh - 48px); background:#060911; border-right:1px solid rgba(255,255,255,0.07); display:flex; flex-direction:column; flex-shrink:0; position:sticky; top:48px; max-height:calc(100vh - 48px); overflow-y:auto; }
.sidebar-logo { padding:18px 16px 14px; border-bottom:1px solid rgba(255,255,255,0.06); }
.sidebar-nav { flex:1; padding:8px 0; overflow-y:auto; }
.sidebar-footer { padding:12px 14px; border-top:1px solid rgba(255,255,255,0.06); display:flex; flex-direction:column; gap:4px; }
.sidebar-footer a { font-size:11.5px; color:var(--muted); text-decoration:none; padding:4px 0; }
.sidebar-footer a:hover { color:var(--txt); }

/* Secciones del nav */
.snav-section { margin-bottom:2px; }
.snav-toggle { width:100%; display:flex; justify-content:space-between; align-items:center; padding:9px 14px; background:none; border:none; cursor:pointer; color:var(--muted); font-size:12.5px; font-weight:700; text-align:left; transition:.15s; }
.snav-toggle:hover { color:var(--txt); background:rgba(255,255,255,0.04); }
.snav-toggle.open { color:var(--txt); }
.snav-arrow { transition:transform .2s; display:inline-block; font-size:11px; }
.snav-toggle.open .snav-arrow { transform:rotate(0deg); }
.snav-items { display:none; padding-left:0; }
.snav-items.open { display:block; }
.snav-items a { display:flex; align-items:center; gap:8px; padding:8px 14px 8px 24px; font-size:12.5px; color:var(--muted); text-decoration:none; transition:.15s; position:relative; }
.snav-items a:hover { color:var(--txt); background:rgba(255,255,255,0.04); }
.snav-items a.act { color:var(--cyan); background:rgba(51,194,255,0.08); border-left:3px solid var(--cyan); padding-left:21px; }
.snav-icon { font-size:13px; flex-shrink:0; }
.snav-badge { background:#ff5d6c; color:#fff; font-size:9px; font-weight:800; padding:1px 5px; border-radius:999px; margin-left:auto; }

/* CONTENIDO PRINCIPAL */
.auth-main { flex:1; min-width:0; padding:22px 24px; }

/* Overlay mobile */
.sidebar-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.5); z-index:105; }
.sidebar-overlay.show { display:block; }

/* ── MIS SERVICIOS - Cards tipo is*hosting ── */
.vps-card { background:var(--panel); border:1px solid var(--line); border-radius:12px; padding:16px 20px; margin-bottom:10px; display:flex; gap:16px; align-items:flex-start; transition:.2s; }
.vps-card:hover { border-color:rgba(51,194,255,0.25); }
.vps-card-body { flex:1; min-width:0; }
.vps-card-title { font-weight:800; font-size:15px; margin-bottom:8px; }
.vps-meta-row { display:flex; flex-wrap:wrap; gap:18px; font-size:12.5px; color:var(--muted); }
.vps-meta-row b { color:var(--txt); }
.vps-card-right { display:flex; flex-direction:column; align-items:flex-end; gap:10px; flex-shrink:0; }
.vps-state-running { color:var(--green); font-size:12.5px; font-weight:700; }
.vps-state-stopped { color:var(--red); font-size:12.5px; font-weight:700; }
.vps-state-pending { color:var(--gold); font-size:12.5px; font-weight:700; }
.renew-on  { color:var(--green); font-weight:700; }
.renew-off { color:var(--red); }

/* ── FACTURAS tipo is*hosting ── */
.inv-card { border-radius:12px; margin-bottom:10px; border-left:4px solid transparent; overflow:hidden; }
.inv-card.pending { border-left-color:var(--gold); background:rgba(255,182,72,0.04); border:1px solid rgba(255,182,72,0.2); border-left-width:4px; }
.inv-card.paid    { border-left-color:var(--green); background:rgba(34,201,138,0.03); border:1px solid rgba(34,201,138,0.15); border-left-width:4px; }
.inv-card-hd { display:flex; flex-wrap:wrap; gap:16px; padding:14px 18px 10px; }
.inv-field { display:flex; flex-direction:column; gap:2px; }
.inv-lbl { font-size:10.5px; color:var(--muted); text-transform:uppercase; letter-spacing:.04em; }
.inv-val { font-size:13px; font-weight:600; }
.inv-service { padding:0 18px 10px; font-size:12px; color:var(--muted); }
.inv-footer { padding:10px 18px; border-top:1px solid rgba(255,255,255,0.05); display:flex; justify-content:flex-end; gap:8px; align-items:center; }
.btn-pagar { background:linear-gradient(135deg,var(--gold),#e8960a); color:#04060f; border:none; padding:7px 18px; border-radius:8px; font-weight:800; font-size:12.5px; cursor:pointer; }
.btn-pdf   { background:rgba(255,255,255,0.06); border:1px solid var(--line); color:var(--muted); padding:7px 14px; border-radius:8px; font-size:12.5px; cursor:pointer; }
.btn-pdf:hover { color:var(--txt); }

/* SSH Modal */
.ssh-modal-row { display:flex; justify-content:space-between; align-items:center; padding:11px 14px; border-bottom:1px solid rgba(255,255,255,0.06); }
.ssh-modal-lbl { font-size:12px; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:.04em; width:180px; }
.ssh-modal-val { font-size:13.5px; font-weight:600; flex:1; font-family:monospace; }
.ssh-modal-actions { display:flex; gap:6px; }
.ssh-copy-btn,.ssh-eye-btn { background:rgba(255,255,255,0.06); border:1px solid var(--line); border-radius:6px; padding:4px 8px; font-size:13px; cursor:pointer; color:var(--muted); }
.ssh-copy-btn:hover,.ssh-eye-btn:hover { background:rgba(255,255,255,0.1); color:var(--txt); }

/* Responsive sidebar */
@media(max-width:960px) {
  .sidebar { position:fixed; left:-220px; top:48px; height:calc(100vh - 48px); z-index:106; transition:left .25s; }
  .sidebar.open { left:0; }
  .auth-main { padding:16px; }
}
