/* nc-luxury.css — NodoCargo Luxury Design System */
/* © 2026 NodoCargo. TODOS LOS DERECHOS RESERVADOS. */

/* ── TOKENS LUXURY ───────────────────────────────── */
:root {
  /* Radius */
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  /* Shadows multicapa */
  --shadow-sm:   0 1px 2px rgba(0,0,0,0.4);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.4), 0 1px 3px rgba(0,0,0,0.3);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.3);
  --shadow-xl:   0 16px 64px rgba(0,0,0,0.6), 0 4px 16px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 24px rgba(234,88,12,0.2), 0 8px 32px rgba(0,0,0,0.5);

  /* Glass */
  --glass-bg:     rgba(13,21,37,0.75);
  --glass-border: rgba(255,255,255,0.06);
  --glass-blur:   blur(16px) saturate(180%);
}

/* ── UPGRADE GLOBAL RADIUS ───────────────────────── */
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
select, textarea, button {
  border-radius: var(--radius-md) !important;
}
.modal, [class*="modal"], [class*="card"], [class*="panel"] {
  border-radius: var(--radius-lg) !important;
}

/* ── GLASS CARD ──────────────────────────────────── */
.nc-glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ── LUXURY CARD ─────────────────────────────────── */
.nc-card-lux {
  background: linear-gradient(135deg, rgba(13,21,37,0.9) 0%, rgba(17,24,39,0.8) 100%);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md),
              inset 0 1px 0 rgba(255,255,255,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nc-card-lux:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg),
              inset 0 1px 0 rgba(255,255,255,0.06),
              0 0 0 1px rgba(234,88,12,0.1);
}

/* ── SURFACE PREMIUM ─────────────────────────────── */
.nc-surface {
  background: rgba(13,21,37,0.6);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* ── BOTONES LUXURY ──────────────────────────────── */
.nc-btn-lux {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  background: #EA580C;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 13px; letter-spacing: 0.02em;
  border: none; border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset,
              0 4px 12px rgba(234,88,12,0.3);
  transition: all 0.15s ease;
  position: relative; overflow: hidden;
}
.nc-btn-lux::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
  border-radius: inherit;
  pointer-events: none;
}
.nc-btn-lux:hover {
  background: #f06020;
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset,
              0 6px 20px rgba(234,88,12,0.4);
  transform: translateY(-1px);
}
.nc-btn-lux:active { transform: translateY(0); }

/* Btn ghost */
.nc-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px;
  background: rgba(255,255,255,0.04);
  color: #E2E8F0;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500; font-size: 13px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.15s ease;
}
.nc-btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
}

/* ── INPUTS LUXURY ───────────────────────────────── */
.nc-input-lux {
  width: 100%; padding: 10px 14px;
  background: rgba(6,11,20,0.8);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  color: #E2E8F0;
  font-family: 'DM Sans', sans-serif; font-size: 14px;
  transition: all 0.15s ease;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.3);
}
.nc-input-lux:focus {
  outline: none;
  border-color: rgba(234,88,12,0.5);
  box-shadow: 0 0 0 3px rgba(234,88,12,0.1),
              inset 0 1px 3px rgba(0,0,0,0.3);
}
.nc-input-lux::placeholder { color: rgba(226,232,240,0.3); }

/* ── BADGE / PILL LUXURY ─────────────────────────── */
.nc-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  border-radius: var(--radius-full);
}
.nc-badge-orange {
  background: rgba(234,88,12,0.12);
  color: #EA580C;
  border: 1px solid rgba(234,88,12,0.25);
}
.nc-badge-green {
  background: rgba(34,197,94,0.1);
  color: #22C55E;
  border: 1px solid rgba(34,197,94,0.2);
}
.nc-badge-blue {
  background: rgba(59,130,246,0.1);
  color: #3B82F6;
  border: 1px solid rgba(59,130,246,0.2);
}
.nc-badge-red {
  background: rgba(239,68,68,0.1);
  color: #EF4444;
  border: 1px solid rgba(239,68,68,0.2);
}

/* ── DIVIDER ─────────────────────────────────────── */
.nc-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  margin: 16px 0;
}

/* ── GLOW ACCENT ─────────────────────────────────── */
.nc-glow-orange {
  box-shadow: 0 0 32px rgba(234,88,12,0.15),
              0 0 8px rgba(234,88,12,0.08);
}

/* ── HEADING LUXURY ──────────────────────────────── */
.nc-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #F2EDE4 0%, rgba(242,237,228,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── STAT LUXURY ─────────────────────────────────── */
.nc-stat-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem; font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.nc-stat-label {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(226,232,240,0.4);
}

/* ── MOBILE ──────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --radius-lg: 12px;
    --radius-xl: 16px;
  }
  .nc-card-lux:hover { transform: none; }
}
