/* ══════════════════════════════════════════════
   KOHLAS CustomerWeb — Premium Design System v3
   ══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  color-scheme: dark;
  --bg: #06080b;
  --bg-sidebar: #090c11;
  --bg-surface: #0e1117;
  --bg-card: #13161d;
  --bg-raised: #181c25;
  --bg-input: #0b0e14;
  --bg-hover: rgba(255,255,255,0.035);
  --accent: #34d399;
  --accent-soft: #10b981;
  --accent-muted: rgba(52,211,153,0.12);
  --accent-glow: rgba(52,211,153,0.25);
  --accent-border: rgba(52,211,153,0.3);
  --accent-gradient: linear-gradient(135deg, #34d399, #06b6d4);
  --accent-gradient-soft: linear-gradient(135deg, rgba(52,211,153,0.15), rgba(6,182,212,0.08));
  --text: #f0f2f5;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dim: #475569;
  --border: rgba(148,163,184,0.08);
  --border-subtle: rgba(148,163,184,0.05);
  --border-hover: rgba(148,163,184,0.16);
  --border-accent: rgba(52,211,153,0.2);
  --success: #4ade80; --warning: #fbbf24; --danger: #f87171; --info: #60a5fa;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --sidebar-w: 250px;
  --topbar-h: 54px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.2s;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow: 0 2px 8px rgba(0,0,0,0.2), 0 8px 24px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.35);
  --shadow-glow: 0 0 24px rgba(52,211,153,0.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { min-height: 100%; background: var(--bg); font-family: 'Inter', system-ui, -apple-system, sans-serif; font-size: 14.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; background: var(--bg); color: var(--text); overflow-x: hidden; }
a { color: var(--accent); text-decoration: none; transition: all var(--duration) var(--ease); }
a:hover { color: #5eead4; }

/* ═══ Sidebar ═══ */
.sidebar { 
  position: fixed; 
  top: 0; 
  left: 0; 
  bottom: 0; 
  width: var(--sidebar-w); 
  background: linear-gradient(180deg, var(--bg-sidebar), #070a0f); 
  border-right: 1px solid var(--border); 
  display: flex; 
  flex-direction: column; 
  z-index: 100; 
  transition: transform 0.3s var(--ease); 
  overflow-y: auto; 
  overflow-x: hidden; 
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}
.sidebar::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}
.sidebar-brand { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--text); }
.sidebar-brand-icon { width: 30px; height: 30px; border-radius: 8px; background: var(--accent-gradient); display: grid; place-items: center; font-weight: 900; font-size: 13px; color: #060a0e; flex-shrink: 0; box-shadow: 0 0 16px rgba(52,211,153,0.18); }
.sidebar-brand-text { font-weight: 800; font-size: 13.5px; letter-spacing: -0.01em; }
.sidebar-brand-sub { font-size: 10px; color: var(--text-dim); font-weight: 500; display: block; margin-top: 1px; }
.sidebar-nav { padding: 12px 8px; flex: 1; }
.nav-group { margin-bottom: 16px; }
.nav-group-label { padding: 0 10px 5px; font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }
.nav-item { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 7px; color: var(--text-muted); font-size: 13px; font-weight: 600; text-decoration: none; transition: all var(--duration) var(--ease); position: relative; }
.nav-item:hover { color: var(--text-secondary); background: var(--bg-hover); }
.nav-item.active { color: var(--accent); background: var(--accent-muted); }
.nav-item.active::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 3px; height: 16px; border-radius: 0 3px 3px 0; background: var(--accent); box-shadow: 0 0 8px var(--accent-glow); }
.nav-icon { width: 16px; height: 16px; flex-shrink: 0; opacity: 0.5; }
.nav-item.active .nav-icon { opacity: 1; }
.nav-item:hover .nav-icon { opacity: 0.7; }
.sidebar-footer { padding: 12px 18px; border-top: 1px solid var(--border); font-size: 10px; color: var(--text-dim); }
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 99; }
.sidebar-overlay.visible { display: block; }

/* ═══ Main Wrapper ═══ */
.main-wrapper { margin-left: var(--sidebar-w); min-height: 100vh; display: flex; flex-direction: column; transition: margin-left 0.3s var(--ease); }
.topbar { position: sticky; top: 0; height: var(--topbar-h); display: flex; align-items: center; justify-content: space-between; padding: 0 32px; background: rgba(6,8,11,0.82); backdrop-filter: blur(20px) saturate(1.4); border-bottom: 1px solid var(--border); z-index: 50; }
.topbar-title { font-size: 14px; font-weight: 700; color: var(--text); }
.topbar-status { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--text-dim); font-weight: 600; }
.topbar-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent-glow); animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1} 50%{opacity:0.5} }
.sidebar-toggle { display: none; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 8px; background: transparent; color: var(--text-secondary); cursor: pointer; font-size: 16px; min-height: auto; padding: 0; }

/* ═══ Content — FULL WIDTH ═══ */
.content { flex: 1; padding: 28px 32px 48px; width: 100%; }
.site-footer { display: flex; align-items: center; justify-content: space-between; padding: 14px 32px; border-top: 1px solid var(--border); font-size: 10.5px; color: var(--text-dim); margin-top: auto; }

/* ═══ Auth Layout & Ambient Cyberpunk Stage ═══ */
.auth-layout {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 30px;
  background-color: #030609;
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(20, 184, 166, 0.16), transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(6, 182, 212, 0.1), transparent 60%),
    linear-gradient(180deg, rgba(3, 6, 9, 0.95), rgba(2, 4, 7, 0.98));
  overflow-x: hidden;
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
}

/* Cyber Perspective Isometric Grid */
.auth-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(20, 184, 166, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 184, 166, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* Ambient Floating Glowing Orbs */
.auth-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
  animation: authOrbPulse 8s ease-in-out infinite alternate;
}

.auth-bg-orb-top {
  width: 500px;
  height: 500px;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(20, 184, 166, 0.22) 0%, rgba(6, 182, 212, 0.08) 50%, transparent 70%);
}

.auth-bg-orb-bottom {
  width: 600px;
  height: 400px;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(52, 211, 153, 0.14) 0%, rgba(20, 184, 166, 0.05) 50%, transparent 70%);
  animation-duration: 11s;
}

@keyframes authOrbPulse {
  0% { transform: translateX(-50%) scale(0.95); opacity: 0.55; }
  100% { transform: translateX(-50%) scale(1.08); opacity: 0.8; }
}

/* Subtle Massive KOHLAS Watermark Monogram in Background */
.auth-bg-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(650px, 80vw);
  height: min(650px, 80vw);
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  mix-blend-mode: screen;
}

.auth-bg-watermark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(20, 184, 166, 0.4));
}

.auth-content-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  flex: 1;
}

/* Premium Card Stage */
.ui-auth-panel {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  position: relative;
  background: rgba(11, 15, 23, 0.76);
  backdrop-filter: blur(24px) saturate(1.25);
  -webkit-backdrop-filter: blur(24px) saturate(1.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55), 0 0 50px rgba(20, 184, 166, 0.06);
  padding: 38px 36px;
  box-sizing: border-box;
  animation: authCardEnter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ui-auth-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #34d399, #06b6d4);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 2px 20px rgba(52, 211, 153, 0.45);
}

.auth-brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.auth-brand-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 8px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 16px rgba(20, 184, 166, 0.25);
}

.auth-brand-row span {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
}

.ui-auth-panel h1 {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-align: center;
  margin: 0 0 6px 0;
  font-family: 'Outfit', sans-serif;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.ui-auth-panel > p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  margin: 0 0 26px 0;
  line-height: 1.5;
}

/* Premium Corporate Footer Bar */
.auth-footer-bar {
  width: 100%;
  max-width: 720px;
  margin-top: 32px;
  padding: 12px 16px;
  position: relative;
  z-index: 1;
}

.auth-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.auth-footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.25);
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 800;
  color: #34d399;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
  box-shadow: 0 0 16px rgba(20, 184, 166, 0.1);
}

.auth-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: authDotPulse 2s infinite ease-in-out;
}

@@keyframes authDotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.auth-support-email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  margin-top: 4px;
  padding: 12px 16px;
  border: 1px solid rgba(113, 190, 172, 0.18);
  border-radius: 12px;
  background: rgba(12, 25, 25, 0.6);
  color: #b5e9dc;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.auth-support-email:hover {
  border-color: rgba(113, 190, 172, 0.45);
  background: rgba(19, 40, 36, 0.8);
  color: #d7fff1;
  text-decoration: none;
}

.auth-support-email:focus-visible {
  outline: 2px solid #82d9be;
  outline-offset: 4px;
}

.auth-support-icon {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(52, 211, 153, 0.08);
  color: #82d9be;
}

.auth-support-copy { display: grid; gap: 4px; min-width: 0; text-align: left; }
.auth-support-label { color: #a4b8b3; font-size: 11px; line-height: 1.3; }
.auth-support-address {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.auth-support-email:hover .auth-support-address { text-decoration: underline; text-underline-offset: 3px; }
.auth-support-arrow { color: #719b8e; font-size: 17px; flex-shrink: 0; }
.auth-footer-copyright { color: rgba(255, 255, 255, 0.4); font-size: 11px; margin-top: 2px; }
@media (max-width: 380px) { .auth-support-email { gap: 9px; padding: 11px 12px; } .auth-support-arrow { display: none; } }

/* ═══ Page Header ═══ */
.page-header { margin-bottom: 24px; }
.page-header h1 { font-size: 22px; font-weight: 800; letter-spacing: -0.025em; color: var(--text); }
.page-header p { margin-top: 5px; color: var(--text-muted); font-size: 13.5px; }

/* ═══ Hero Identity Card ═══ */
.hero-card { border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(135deg,rgba(52,211,153,0.06),rgba(6,182,212,0.03)), var(--bg-card); padding: 28px; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.hero-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg,transparent 10%,rgba(52,211,153,0.35),transparent 90%); }
.hero-card::after { content: ''; position: absolute; top: -80px; right: -80px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle,rgba(52,211,153,0.06),transparent 70%); pointer-events: none; }
.hero-identity { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; position: relative; z-index: 1; }
.hero-avatar { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-gradient); display: grid; place-items: center; font-weight: 900; font-size: 20px; color: #060a0e; flex-shrink: 0; box-shadow: 0 0 24px rgba(52,211,153,0.15); }
.hero-info { flex: 1; min-width: 0; }
.hero-name { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.hero-email { font-size: 13.5px; color: var(--text-secondary); margin-top: 2px; }
.hero-badges { display: flex; gap: 6px; flex-wrap: wrap; }

/* ═══ Metric Grid ═══ */
.metric-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.metric-card { padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: linear-gradient(180deg,var(--bg-card),var(--bg-surface)); transition: all 0.25s var(--ease); position: relative; overflow: hidden; }
.metric-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--accent-gradient); opacity: 0; transition: opacity 0.25s var(--ease); }
.metric-card:hover { border-color: var(--border-hover); transform: translateY(-2px); box-shadow: var(--shadow); }
.metric-card:hover::before { opacity: 1; }
.metric-label { display: block; font-size: 11px; color: var(--text-dim); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.metric-value { display: block; font-size: 24px; font-weight: 800; margin-top: 8px; letter-spacing: -0.02em; background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.metric-card.neutral .metric-value { background: none; -webkit-text-fill-color: var(--text); color: var(--text); }

/* ═══ Quick Links ═══ */
.quick-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.quick-link { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-card); color: var(--text-secondary); font-size: 14px; font-weight: 600; transition: all 0.25s var(--ease); text-decoration: none; }
.quick-link:hover { color: var(--text); border-color: var(--accent-border); background: var(--bg-raised); transform: translateY(-2px); box-shadow: var(--shadow); }
.quick-link svg { width: 20px; height: 20px; opacity: 0.45; flex-shrink: 0; transition: opacity 0.25s var(--ease); }
.quick-link:hover svg { opacity: 0.9; color: var(--accent); }

/* ═══ Two-Column Layout ═══ */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.three-col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.span-full { grid-column: 1 / -1; }

/* ═══ Section Cards ═══ */
.section-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); padding: 24px; transition: border-color var(--duration) var(--ease); }
.section-card h3 { font-size: 13px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 12px; }

/* ═══ Status Badges ═══ */
.status-badge { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,0.03); font-size: 11px; font-weight: 700; color: var(--text-secondary); white-space: nowrap; }
.status-badge.success { color: #86efac; border-color: rgba(74,222,128,0.2); background: rgba(74,222,128,0.06); }
.status-badge.warning { color: #fde68a; border-color: rgba(251,191,36,0.2); background: rgba(251,191,36,0.06); }
.status-badge.danger { color: #fca5a5; border-color: rgba(248,113,113,0.2); background: rgba(248,113,113,0.06); }

/* ═══ Detail List ═══ */
.detail-list { display: grid; grid-template-columns: clamp(120px, 28%, 200px) 1fr; gap: 1px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--border); }
.detail-list dt, .detail-list dd { padding: 12px 18px; margin: 0; background: var(--bg-card); font-size: 13.5px; }
.detail-list dt { color: var(--text-dim); font-weight: 600; background: var(--bg-surface); }
.detail-list dd { overflow-wrap: anywhere; }

/* ═══ Tables ═══ */
.ui-table-shell { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; overflow-x: auto; background: var(--bg-card); }
.ui-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ui-table th { padding: 11px 16px; background: var(--bg-surface); color: var(--text-dim); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--border); }
.ui-table td { padding: 12px 16px; border-bottom: 1px solid var(--border-subtle); vertical-align: top; color: var(--text-secondary); font-size: 13.5px; }
.ui-table tbody tr { transition: background var(--duration) var(--ease); }
.ui-table tbody tr:hover { background: rgba(52,211,153,0.02); }
.ui-table tbody tr:last-child td { border-bottom: none; }
.ui-empty-state { padding: 48px 24px; text-align: center; color: var(--text-dim); font-size: 14px; border: 1px dashed var(--border); border-radius: var(--radius); background: var(--bg-surface); }

/* ═══ Forms ═══ */
.form-stack, .form-grid { display: grid; gap: 16px; margin-top: 18px; }
.form-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: end; }
.form-stack.compact { max-width: 480px; }
label { display: grid; gap: 5px; color: var(--text-muted); font-size: 12.5px; font-weight: 600; }
input, select, textarea { width: 100%; min-height: 44px; color: var(--text); border: 1px solid var(--border); border-radius: 8px; background: var(--bg-input); padding: 10px 14px; font: inherit; font-size: 14px; transition: all var(--duration) var(--ease); }
input:hover, select:hover, textarea:hover { border-color: var(--border-hover); }
input:focus, select:focus, textarea:focus { border-color: var(--accent-soft); box-shadow: 0 0 0 3px var(--accent-muted), 0 0 12px rgba(52,211,153,0.06); outline: none; }
input[type="checkbox"] { width: 18px; height: 18px; min-height: auto; accent-color: var(--accent); cursor: pointer; }
textarea { resize: vertical; min-height: 100px; }
.checkbox-label { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 10px; }

/* ═══ Buttons ═══ */
button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 22px; border: none; border-radius: 8px; background: var(--accent-gradient); color: #060a0e; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.25s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.15); }
button:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(52,211,153,0.2), inset 0 1px 0 rgba(255,255,255,0.15); filter: brightness(1.08); }
button:active { transform: translateY(0); }
button.danger { background: linear-gradient(135deg,#ef4444,#dc2626); color: white; }
button.danger:hover { box-shadow: 0 4px 16px rgba(239,68,68,0.2); }
button.secondary { background: var(--bg-raised); color: var(--text-secondary); border: 1px solid var(--border); box-shadow: none; }
button.secondary:hover { background: var(--bg-hover); border-color: var(--border-hover); color: var(--text); }
button.ghost { background: transparent; color: var(--text-secondary); border: 1px solid var(--border); box-shadow: none; }
button.ghost:hover { background: var(--bg-hover); border-color: var(--border-hover); color: var(--text); }
.inline-form { display: inline; }
.inline-form button { min-height: 30px; padding: 5px 14px; font-size: 12px; }

/* ═══ Action Row ═══ */
.action-row { display: flex; flex-wrap: wrap; gap: 8px; }
.action-row a { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--text-muted); transition: all var(--duration) var(--ease); }
.action-row a:hover { color: var(--text); border-color: var(--border-hover); background: var(--bg-hover); }

/* ═══ Thread Messages ═══ */
.thread-list { display: flex; flex-direction: column; gap: 6px; }
.thread-msg { padding: 18px 22px; border-radius: var(--radius-sm); background: var(--bg-surface); border: 1px solid var(--border-subtle); transition: border-color var(--duration) var(--ease); }
.thread-msg:hover { border-color: var(--border); }
.thread-msg-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.thread-msg-avatar { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 11px; font-weight: 800; flex-shrink: 0; }
.thread-msg-avatar.customer { background: var(--accent-muted); color: var(--accent); }
.thread-msg-avatar.admin { background: rgba(96,165,250,0.12); color: var(--info); }
.thread-msg-author { font-size: 13.5px; font-weight: 700; color: var(--text); }
.thread-msg-time { font-size: 11px; color: var(--text-dim); margin-left: auto; }
.thread-msg-body { font-size: 14px; color: var(--text-secondary); line-height: 1.75; padding-left: 40px; }
.thread-msg-attachments { padding-left: 40px; margin-top: 10px; font-size: 13px; }

/* ═══ Section Titles ═══ */
.section-title { font-size: 15px; font-weight: 700; margin: 28px 0 14px; color: var(--text); display: flex; align-items: center; gap: 10px; }
.section-title::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent-glow); flex-shrink: 0; }

/* ═══ Misc ═══ */
.danger-zone { border: 1px solid rgba(248,113,113,0.15); border-radius: var(--radius); background: rgba(248,113,113,0.03); padding: 20px; }
.sensitive-reveal { border: 1px solid var(--accent-border); border-radius: var(--radius); background: var(--accent-muted); padding: 16px 20px; }
.sensitive-reveal code { display: block; margin: 8px 0; padding: 10px 14px; border-radius: var(--radius-xs); background: rgba(0,0,0,0.3); font-size: 13px; word-break: break-all; color: var(--accent); }

.license-key-reveal { display: inline-flex; align-items: center; gap: 7px; margin: 0; max-width: 100%; }
.license-key-reveal code { color: var(--text); background: rgba(0, 0, 0, 0.2); border: 1px solid var(--border); border-radius: 7px; padding: 4px 8px; font-size: 12px; line-height: 1.25; overflow-wrap: anywhere; }
.license-key-eye { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 7px; background: transparent; color: var(--text-secondary); cursor: pointer; padding: 0; }
.license-key-eye:hover { color: var(--accent); border-color: var(--accent-border); background: var(--accent-muted); }
.license-key-eye:disabled { opacity: .55; cursor: wait; }
.license-key-eye svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.license-key-reveal [hidden] { display: none !important; }
.status-message { color: var(--accent); font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.provider-handoff { display: inline-flex; margin-top: 12px; padding: 10px 16px; border: 1px solid var(--accent-border); border-radius: 8px; background: var(--accent-muted); }
code { color: var(--text); font-size: 13px; overflow-wrap: anywhere; }
.hash-preview { display: inline-block; max-width: 160px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
.dev-link { color: var(--accent); overflow-wrap: anywhere; }

/* ═══ Utilities ═══ */
.mt-8{margin-top:8px} .mt-12{margin-top:12px} .mt-16{margin-top:16px} .mt-20{margin-top:20px} .mt-24{margin-top:24px} .mt-28{margin-top:28px}
.mb-12{margin-bottom:12px} .mb-16{margin-bottom:16px} .mb-20{margin-bottom:20px} .mb-24{margin-bottom:24px}
.text-center{text-align:center} .text-secondary{color:var(--text-secondary)} .text-muted{color:var(--text-muted)}

/* ═══ Responsive ═══ */
@media(max-width:1024px){
  .sidebar{transform:translateX(-100%)} .sidebar.open{transform:translateX(0);box-shadow:var(--shadow-lg)} .sidebar-overlay.visible{display:block}
  .main-wrapper{margin-left:0} .sidebar-toggle{display:flex} .content{padding:20px 16px} .topbar{padding:0 16px} .site-footer{padding:14px 16px}
  .two-col,.three-col{grid-template-columns:1fr}
}
@media(max-width:640px){
  .ui-auth-panel{padding:28px 20px} .detail-list{grid-template-columns:1fr} .metric-grid{grid-template-columns:1fr 1fr}
  .quick-links{grid-template-columns:1fr} .form-grid{grid-template-columns:1fr} .hero-identity{flex-direction:column;align-items:flex-start}
}
@media(max-width:420px){.metric-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition-duration:0.001ms!important;animation-duration:0.001ms!important}}

/* ══════════════════════════════════════════════
   KOHLAS Premium Dashboard Redesign Styles
   ══════════════════════════════════════════════ */
:root {
  --bg: #06070a;
  --bg-sidebar: #06070a;
  --bg-card: #0b0e14;
  --bg-surface: #0b0e14;
  --bg-raised: #0f121b;
  --accent: #14b8a6;
  --border: rgba(255,255,255,0.06);
}

.sidebar-logo-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 8px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 12px rgba(20, 184, 166, 0.2);
}

.sidebar-brand-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-brand-title {
  font-weight: 800;
  font-size: 15px;
  color: var(--text);
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.sidebar-brand-subtitle {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-group-label {
  padding: 12px 18px 6px;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.nav-item {
  margin: 1px 10px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.nav-item.active {
  background: linear-gradient(90deg, rgba(20, 184, 166, 0.12) 0%, rgba(20, 184, 166, 0.02) 100%);
  color: #14b8a6;
  font-weight: 700;
  border: 1px solid rgba(20, 184, 166, 0.1);
}

.nav-item.active::before {
  display: none !important;
}

.nav-item .nav-caret {
  margin-left: auto;
  font-size: 11px;
  opacity: 0.7;
}

.sidebar-help-banner {
  margin: auto 10px 12px 10px;
  padding: 12px 14px;
  background: rgba(20, 184, 166, 0.03);
  border: 1px solid rgba(20, 184, 166, 0.08);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-help-header {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.sidebar-help-icon {
  width: 18px;
  height: 18px;
  color: #14b8a6;
  flex-shrink: 0;
}

.sidebar-help-text {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.35;
}

.sidebar-help-button {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  color: var(--text);
  font-size: 11px;
  padding: 7px 10px;
  text-align: center;
  font-weight: 600;
  transition: all 0.2s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
}

.sidebar-help-button:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.sidebar-copyright-row {
  padding: 12px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10.5px;
  color: var(--text-muted);
}

/* ════ Topbar Layout & Social Media Center Island ════ */
.topbar-left {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.topbar-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
}

.topbar-social-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 18, 28, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05), 0 4px 20px -2px rgba(0, 0, 0, 0.5);
  position: relative;
}

.topbar-social-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.topbar-social-btn svg {
  display: block;
  margin: auto;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), filter 0.22s ease, color 0.22s ease;
}

/* Hover - Authentic brand colors with vibrant ambient neon glow */
.topbar-social-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px) scale(1.08);
}
.topbar-social-btn:hover svg {
  transform: scale(1.1);
}

.topbar-social-btn.shopier:hover {
  color: #ff6a3d;
  border-color: rgba(255, 106, 61, 0.4);
  box-shadow: 0 0 14px rgba(255, 106, 61, 0.55);
}
.topbar-social-btn.x-twitter:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.45);
}
.topbar-social-btn.instagram:hover {
  color: #f43f5e;
  border-color: rgba(244, 63, 94, 0.4);
  box-shadow: 0 0 14px rgba(244, 63, 94, 0.55);
}
.topbar-social-btn.facebook:hover {
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.55);
}
.topbar-social-btn.youtube:hover,
.topbar-social-btn.youtube-tut:hover {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.55);
}
.topbar-social-btn.tiktok:hover {
  color: #2dd4bf;
  border-color: rgba(45, 212, 191, 0.4);
  box-shadow: 0 0 14px rgba(45, 212, 191, 0.55);
}

/* Social tooltip */
.social-tooltip {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(10, 14, 20, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 100;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}
.topbar-social-btn:hover .social-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Topbar right items */
.topbar-right-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

/* Notification Container & Popover */
.topbar-notifications {
  position: relative;
}

.topbar-bell {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  color: var(--text-secondary);
  cursor: pointer;
  position: relative;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  min-height: auto;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}
.topbar-bell:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(45, 212, 191, 0.3);
  color: #f1f5f9;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), 0 0 10px rgba(45, 212, 191, 0.1);
}

.notification-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: #10b981;
  color: #060a0e;
  font-size: 9.5px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #06080b;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.notification-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 310px;
  background: rgba(10, 14, 22, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  z-index: 95;
  animation: popoverFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.notification-popover-title {
  font-size: 13px;
  font-weight: 800;
  color: #f8fafc;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.notification-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 280px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
}
.notification-list::-webkit-scrollbar {
  width: 4px;
}
.notification-list::-webkit-scrollbar-track {
  background: transparent;
}
.notification-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.notification-empty {
  font-size: 11.5px;
  color: #64748b;
  text-align: center;
  padding: 18px 8px;
}

.notification-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  transition: background 0.15s ease;
}
.notification-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.notification-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #e2e8f0;
  font-size: 11.5px;
  line-height: 1.3;
  text-decoration: none;
  min-width: 0;
}
.notification-copy small {
  color: #64748b;
  font-size: 10px;
}

.notification-mark-read {
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(45, 212, 191, 0.12);
  color: #2dd4bf;
  border: 1px solid rgba(45, 212, 191, 0.25);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  min-height: auto;
  box-shadow: none;
}
.notification-mark-read:hover {
  background: rgba(45, 212, 191, 0.25);
  box-shadow: none;
}

/* ════ User Profile Dropdown ════ */
.topbar-user-dropdown-root {
  position: relative;
}

.topbar-profile-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 4px 10px 4px 6px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  min-height: auto;
}
.topbar-profile-badge:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(45, 212, 191, 0.3);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), 0 0 14px rgba(45, 212, 191, 0.1);
}

.topbar-profile-avatar {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: linear-gradient(135deg, #0d9488 0%, #0284c7 100%);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 2px 6px rgba(13, 148, 136, 0.3);
  overflow: hidden;
  position: relative;
}

.topbar-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 7px;
}

.topbar-profile-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.topbar-profile-name {
  font-weight: 700;
  font-size: 12.5px;
  color: #f1f5f9;
  line-height: 1.2;
}

.topbar-profile-email {
  font-size: 10.5px;
  color: #64748b;
  line-height: 1.2;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-profile-chevron {
  color: #64748b;
  margin-left: 2px;
  transition: transform 0.2s ease, color 0.2s ease;
}
.topbar-profile-badge:hover .topbar-profile-chevron {
  color: #f1f5f9;
}
.topbar-user-dropdown-root.open .topbar-profile-chevron {
  transform: rotate(180deg);
  color: #2dd4bf;
}

/* User Popover Panel */
.topbar-user-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 260px;
  background: rgba(10, 14, 22, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  z-index: 95;
  animation: popoverFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes popoverFadeIn {
  from { opacity: 0; transform: translateY(-6px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.topbar-user-header {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px;
}

.topbar-user-header-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0d9488 0%, #0284c7 100%);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35);
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.topbar-user-header-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.topbar-user-header-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.topbar-user-header-name {
  font-size: 13.5px;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.2;
}

.topbar-user-header-email {
  font-size: 11px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-user-header-badge {
  font-size: 9.5px;
  font-weight: 700;
  color: #2dd4bf;
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.25);
  padding: 1px 6px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 3px;
  width: fit-content;
}

.topbar-user-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 6px 0;
}

.topbar-user-links {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.topbar-user-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.18s ease;
}
.topbar-user-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.topbar-user-item-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  color: #94a3b8;
  flex-shrink: 0;
  transition: all 0.18s ease;
}
.topbar-user-item:hover .topbar-user-item-icon {
  color: #2dd4bf;
  background: rgba(45, 212, 191, 0.12);
  border-color: rgba(45, 212, 191, 0.25);
}

.topbar-user-item-content {
  display: flex;
  flex-direction: column;
}

.topbar-user-item-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1.2;
}

.topbar-user-item-desc {
  font-size: 10px;
  color: #64748b;
}

.topbar-user-footer {
  padding-top: 4px;
}

.topbar-user-logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #f87171;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}
.topbar-user-logout-btn:hover {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

/* ══════════════════════════════════════════════
   KOHLAS Next-Gen Dashboard Styles (Modern SaaS)
   ══════════════════════════════════════════════ */

.dashboard-top-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 18px;
  margin-bottom: 20px;
}

/* Base Card Enhancements with subtle glow */
.dashboard-profile-card,
.dashboard-sub-card,
.dashboard-panel-card,
.dashboard-action-card,
.dashboard-metric-card {
  position: relative;
  background: linear-gradient(135deg, rgba(16, 22, 34, 0.75) 0%, rgba(10, 14, 22, 0.85) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow: 0 8px 32px -4px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.dashboard-card-glow {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  opacity: 0.12;
  z-index: 0;
}
.dashboard-card-glow.profile-glow {
  background: radial-gradient(circle, #2dd4bf 0%, #38bdf8 100%);
}
.dashboard-card-glow.sub-glow {
  background: radial-gradient(circle, #818cf8 0%, #c084fc 100%);
}

/* 1. Profile Card */
.dashboard-profile-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 195px;
}
.dashboard-profile-card:hover {
  border-color: rgba(45, 212, 191, 0.25);
  box-shadow: 0 12px 36px -6px rgba(0, 0, 0, 0.45), 0 0 20px rgba(45, 212, 191, 0.06);
}

.dashboard-profile-header {
  display: flex;
  gap: 18px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.dashboard-profile-avatar-large {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0d9488 0%, #0284c7 100%);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.35);
  flex-shrink: 0;
}

.dashboard-profile-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.dashboard-profile-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dashboard-profile-name {
  font-size: 19px;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: -0.01em;
}

.dashboard-profile-verified-badge {
  background: rgba(45, 212, 191, 0.12);
  color: #2dd4bf;
  border: 1px solid rgba(45, 212, 191, 0.28);
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.02em;
}

.dashboard-profile-email {
  font-size: 13px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-profile-row {
  display: flex;
  gap: 20px;
  margin-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
  position: relative;
  z-index: 1;
}

.dashboard-profile-row-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dashboard-profile-row-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: grid;
  place-items: center;
  color: #38bdf8;
  flex-shrink: 0;
}

.dashboard-profile-row-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.dashboard-profile-row-label {
  font-size: 10.5px;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.dashboard-profile-row-val {
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
}
.dashboard-profile-row-val.status-verified {
  color: #2dd4bf;
}

/* 2. Subscription Card */
.dashboard-sub-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 195px;
}
.dashboard-sub-card:hover {
  border-color: rgba(129, 140, 248, 0.3);
  box-shadow: 0 12px 36px -6px rgba(0, 0, 0, 0.45), 0 0 20px rgba(129, 140, 248, 0.06);
}

.dashboard-sub-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
}

.dashboard-sub-title {
  font-size: 15px;
  font-weight: 800;
  color: #f1f5f9;
  letter-spacing: -0.01em;
}

.dashboard-sub-header-tag {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(129, 140, 248, 0.12);
  color: #a5b4fc;
  border: 1px solid rgba(129, 140, 248, 0.25);
}

.dashboard-sub-details {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.1fr;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.dashboard-sub-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.dashboard-sub-label {
  font-size: 10px;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.dashboard-sub-value {
  font-size: 15px;
  font-weight: 800;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.dashboard-sub-value.status-success {
  color: #34d399;
}
.dashboard-sub-value.font-mono {
  font-variant-numeric: tabular-nums;
  font-size: 14px;
}

.dashboard-sub-value-badge {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.2), rgba(2, 132, 199, 0.2));
  color: #2dd4bf;
  border: 1px solid rgba(45, 212, 191, 0.35);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dashboard-sub-desc {
  font-size: 11px;
  color: #94a3b8;
}
.dashboard-sub-desc.renewal-tag {
  color: #fbbf24;
  font-weight: 600;
}

.dashboard-sub-action {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: #e2e8f0;
  font-weight: 600;
  text-decoration: none;
  margin-top: 14px;
  transition: all 0.2s ease;
}
.dashboard-sub-action:hover {
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.12) 0%, rgba(45, 212, 191, 0.08) 100%);
  border-color: rgba(129, 140, 248, 0.3);
  color: #ffffff;
  transform: translateY(-1px);
}
.dashboard-sub-action svg {
  color: #a5b4fc;
  transition: transform 0.2s ease;
}
.dashboard-sub-action:hover svg {
  transform: translateX(2px);
  color: #ffffff;
}

/* 3. Metrics Row */
.dashboard-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.dashboard-metric-card {
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.dashboard-metric-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.4);
}

.dashboard-metric-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid transparent;
  transition: transform 0.2s ease;
}
.dashboard-metric-card:hover .dashboard-metric-icon-box {
  transform: scale(1.06);
}

.dashboard-metric-icon-box.teal {
  background: rgba(45, 212, 191, 0.12);
  color: #2dd4bf;
  border-color: rgba(45, 212, 191, 0.25);
  box-shadow: 0 0 15px rgba(45, 212, 191, 0.15);
}
.dashboard-metric-icon-box.blue {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.25);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
}
.dashboard-metric-icon-box.purple {
  background: rgba(167, 139, 250, 0.12);
  color: #a78bfa;
  border-color: rgba(167, 139, 250, 0.25);
  box-shadow: 0 0 15px rgba(167, 139, 250, 0.15);
}
.dashboard-metric-icon-box.orange {
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.25);
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.15);
}
.dashboard-metric-icon-box.emerald {
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.25);
  box-shadow: 0 0 15px rgba(52, 211, 153, 0.15);
}

.dashboard-metric-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}

.dashboard-metric-label {
  font-size: 11px;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dashboard-metric-value-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 2px;
}

.dashboard-metric-val {
  font-size: 22px;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.dashboard-metric-change {
  font-size: 10px;
  font-weight: 700;
}
.dashboard-metric-change.neutral {
  color: #64748b;
}

.dashboard-metric-sparkline {
  margin-left: auto;
  width: 54px;
  height: 22px;
  opacity: 0.85;
  flex-shrink: 0;
}

/* 4. Bottom Grid (Panels) */
.dashboard-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}

.dashboard-panel-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 350px;
}
.dashboard-panel-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.dashboard-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dashboard-panel-header-title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dashboard-panel-title {
  font-size: 15px;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: -0.01em;
}

.dashboard-panel-subtitle {
  font-size: 11px;
  color: #64748b;
}

.dashboard-panel-header-link {
  font-size: 11.5px;
  color: #38bdf8;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s, transform 0.2s;
}
.dashboard-panel-header-link:hover {
  color: #7dd3fc;
  transform: translateX(1px);
}

.dashboard-panel-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.dashboard-panel-footer-btn {
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  min-height: auto;
  box-shadow: none;
}
.dashboard-panel-footer-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transform: none;
  box-shadow: none;
  filter: none;
}
.dashboard-panel-footer-btn svg {
  transition: transform 0.2s;
}
.dashboard-panel-footer-btn:hover svg {
  transform: translateX(2px);
}

/* Empty states */
.ui-empty-state-modern {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #64748b;
  padding: 40px 16px;
  text-align: center;
  font-size: 12.5px;
}
.ui-empty-state-modern svg {
  color: #475569;
}

/* Activity Items */
.dashboard-activity-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dashboard-activity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 0.2s, border-color 0.2s;
}
.dashboard-activity-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.dashboard-activity-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 13px;
  border: 1px solid transparent;
}
.dashboard-activity-icon.green {
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.2);
}
.dashboard-activity-icon.blue {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.2);
}
.dashboard-activity-icon.slate {
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
  border-color: rgba(148, 163, 184, 0.2);
}

.dashboard-activity-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}

.dashboard-activity-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-activity-subtitle {
  font-size: 11px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-activity-time {
  font-size: 11px;
  color: #64748b;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

/* Donut Chart Layout */
.dashboard-donut-layout {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 16px;
  flex-grow: 1;
  padding: 10px 0;
}

.dashboard-donut-chart-container {
  position: relative;
  width: 124px;
  height: 124px;
  display: grid;
  place-items: center;
}

.dashboard-donut-chart-text {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}

.dashboard-donut-chart-number {
  font-size: 24px;
  font-weight: 900;
  color: #f8fafc;
  line-height: 1;
  letter-spacing: -0.02em;
}

.dashboard-donut-chart-label {
  font-size: 9.5px;
  color: #64748b;
  margin-top: 3px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.dashboard-donut-legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dashboard-donut-legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  min-width: 110px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.dashboard-donut-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dashboard-donut-legend-dot.green {
  background: #2dd4bf;
  box-shadow: 0 0 6px rgba(45, 212, 191, 0.6);
}
.dashboard-donut-legend-dot.blue {
  background: #38bdf8;
  box-shadow: 0 0 6px rgba(56, 189, 248, 0.6);
}
.dashboard-donut-legend-dot.slate {
  background: #64748b;
}

.dashboard-donut-legend-name {
  color: #cbd5e1;
  flex-grow: 1;
  font-weight: 500;
}

.dashboard-donut-legend-count {
  font-weight: 800;
  color: #f8fafc;
  font-size: 12.5px;
}

.dashboard-donut-legend-pct {
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
}

/* Payments List */
.dashboard-payments-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dashboard-payment-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 0.2s, border-color 0.2s;
}
.dashboard-payment-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.dashboard-payment-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.dashboard-payment-date {
  font-size: 12.5px;
  font-weight: 700;
  color: #f1f5f9;
}

.dashboard-payment-desc {
  font-size: 11px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-payment-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

.dashboard-payment-amount {
  font-size: 13.5px;
  font-weight: 800;
  color: #f8fafc;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.dashboard-payment-badge {
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}
.dashboard-payment-badge.success {
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.25);
}

/* 5. Quick Actions Section */
.dashboard-actions-header-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
  margin-top: 14px;
}

.dashboard-actions-title {
  font-size: 13px;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: -0.01em;
}

.dashboard-actions-subtitle {
  font-size: 11.5px;
  color: #64748b;
}

.dashboard-actions-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.dashboard-action-card {
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.dashboard-action-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.45);
}

.dashboard-action-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s;
}
.dashboard-action-card:hover .dashboard-action-icon-box {
  transform: scale(1.08);
}

.dashboard-action-icon-box.action-teal {
  background: rgba(45, 212, 191, 0.12);
  color: #2dd4bf;
  border-color: rgba(45, 212, 191, 0.25);
}
.dashboard-action-card:hover .dashboard-action-icon-box.action-teal {
  box-shadow: 0 0 16px rgba(45, 212, 191, 0.3);
}

.dashboard-action-icon-box.action-blue {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.25);
}
.dashboard-action-card:hover .dashboard-action-icon-box.action-blue {
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.3);
}

.dashboard-action-icon-box.action-purple {
  background: rgba(167, 139, 250, 0.12);
  color: #a78bfa;
  border-color: rgba(167, 139, 250, 0.25);
}
.dashboard-action-card:hover .dashboard-action-icon-box.action-purple {
  box-shadow: 0 0 16px rgba(167, 139, 250, 0.3);
}

.dashboard-action-icon-box.action-orange {
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.25);
}
.dashboard-action-card:hover .dashboard-action-icon-box.action-orange {
  box-shadow: 0 0 16px rgba(251, 191, 36, 0.3);
}

.dashboard-action-icon-box.action-emerald {
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.25);
}
.dashboard-action-card:hover .dashboard-action-icon-box.action-emerald {
  box-shadow: 0 0 16px rgba(52, 211, 153, 0.3);
}

.dashboard-action-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-grow: 1;
  min-width: 0;
}

.dashboard-action-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #f8fafc;
}

.dashboard-action-desc {
  font-size: 11px;
  color: #64748b;
}

/* ══════════════════════════════════════════════
   VIP Hero Banner & Modern Cyber Dashboard Hub
   ══════════════════════════════════════════════ */
.dashboard-hero-vip {
  position: relative;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(13, 20, 32, 0.85) 0%, rgba(8, 12, 20, 0.95) 100%);
  border: 1px solid rgba(20, 184, 166, 0.2);
  box-shadow: 0 12px 40px -8px rgba(0, 0, 0, 0.5), 0 0 25px rgba(20, 184, 166, 0.08);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin-bottom: 22px;
  overflow: hidden;
}

.dashboard-hero-glow {
  position: absolute;
  top: -60px;
  left: -40px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.18) 0%, rgba(6, 182, 212, 0.05) 50%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.dashboard-hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at 30% 50%, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 50%, black 40%, transparent 85%);
  pointer-events: none;
}

.dashboard-hero-left {
  display: flex;
  align-items: center;
  gap: 22px;
  position: relative;
  z-index: 1;
  justify-self: start;
}

.dashboard-hero-avatar-shell {
  position: relative;
  flex-shrink: 0;
}

.dashboard-hero-avatar {
  width: 78px;
  height: 78px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.3) 0%, rgba(2, 132, 199, 0.3) 100%);
  color: #ffffff;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(45, 212, 191, 0.4);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 20px rgba(20, 184, 166, 0.35);
  overflow: hidden;
  position: relative;
}

.dashboard-hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.dashboard-hero-status-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #10b981;
  border: 3px solid #080c14;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.9);
}

.dashboard-hero-user-info.vertical-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.dashboard-hero-badges-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 1px 0;
}

.dashboard-hero-name {
  font-size: 24px;
  font-weight: 800;
  color: #f8fafc;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.dashboard-hero-vip-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2.5px 9px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.2) 0%, rgba(6, 182, 212, 0.15) 100%);
  border: 1px solid rgba(20, 184, 166, 0.35);
  color: #2dd4bf;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dashboard-hero-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2.5px 8px;
  border-radius: 20px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #34d399;
  font-size: 10.5px;
  font-weight: 700;
}

.dashboard-hero-email {
  font-size: 13px;
  color: #cbd5e1;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.dashboard-hero-meta {
  color: #64748b;
  font-size: 11.5px;
}

.hero-particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.dashboard-hero-center-tattoo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 10px 20px;
  user-select: none;
  pointer-events: none;
  justify-self: center;
  margin: 0 auto;
}

.tattoo-ornament-top,
.tattoo-ornament-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(45, 212, 191, 0.7);
  font-size: 14px;
  letter-spacing: 0.35em;
  text-shadow: 0 0 12px rgba(45, 212, 191, 0.85);
  animation: electricSurgeFlicker 4s infinite;
}

.tattoo-diamond {
  color: #2dd4bf;
  font-size: 18px;
  text-shadow: 0 0 16px rgba(45, 212, 191, 1), 0 0 32px rgba(6, 182, 212, 0.9);
  animation: tattooDiamondPulse 1.8s ease-in-out infinite alternate;
}

.tattoo-brand {
  font-family: 'Cinzel Decorative', 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.35em;
  color: #2dd4bf;
  text-shadow: 0 0 10px rgba(45, 212, 191, 0.9), 0 0 22px rgba(6, 182, 212, 0.6);
  padding: 0 4px;
}

.hero-tattoo-line {
  font-family: 'UnifrakturCook', 'Pirata One', 'MedievalSharp', 'Cinzel Decorative', cursive, serif;
  font-size: 41px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: lowercase;
  color: #f8fafc;
  line-height: 1.22;
  white-space: nowrap;
  transform: scaleX(1.15) scaleY(1.05);
  transform-origin: center center;
  text-shadow: 
    0 0 6px rgba(255, 255, 255, 0.9),
    0 0 16px rgba(45, 212, 191, 0.95),
    0 0 35px rgba(20, 184, 166, 0.8),
    0 0 60px rgba(6, 182, 212, 0.6);
  animation: electricShortCircuit 4.2s infinite;
}

.hero-tattoo-line.accent {
  font-size: 58px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #2dd4bf;
  line-height: 1.16;
  white-space: nowrap;
  transform: scaleX(1.15) scaleY(1.05);
  transform-origin: center center;
  text-shadow: 
    0 0 8px #ffffff,
    0 0 20px #2dd4bf,
    0 0 40px #0ea5e9,
    0 0 70px #06b6d4,
    0 0 110px rgba(20, 184, 166, 0.9);
  animation: discoElectricSurge 3.2s infinite;
}

@keyframes tattooDiamondPulse {
  0% { transform: scale(0.85); opacity: 0.5; filter: hue-rotate(0deg); }
  50% { transform: scale(1.35); opacity: 1; filter: hue-rotate(90deg); }
  100% { transform: scale(0.85); opacity: 0.5; filter: hue-rotate(0deg); }
}

/* Elektrik kesintisi & anlık kıvılcım/voltaj patlaması efekti */
@keyframes electricShortCircuit {
  0%, 100% {
    opacity: 0.98;
    color: #f8fafc;
    text-shadow: 0 0 6px #fff, 0 0 18px #2dd4bf, 0 0 36px #0ea5e9, 0 0 65px rgba(20, 184, 166, 0.7);
  }
  14% {
    opacity: 0.98;
  }
  14.5% {
    /* Elektrik anlık kesildi (kapkaranlık) */
    opacity: 0.1;
    text-shadow: none;
    color: #334155;
  }
  15.5% {
    /* Voltaj geri geldi / cızbız parlama */
    opacity: 1;
    color: #ffffff;
    text-shadow: 0 0 10px #fff, 0 0 28px #38bdf8, 0 0 50px #38bdf8, 0 0 80px #0ea5e9;
  }
  16.5% {
    /* Tekrar ufak kesilme */
    opacity: 0.18;
    text-shadow: none;
    color: #1e293b;
  }
  17.5% {
    /* Stabil yandı */
    opacity: 0.98;
    color: #f8fafc;
    text-shadow: 0 0 6px #fff, 0 0 18px #2dd4bf, 0 0 36px #0ea5e9;
  }
  52% {
    opacity: 0.98;
    text-shadow: 0 0 6px #fff, 0 0 18px #2dd4bf, 0 0 36px #0ea5e9;
  }
  52.5% {
    /* İkinci elektrik arızası / ani sönme */
    opacity: 0.06;
    text-shadow: none;
    color: #0f172a;
  }
  53% {
    opacity: 0.85;
    text-shadow: 0 0 14px #2dd4bf;
  }
  53.5% {
    opacity: 0.12;
    text-shadow: none;
  }
  54.5% {
    /* Tam güç voltaj patlaması */
    opacity: 1;
    color: #ffffff;
    text-shadow: 0 0 12px #fff, 0 0 32px #2dd4bf, 0 0 60px #06b6d4, 0 0 95px #3b82f6;
  }
  56% {
    opacity: 0.98;
    color: #f8fafc;
    text-shadow: 0 0 6px #fff, 0 0 18px #2dd4bf, 0 0 36px #0ea5e9;
  }
  88% {
    opacity: 0.98;
  }
  88.5% {
    opacity: 0.25;
    text-shadow: 0 0 5px #2dd4bf;
  }
  89% {
    opacity: 1;
    text-shadow: 0 0 10px #fff, 0 0 25px #2dd4bf;
  }
}

/* Disco Neon Renk Geçişi ve Güçlü Cızbız Patlamaları */
@keyframes discoElectricSurge {
  0%, 100% {
    color: #2dd4bf;
    text-shadow: 0 0 8px #ffffff, 0 0 20px #2dd4bf, 0 0 42px #0ea5e9, 0 0 75px #06b6d4, 0 0 110px rgba(20, 184, 166, 0.85);
    transform: scale(1);
  }
  20% {
    color: #38bdf8;
    text-shadow: 0 0 10px #ffffff, 0 0 24px #38bdf8, 0 0 50px #0284c7, 0 0 85px #0ea5e9, 0 0 125px rgba(56, 189, 248, 0.9);
    transform: scale(1.02);
  }
  24% {
    /* Elektrik anlık kesildi */
    opacity: 0.12;
    color: #0f766e;
    text-shadow: none;
    transform: scale(0.99);
  }
  25% {
    /* Kıvılcım geri geldi */
    opacity: 1;
    color: #ffffff;
    text-shadow: 0 0 14px #ffffff, 0 0 35px #2dd4bf, 0 0 70px #38bdf8, 0 0 110px #06b6d4;
    transform: scale(1.035);
  }
  26% {
    opacity: 0.2;
    text-shadow: none;
  }
  27% {
    opacity: 1;
    color: #34d399;
    text-shadow: 0 0 8px #ffffff, 0 0 22px #34d399, 0 0 45px #10b981, 0 0 80px #059669;
    transform: scale(1.01);
  }
  50% {
    color: #a855f7;
    text-shadow: 0 0 10px #ffffff, 0 0 26px #c084fc, 0 0 52px #a855f7, 0 0 90px #7c3aed, 0 0 135px rgba(168, 85, 247, 0.8);
    transform: scale(1.03);
  }
  68% {
    /* Ani voltaj düşüşü */
    opacity: 0.08;
    color: #581c87;
    text-shadow: none;
  }
  69% {
    /* Yeniden disco patlaması */
    opacity: 1;
    color: #2dd4bf;
    text-shadow: 0 0 12px #ffffff, 0 0 30px #2dd4bf, 0 0 58px #06b6d4, 0 0 95px #0284c7;
    transform: scale(1.035);
  }
  85% {
    color: #06b6d4;
    text-shadow: 0 0 8px #ffffff, 0 0 22px #06b6d4, 0 0 44px #0284c7, 0 0 80px #0ea5e9;
    transform: scale(1);
  }
}

@keyframes electricSurgeFlicker {
  0%, 100% { opacity: 0.8; }
  14.5% { opacity: 0.08; }
  15.5% { opacity: 1; }
  16.5% { opacity: 0.18; }
  17.5% { opacity: 0.85; }
  52.5% { opacity: 0.04; }
  54.5% { opacity: 1; }
}

.dashboard-hero-right {
  position: relative;
  z-index: 1;
  min-width: 320px;
  justify-self: end;
}

.dashboard-hero-plan-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  min-width: 290px;
}

.dashboard-hero-plan-top {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.dashboard-hero-plan-tag {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  text-align: center;
}

.dashboard-hero-plan-status {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
}

.dashboard-hero-plan-status.active {
  background: rgba(52, 211, 153, 0.15);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.dashboard-hero-plan-title-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  text-align: center;
}

.dashboard-hero-plan-title {
  font-size: 18px;
  font-weight: 900;
  color: #f8fafc;
  letter-spacing: -0.01em;
}

.dashboard-hero-plan-desc {
  font-size: 12px;
  color: #94a3b8;
}

.dashboard-hero-plan-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  text-align: center;
}

.dashboard-hero-plan-meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.dashboard-hero-plan-lbl {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.05em;
}

.dashboard-hero-plan-val {
  font-size: 12.5px;
  font-weight: 700;
  color: #e2e8f0;
}

.dashboard-hero-plan-val.highlight {
  color: #2dd4bf;
  font-weight: 800;
}

.dashboard-hero-plan-meta-sep {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.06);
}

.dashboard-hero-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0d9488 0%, #0284c7 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.dashboard-hero-btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.45);
  color: #ffffff;
}

/* ══════════════════════════════════════════════
   3-Column Key Hub Cards
   ══════════════════════════════════════════════ */
.dashboard-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}

.dashboard-hub-card {
  position: relative;
  background: linear-gradient(135deg, rgba(16, 22, 34, 0.75) 0%, rgba(10, 14, 22, 0.85) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow: 0 8px 32px -4px rgba(0, 0, 0, 0.35);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 290px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.dashboard-hub-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.16);
}

.dashboard-hub-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dashboard-hub-card-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dashboard-hub-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid transparent;
}

.dashboard-hub-icon.teal {
  background: rgba(45, 212, 191, 0.12);
  color: #2dd4bf;
  border-color: rgba(45, 212, 191, 0.25);
  box-shadow: 0 0 14px rgba(45, 212, 191, 0.15);
}

.dashboard-hub-icon.purple {
  background: rgba(167, 139, 250, 0.12);
  color: #a78bfa;
  border-color: rgba(167, 139, 250, 0.25);
  box-shadow: 0 0 14px rgba(167, 139, 250, 0.15);
}

.dashboard-hub-icon.blue {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.25);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.15);
}

.dashboard-hub-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #f8fafc;
  display: block;
}

.dashboard-hub-subtitle {
  font-size: 11px;
  color: #64748b;
  display: block;
  margin-top: 1px;
}

.dashboard-hub-link {
  font-size: 11.5px;
  color: #38bdf8;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}

.dashboard-hub-link:hover {
  color: #7dd3fc;
}

.dashboard-hub-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Device Box Styles */
.dashboard-device-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dashboard-device-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.dashboard-device-info-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dashboard-device-name {
  font-size: 14px;
  font-weight: 700;
  color: #f1f5f9;
}

.dashboard-device-os {
  font-size: 11px;
  color: #64748b;
}

.dashboard-device-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

.dashboard-device-badge.active {
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.25);
}

.dashboard-device-meta-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.dashboard-device-meta-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
}

.dashboard-device-meta-label {
  color: #64748b;
}

.dashboard-device-meta-value {
  color: #cbd5e1;
  font-weight: 600;
}

.dashboard-device-meta-value.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #38bdf8;
  font-size: 11px;
}

.dashboard-device-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 12px;
  gap: 8px;
  color: #64748b;
}

.dashboard-device-empty-title {
  font-size: 13px;
  font-weight: 700;
  color: #cbd5e1;
}

.dashboard-device-empty-desc {
  font-size: 11px;
  line-height: 1.4;
  max-width: 280px;
}

/* Software Hub Styles */
.software-hub .dashboard-hub-body {
  display: flex;
}

.dashboard-software-box {
  width: 100%;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dashboard-software-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
}

.dashboard-software-version-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #f8fafc;
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.25);
  padding: 3px 9px;
  border-radius: 6px;
}

.dashboard-software-version-badge .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a78bfa;
  box-shadow: 0 0 8px #a78bfa;
}

.dashboard-software-arch {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
}

.dashboard-software-features {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.dashboard-software-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: #cbd5e1;
}

/* Security Hub Styles */
.dashboard-security-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dashboard-security-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
}

.dashboard-security-item-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.dashboard-security-item-icon.green {
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
}

.dashboard-security-item-icon.blue {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
}

.dashboard-security-item-icon.purple {
  background: rgba(167, 139, 250, 0.12);
  color: #a78bfa;
}

.dashboard-security-item-content {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex-grow: 1;
  min-width: 0;
}

.dashboard-security-item-title {
  font-size: 12px;
  font-weight: 700;
  color: #f1f5f9;
}

.dashboard-security-item-desc {
  font-size: 10.5px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-security-item-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  flex-shrink: 0;
}

.dashboard-security-item-badge.active {
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
}

.dashboard-security-item-badge.neutral {
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
}

/* Hub Footers */
.dashboard-hub-footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dashboard-hub-footer-hint {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 10.5px;
  color: #64748b;
  line-height: 1.35;
}

.dashboard-hub-footer-hint svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.dashboard-hub-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0d9488 0%, #0284c7 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.dashboard-hub-btn-primary:hover {
  filter: brightness(1.1);
  color: #ffffff;
}

.dashboard-hub-btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.dashboard-hub-btn-outline:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* ══════════════════════════════════════════════
   Split History Grid (Left: Activity, Right: Payments)
   ══════════════════════════════════════════════ */
.dashboard-history-split-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 18px;
  margin-bottom: 22px;
}

@media (max-width: 1200px) {
  .dashboard-hub-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-hero-vip {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .dashboard-hero-left {
    justify-self: center;
  }
  .dashboard-hero-right {
    min-width: auto;
    width: 100%;
    justify-self: stretch;
  }
  .dashboard-history-split-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════
   KOHLAS Downloads Page Redesign Styles
   ══════════════════════════════════════════════ */
.downloads-header-card {
  background: radial-gradient(circle at 50% 0%, rgba(20, 184, 166, 0.08) 0%, transparent 70%), #0b0e14;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.downloads-header-center {
  width: 100%;
  text-align: center;
}

.downloads-header-desc {
  display: inline-block;
  font-size: 13.5px;
  color: var(--text-secondary);
  max-width: 1200px;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .downloads-header-desc {
    white-space: normal;
  }
}

.downloads-header-stats-centered {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
}

.downloads-status-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 18px;
  border-radius: 12px;
  display: flex;
  gap: 14px;
  align-items: center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.downloads-status-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(45, 212, 191, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.4), 0 0 18px rgba(45, 212, 191, 0.14);
}

.downloads-status-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.15);
  display: grid;
  place-items: center;
  color: #2dd4bf;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(45, 212, 191, 0.12);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.downloads-status-card:hover .downloads-status-icon-box {
  transform: scale(1.08);
  box-shadow: 0 0 18px rgba(45, 212, 191, 0.25);
}

.downloads-status-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.downloads-status-lbl {
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.downloads-status-val {
  font-size: 14.5px;
  font-weight: 800;
  color: #2dd4bf;
  line-height: 1.2;
}

.downloads-status-desc {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Main Hero Download Section - Split into 2 Balanced, Distinct Cards */
.downloads-hero-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 20px;
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .downloads-hero-split-grid {
    grid-template-columns: 1fr;
  }
}

.downloads-hero-box-left {
  position: relative;
  background: linear-gradient(135deg, rgba(16, 22, 34, 0.82) 0%, rgba(10, 14, 22, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.downloads-hero-box-left:hover {
  transform: translateY(-3px);
  border-color: rgba(45, 212, 191, 0.38);
  box-shadow: 0 22px 50px -10px rgba(0, 0, 0, 0.65), 0 0 32px rgba(45, 212, 191, 0.15);
}

.downloads-hero-box-right {
  position: relative;
  background: linear-gradient(135deg, rgba(16, 22, 34, 0.82) 0%, rgba(10, 14, 22, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.downloads-hero-box-right:hover {
  transform: translateY(-3px);
  border-color: rgba(45, 212, 191, 0.38);
  box-shadow: 0 22px 50px -10px rgba(0, 0, 0, 0.65), 0 0 32px rgba(45, 212, 191, 0.15);
}

.downloads-hero-left-content {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  min-width: 0;
}

.downloads-win-badge {
  width: 80px;
  height: 80px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.03));
  border: 1px solid rgba(59, 130, 246, 0.22);
  display: grid;
  place-items: center;
  color: #38bdf8;
  filter: drop-shadow(0 0 16px rgba(56, 189, 248, 0.3));
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.downloads-hero-box-left:hover .downloads-win-badge {
  transform: scale(1.05);
}

.downloads-hero-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.downloads-hero-name-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.downloads-hero-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
}

.downloads-hero-badge {
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.25);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.downloads-hero-meta {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 500;
}

.downloads-hero-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: 1px;
}

.downloads-hash-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 16px;
  border-radius: 9px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  color: #94a3b8;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.downloads-hash-box:hover {
  border-color: rgba(45, 212, 191, 0.3);
}

.downloads-hash-label {
  font-weight: 800;
  color: #38bdf8;
  text-transform: uppercase;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.downloads-hash-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-grow: 1;
  letter-spacing: 0.02em;
  color: #cbd5e1;
}

.downloads-hash-copy {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 4px;
  min-height: auto;
  box-shadow: none;
  transition: color 0.15s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.downloads-hash-copy:hover {
  color: #2dd4bf;
  transform: scale(1.15);
}

.downloads-hero-action-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 720px;
}

.downloads-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  gap: 24px;
}

.downloads-tool { min-width: 0; }
.downloads-tool-heading { display: flex; align-items: center; gap: 10px; }
.downloads-tool-heading h2 { margin: 0; font-size: 16px; color: var(--text); }
.downloads-tool-number { color: #5eead4; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; }
.downloads-tool-description { color: var(--text-secondary); font-size: 12px; margin: 8px 0 18px; min-height: 34px; }
.downloads-tool .downloads-main-btn { font-size: 13px; padding: 0 8px; gap: 8px; }
.downloads-tool .downloads-main-btn small { display: block; font-size: 11px; font-weight: 500; opacity: 0.85; margin-top: 3px; }
.downloads-tool .downloads-driver-btn { background: #193638; border: 1px solid #376c68; box-shadow: none; }
.downloads-scan { display: flex; flex-direction: column; justify-content: center; min-height: 58px; gap: 4px; padding: 10px 12px; margin-top: 12px; border: 1px solid rgba(148, 163, 184, 0.18); border-radius: 10px; text-decoration: none; color: #cbd5e1; font-size: 12px; box-sizing: border-box; }
.downloads-scan small { font-size: 11px; color: var(--text-secondary); }
a.downloads-scan:hover { border-color: #5eead4; color: #5eead4; background: rgba(45, 212, 191, 0.05); }
.downloads-scan-pending { border-style: dashed; }
.downloads-tool-note { font-size: 11px; line-height: 1.65; color: var(--text-secondary); margin: 12px 0 0; }
.downloads-guide-btn { max-width: 260px; margin-top: 8px; }
.downloads-tool .downloads-main-btn:focus-visible, .downloads-scan:focus-visible, .downloads-guide-btn:focus-visible { outline: 2px solid #5eead4; outline-offset: 4px; }

@media (min-width: 901px) and (max-width: 1200px) {
  .downloads-hero-split-grid { grid-template-columns: 1fr; }
}
@media (max-width: 580px) {
  .downloads-tools-grid { grid-template-columns: 1fr; gap: 24px; }
  .downloads-tool + .downloads-tool { border-top: 1px solid rgba(148, 163, 184, 0.18); padding-top: 24px; }
  .downloads-tool-description { min-height: 0; }
}

.downloads-main-btn {
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 50%, #0284c7 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  width: 100%;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(20, 184, 166, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.downloads-main-btn:hover:not(:disabled) {
  filter: brightness(1.1);
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 10px 32px rgba(20, 184, 166, 0.5), 0 0 22px rgba(2, 132, 199, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.downloads-main-btn:active:not(:disabled) {
  transform: translateY(0) scale(0.99);
}

.downloads-main-btn svg {
  transition: transform 0.25s ease;
}

.downloads-main-btn:hover:not(:disabled) svg {
  transform: translateY(2px) scale(1.08);
}

.downloads-main-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: grayscale(0.5);
  box-shadow: none;
}

.downloads-sub-btn {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  font-weight: 600;
  width: 100%;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  box-shadow: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.downloads-sub-btn:hover {
  background: rgba(45, 212, 191, 0.08);
  border-color: rgba(45, 212, 191, 0.45);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 0 14px rgba(45, 212, 191, 0.16);
}

.downloads-sub-btn svg:last-child {
  transition: transform 0.2s ease;
}

.downloads-sub-btn:hover svg:last-child {
  transform: translateX(4px);
  color: #2dd4bf;
}

/* Middle Grid: Requirements, Release Notes, Installation Status */
.downloads-mid-grid {
  display: grid;
  grid-template-columns: 1.25fr 1.25fr 1fr;
  gap: 18px;
  margin-bottom: 20px;
}

.downloads-mid-card {
  background: linear-gradient(135deg, rgba(16, 22, 34, 0.7) 0%, rgba(10, 14, 22, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.downloads-mid-card:hover {
  border-color: rgba(45, 212, 191, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 14px 35px -6px rgba(0, 0, 0, 0.45), 0 0 22px rgba(45, 212, 191, 0.14);
}

.downloads-mid-card:hover .downloads-mid-title svg {
  transform: scale(1.15);
  color: #2dd4bf;
}

.downloads-mid-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.downloads-mid-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.downloads-mid-title-btn {
  background: none;
  border: none;
  font-size: 11.5px;
  color: #2dd4bf;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
  min-height: auto;
  box-shadow: none;
}

.downloads-mid-title-btn:hover {
  background: rgba(45, 212, 191, 0.1);
  color: #38bdf8;
  transform: none;
}

.downloads-release-notes-scroll {
  max-height: 16rem;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #228d83 transparent;
  padding-right: 12px;
}

.downloads-release-notes-scroll:focus-visible {
  outline: 2px solid #14b8a6;
  outline-offset: 4px;
  border-radius: 4px;
}

.downloads-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.downloads-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.downloads-bullet-icon {
  width: 14px;
  height: 14px;
  color: #2dd4bf;
  flex-shrink: 0;
  margin-top: 3px;
}

.downloads-install-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  text-align: center;
  padding: 10px 0;
}

.downloads-status-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.25);
  display: grid;
  place-items: center;
  color: #34d399;
  margin-bottom: 14px;
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.15);
}

.downloads-status-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.downloads-status-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.downloads-status-badge-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
}

.downloads-status-badge-icon {
  width: 8px;
  height: 8px;
  color: #34d399;
}

/* Bottom Row: Full Width Previous Versions */
.downloads-bottom-full {
  width: 100%;
}

.downloads-bottom-full .downloads-table-card {
  background: linear-gradient(135deg, rgba(16, 22, 34, 0.7) 0%, rgba(10, 14, 22, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.downloads-table-header-centered {
  text-align: center;
  margin-bottom: 20px;
}

.downloads-prev-title-centered {
  font-size: 17px;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: -0.01em;
  margin: 0;
}

.downloads-prev-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.downloads-prev-table th {
  padding: 12px 14px;
  font-size: 10.5px;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.downloads-prev-table td {
  padding: 14px;
  font-size: 13px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  vertical-align: middle;
}

.downloads-prev-table tbody tr:last-child td {
  border-bottom: none;
}

.downloads-prev-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.015);
  color: var(--text);
}

.downloads-row-current td {
  background: rgba(13, 148, 136, 0.04);
}

.downloads-ver-code {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-weight: 700;
  color: #cbd5e1;
}

.downloads-ver-code.active {
  color: #2dd4bf;
  font-weight: 800;
}

.downloads-badge-current {
  background: rgba(45, 212, 191, 0.12);
  color: #2dd4bf;
  border: 1px solid rgba(45, 212, 191, 0.28);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.downloads-badge-stable {
  background: rgba(148, 163, 184, 0.08);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.15);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
}

/* Green Action Button for Current Version */
.downloads-btn-action-green {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  border: none;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: auto;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
  transition: all 0.2s ease;
}

.downloads-btn-action-green:hover:not(:disabled) {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.45);
}

.downloads-btn-action-green:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

/* Red Action Button for Mock Previous Versions */
.downloads-btn-action-red {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  color: #ffffff;
  border: none;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: auto;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.25);
  transition: all 0.2s ease;
}

.downloads-btn-action-red:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4);
}

.downloads-warning-banner {
  background: rgba(251, 191, 36, 0.03);
  border: 1px solid rgba(251, 191, 36, 0.12);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: auto;
}

.downloads-warning-icon {
  width: 18px;
  height: 18px;
  color: #fbbf24;
  flex-shrink: 0;
}

.downloads-warning-text {
  font-size: 12.5px;
  color: #cbd5e1;
  line-height: 1.5;
}

/* ══════════════════════════════════════════════
   Release Notes & Guide Modal & Accordions
   ══════════════════════════════════════════════ */
.release-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.release-modal-overlay[hidden] {
  display: none;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.release-modal-card {
  width: 100%;
  max-width: 600px;
  background: rgba(11, 15, 23, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(45, 212, 191, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalPopIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.guide-modal-card {
  max-width: 560px;
}

@keyframes modalPopIn {
  from { opacity: 0; transform: scale(0.95) translateY(-10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.release-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.release-modal-title-box {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #2dd4bf;
}

.release-modal-heading {
  font-size: 17px;
  font-weight: 800;
  color: #f8fafc;
  margin: 0;
}

.release-modal-close {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.18s ease;
  min-height: auto;
  box-shadow: none;
  padding: 0;
}

.release-modal-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.release-modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 70vh;
  overflow-y: auto;
}

/* Guide Steps Specific Styling */
.guide-steps-container {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.guide-step-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 13px 18px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.guide-step-card:hover {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.06) 0%, rgba(56, 189, 248, 0.03) 100%);
  border-color: rgba(45, 212, 191, 0.3);
  transform: translateX(3px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.guide-step-card.highlight {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.08) 0%, rgba(20, 184, 166, 0.03) 100%);
  border-color: rgba(45, 212, 191, 0.35);
  box-shadow: 0 0 20px rgba(45, 212, 191, 0.08);
}

.guide-step-num {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: radial-gradient(circle at 30% 30%, rgba(56, 189, 248, 0.2), rgba(56, 189, 248, 0.05));
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  font-weight: 800;
  font-size: 13.5px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.15);
}

.guide-step-num.highlight {
  background: radial-gradient(circle at 30% 30%, rgba(45, 212, 191, 0.28), rgba(45, 212, 191, 0.08));
  border-color: rgba(45, 212, 191, 0.5);
  color: #2dd4bf;
  box-shadow: 0 0 16px rgba(45, 212, 191, 0.3);
}

.guide-step-text {
  font-size: 13.5px;
  color: #f1f5f9;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.release-accordion-item {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.release-accordion-item.open {
  border-color: rgba(45, 212, 191, 0.3);
  background: rgba(255, 255, 255, 0.035);
}

.release-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  min-height: auto;
  box-shadow: none;
  transition: background 0.15s ease;
}

.release-accordion-trigger:hover {
  background: rgba(255, 255, 255, 0.03);
}

.release-accordion-trigger-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.release-ver-pill {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  font-family: monospace;
}

.release-ver-pill.latest {
  background: rgba(45, 212, 191, 0.15);
  color: #2dd4bf;
  border: 1px solid rgba(45, 212, 191, 0.3);
}

.release-ver-pill.beta {
  background: rgba(167, 139, 250, 0.15);
  color: #a78bfa;
  border: 1px solid rgba(167, 139, 250, 0.3);
}

.release-trigger-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
}

.release-accordion-trigger-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.release-date-badge {
  font-size: 11.5px;
  color: var(--text-dim);
}

.release-chevron {
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.release-accordion-item.open .release-chevron {
  transform: rotate(180deg);
  color: #2dd4bf;
}

.release-accordion-content {
  padding: 0 18px 16px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.release-accordion-content[hidden] {
  display: none;
}

.release-notes-inner {
  padding-top: 14px;
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.6;
}

.release-notes-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.release-notes-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.release-point-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 8px rgba(45, 212, 191, 0.6);
  flex-shrink: 0;
}

@media (max-width: 1200px) {
  .downloads-header-stats-centered {
    grid-template-columns: repeat(2, 1fr);
  }
  .downloads-hero-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .downloads-hero-col-right {
    justify-content: flex-start;
  }
  .downloads-hero-action-group {
    max-width: 100%;
  }
  .downloads-mid-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .downloads-header-stats-centered {
    grid-template-columns: 1fr;
  }
  .downloads-hero-left-content {
    flex-direction: column;
  }
  .downloads-win-badge {
    width: 60px;
    height: 60px;
  }
}




/* ══════════════════════════════════════════════
   KOHLAS Licenses Page Redesign Styles
   ══════════════════════════════════════════════ */
.licenses-header-card {
  position: relative;
  background: radial-gradient(120% 120% at 0% 0%, rgba(20, 184, 166, 0.06) 0%, rgba(11, 15, 23, 0.96) 50%, rgba(7, 10, 16, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  margin-bottom: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.licenses-header-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(45, 212, 191, 0.4) 20%, rgba(56, 189, 248, 0.4) 80%, transparent 100%);
  pointer-events: none;
}

.licenses-header-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.licenses-header-title {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #f8fafc;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  margin: 0;
}

.licenses-header-desc {
  font-size: 13.5px;
  color: #94a3b8;
  max-width: 480px;
  line-height: 1.5;
  margin: 0;
}

.licenses-header-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.licenses-hdr-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 18px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.licenses-hdr-btn.primary {
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 50%, #0284c7 100%);
  color: #ffffff;
  border: 1px solid rgba(45, 212, 191, 0.4);
  box-shadow: 0 4px 16px rgba(20, 184, 166, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.licenses-hdr-btn.primary:hover {
  background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 50%, #0284c7 100%);
  color: #ffffff;
  box-shadow: 0 6px 24px rgba(20, 184, 166, 0.5), 0 0 20px rgba(2, 132, 199, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-2px) scale(1.01);
}

.licenses-hdr-btn.primary svg {
  transition: transform 0.2s ease;
}

.licenses-hdr-btn.primary:hover svg {
  transform: translateX(3px) scale(1.05);
}

.licenses-header-right {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  flex-shrink: 0;
}

@media (max-width: 1180px) {
  .licenses-header-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .licenses-header-right {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .licenses-header-right {
    grid-template-columns: 1fr;
  }
}

.licenses-status-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 18px;
  border-radius: 12px;
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 145px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.licenses-status-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(45, 212, 191, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.4), 0 0 18px rgba(45, 212, 191, 0.14);
}

.licenses-status-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.licenses-status-card:hover .licenses-status-icon-box {
  transform: scale(1.08);
}

.licenses-status-icon-box.teal {
  background: rgba(20, 184, 166, 0.1);
  color: #2dd4bf;
  border: 1px solid rgba(20, 184, 166, 0.25);
}

.licenses-status-icon-box.blue {
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.licenses-status-icon-box.orange {
  background: rgba(249, 115, 22, 0.1);
  color: #fb923c;
  border: 1px solid rgba(249, 115, 22, 0.25);
}

.licenses-status-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.licenses-status-lbl {
  font-size: 10px;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 750;
  letter-spacing: 0.05em;
}

.licenses-status-val {
  font-size: 14px;
  font-weight: 850;
  color: #f8fafc;
  line-height: 1.2;
}

.licenses-status-val.teal {
  color: #2dd4bf;
  text-shadow: 0 0 10px rgba(45, 212, 191, 0.3);
}

.licenses-status-desc {
  font-size: 10.5px;
  color: #475569;
}

.licenses-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  background: rgba(11, 15, 23, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 8px 14px;
  backdrop-filter: blur(12px);
  flex-wrap: wrap;
}

.licenses-filter-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.licenses-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.025);
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: auto;
  box-shadow: none;
}

.licenses-filter-pill:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
  transform: translateY(-1px);
}

.licenses-filter-pill.active {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.16), rgba(56, 189, 248, 0.1));
  border-color: rgba(45, 212, 191, 0.35);
  color: #2dd4bf;
  box-shadow: 0 4px 16px rgba(20, 184, 166, 0.15);
}

.licenses-filter-pill .pill-title {
  letter-spacing: 0.01em;
}

.licenses-filter-pill .pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
}

.licenses-filter-pill.active .pill-count {
  background: rgba(45, 212, 191, 0.25);
  color: #ffffff;
}

.licenses-filter-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.licenses-filter-legend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #64748b;
  font-weight: 600;
}

.legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.legend-dot.green {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

.legend-dot.blue {
  background: #38bdf8;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

.legend-dot.orange {
  background: #f97316;
  box-shadow: 0 0 8px rgba(249, 115, 22, 0.6);
}

.licenses-list-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

/* ══════════════════════════════════════════════
   Redesigned Premium Licenses Datagrid (Ultra-Clean, Single Row)
   ══════════════════════════════════════════════ */
/* ══════════════════════════════════════════════
   Redesigned Premium Licenses Datagrid (Ultra-Clean, Single Row)
   ══════════════════════════════════════════════ */
.licenses-datagrid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.licenses-datagrid-header {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) minmax(250px, 1.8fr) minmax(120px, 1fr) minmax(150px, 1.2fr) minmax(180px, 1.4fr) minmax(290px, auto);
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.license-row-item {
  position: relative;
  background: rgba(13, 17, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.license-row-item:hover {
  background: rgba(18, 24, 38, 0.95);
  border-color: rgba(45, 212, 191, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 18px rgba(45, 212, 191, 0.12);
}

.license-row-main {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) minmax(250px, 1.8fr) minmax(120px, 1fr) minmax(150px, 1.2fr) minmax(180px, 1.4fr) minmax(290px, auto);
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
}

.ldg-col {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Col: Product */
.col-product {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ldg-product-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: #94a3b8;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.license-row-item:hover .ldg-product-icon {
  background: rgba(20, 184, 166, 0.1);
  border-color: rgba(45, 212, 191, 0.3);
  color: #2dd4bf;
}

.ldg-product-icon.sample {
  background: rgba(245, 158, 11, 0.06);
  border-color: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}

.ldg-product-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ldg-product-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1.2;
}

.ldg-plan-pill {
  font-size: 10.5px;
  font-weight: 650;
  color: #94a3b8;
}

.ldg-sample-tag {
  font-size: 8.5px;
  font-weight: 800;
  color: #f59e0b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(245, 158, 11, 0.1);
  padding: 1px 4px;
  border-radius: 3px;
  display: inline-block;
  width: fit-content;
}

/* Col: Key (Strict single line, click-to-copy) */
.col-key {
  display: flex;
  align-items: center;
}

.license-raw-key-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  flex-wrap: nowrap;
  flex-shrink: 0;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.license-raw-key-box:hover {
  background: rgba(0, 0, 0, 0.6);
  border-color: rgba(45, 212, 191, 0.35);
  transform: translateY(-1px);
}

.license-raw-key-box:active {
  transform: scale(0.98);
}

.license-key-code.clickable-key {
  font-family: 'SF Mono', Monaco, Consolas, 'Courier New', monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #e2e8f0;
  cursor: pointer;
  user-select: all;
  white-space: nowrap;
}

.copy-hint-badge {
  font-size: 9.5px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.18s ease;
}

.license-raw-key-box:hover .copy-hint-badge {
  color: #2dd4bf;
  background: rgba(45, 212, 191, 0.12);
}

/* Col: Status */
.ldg-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 750;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.ldg-status-badge.active {
  background: rgba(34, 197, 94, 0.08);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.ldg-status-badge.available {
  background: rgba(56, 189, 248, 0.08);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.ldg-status-badge.expired {
  background: rgba(245, 158, 11, 0.08);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

/* Col: Device */
.ldg-device-active {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #cbd5e1;
  font-weight: 600;
  white-space: nowrap;
}

.ldg-device-active svg {
  color: #38bdf8;
  flex-shrink: 0;
}

.ldg-device-empty {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 500;
  white-space: nowrap;
}

/* Col: Expiry */
.ldg-expiry-val {
  font-size: 12px;
  font-weight: 650;
  color: #94a3b8;
  white-space: nowrap;
}

.ldg-expiry-val.green {
  color: #4ade80;
}

.ldg-expiry-val.yellow {
  color: #fbbf24;
}

.ldg-expiry-val.dim {
  color: #475569;
}

/* Col: Actions */
.col-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: nowrap;
}

.license-action-btn.outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.license-action-btn.outline:hover {
  color: #ffffff;
  background: rgba(45, 212, 191, 0.08);
  border-color: rgba(45, 212, 191, 0.4);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), 0 0 12px rgba(45, 212, 191, 0.15);
  transform: translateY(-2px);
}

.ldg-action-btn-renew {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 750;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(45, 212, 191, 0.3));
  border: 1px solid rgba(45, 212, 191, 0.45);
  color: #2dd4bf;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(20, 184, 166, 0.2);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.ldg-action-btn-renew:hover {
  background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 100%);
  color: #022c22;
  border-color: #2dd4bf;
  box-shadow: 0 4px 20px rgba(45, 212, 191, 0.5), 0 0 16px rgba(45, 212, 191, 0.3);
  transform: translateY(-2px) scale(1.02);
}

@media (max-width: 1100px) {
  .licenses-datagrid-header {
    display: none;
  }
  .license-row-main {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .col-actions {
    grid-column: span 2;
    justify-content: flex-start;
  }
}

.licenses-bottom-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}
.licenses-history-card {
  background: #0b0e14;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}
.licenses-history-card:hover {
  border-color: rgba(45, 212, 191, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.5), 0 0 20px rgba(45, 212, 191, 0.12);
}
.licenses-history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.licenses-history-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
}
.licenses-history-card .downloads-prev-table-shell {
  max-height: 360px;
  overflow-y: auto;
  scrollbar-width: none; /* Firefox gizli scroll */
  -ms-overflow-style: none; /* IE/Edge gizli scroll */
  border-radius: 8px;
}
.licenses-history-card .downloads-prev-table-shell::-webkit-scrollbar {
  display: none; /* Chrome/Safari gizli scroll */
}
.licenses-history-card .downloads-prev-table thead th {
  position: sticky;
  top: 0;
  background: #0e121b;
  z-index: 2;
}
.licenses-history-link {
  font-size: 11px;
  color: #14b8a6;
  font-weight: 600;
  text-decoration: none;
}
.licenses-history-link:hover {
  color: #0d9488;
}
.licenses-history-link {
  font-size: 11px;
  color: #14b8a6;
  font-weight: 600;
  text-decoration: none;
}
.licenses-history-link:hover {
  color: #0d9488;
}

.licenses-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.licenses-sidebar-card {
  background: #0b0e14;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}
.licenses-sidebar-card:hover {
  border-color: rgba(45, 212, 191, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.5), 0 0 20px rgba(45, 212, 191, 0.12);
}
.licenses-sidebar-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.licenses-sidebar-card-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
}
.licenses-sidebar-card-link {
  font-size: 11px;
  color: #14b8a6;
  font-weight: 600;
  text-decoration: none;
}
.licenses-sidebar-card-link:hover {
  color: #0d9488;
}

.device-assignment-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
.device-assignment-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.01);
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: 8px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.device-assignment-item:hover {
  transform: translateX(3px);
  border-color: rgba(45, 212, 191, 0.2);
  background: rgba(255, 255, 255, 0.03);
}
.device-assignment-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.04);
  color: var(--text-dim);
  display: grid;
  place-items: center;
}
.device-assignment-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-grow: 1;
  min-width: 0;
}
.device-assignment-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
}
.device-assignment-meta {
  font-size: 10px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.device-assignment-status {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
}
.device-assignment-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.device-assignment-status-dot.green { background: #4ade80; box-shadow: 0 0 8px rgba(74,222,128,0.4); }
.device-assignment-status-dot.orange { background: #fbbf24; box-shadow: 0 0 8px rgba(251,191,36,0.4); }
.device-assignment-status.green { color: #4ade80; }
.device-assignment-status.orange { color: #fbbf24; }

.device-assignment-add-btn {
  width: 100%;
  height: 38px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  min-height: auto;
  box-shadow: none;
}
.device-assignment-add-btn:hover {
  background: rgba(45, 212, 191, 0.08);
  color: #ffffff;
  border-color: rgba(45, 212, 191, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), 0 0 12px rgba(45, 212, 191, 0.15);
}

.license-rights-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.license-rights-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
}
.license-rights-icon {
  width: 14px;
  height: 14px;
  color: #14b8a6;
  flex-shrink: 0;
  margin-top: 1px;
}
.license-rights-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.license-rights-title {
  font-weight: 700;
  color: var(--text);
}
.license-rights-desc {
  color: var(--text-muted);
  font-size: 10.5px;
}

@media (max-width: 1200px) {
  .licenses-header-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .licenses-header-right {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }
  .licenses-bottom-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .licenses-header-right {
    grid-template-columns: 1fr;
  }
  .licenses-filter-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .licenses-search-wrapper {
    width: 100%;
  }
  .license-card-details {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════
   KOHLAS Devices Page Redesign Styles
   ══════════════════════════════════════════════ */
.devices-header-card {
  background: radial-gradient(circle at 10% 20%, rgba(20, 184, 166, 0.04) 0%, transparent 60%), #0b0e14;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 16px;
}
.devices-header-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.devices-header-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
}
.devices-header-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  max-width: 480px;
}
.devices-header-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.devices-hdr-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}
.devices-hdr-btn.primary {
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 50%, #0284c7 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 16px rgba(20, 184, 166, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.devices-hdr-btn.primary:hover {
  background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 50%, #0284c7 100%);
  color: #ffffff;
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 6px 24px rgba(20, 184, 166, 0.5), 0 0 20px rgba(2, 132, 199, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.devices-header-right {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  flex-shrink: 0;
}
.devices-status-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 16px;
  border-radius: 10px;
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 140px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.devices-status-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(45, 212, 191, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.4), 0 0 16px rgba(45, 212, 191, 0.12);
}
.devices-status-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.devices-status-card:hover .devices-status-icon-box {
  transform: scale(1.08);
}
.devices-status-icon-box.teal { background: rgba(20, 184, 166, 0.08); color: #14b8a6; border: 1px solid rgba(20, 184, 166, 0.2); }
.devices-status-icon-box.blue { background: rgba(59, 130, 246, 0.08); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.2); }
.devices-status-icon-box.orange { background: rgba(251, 191, 36, 0.08); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.2); }

.devices-status-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.devices-status-lbl {
  font-size: 9.5px;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.devices-status-val {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text);
}
.devices-status-val.teal { color: #14b8a6; }
.devices-status-desc {
  font-size: 9.5px;
  color: var(--text-muted);
}

.devices-filter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.devices-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 4px;
  border-radius: 8px;
  gap: 2px;
}
.devices-tab-btn {
  background: none;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: auto;
  box-shadow: none;
}
.devices-tab-btn:hover {
  color: #ffffff;
  transform: translateY(-1px);
}
.devices-tab-btn.active {
  background: rgba(45, 212, 191, 0.12);
  border-color: rgba(45, 212, 191, 0.3);
  color: #2dd4bf;
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.2);
}
.devices-search-wrapper {
  display: flex;
  align-items: center;
  position: relative;
}
.devices-search-input {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 8px 12px 8px 32px;
  font-size: 12.5px;
  color: var(--text);
  width: 200px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.devices-search-input:focus {
  border-color: rgba(45, 212, 191, 0.45);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.15), 0 0 16px rgba(45, 212, 191, 0.1);
  outline: none;
  width: 240px;
}
.devices-search-input::placeholder {
  color: var(--text-muted);
}
.devices-search-icon {
  position: absolute;
  left: 10px;
  color: var(--text-muted);
  pointer-events: none;
}
.devices-filter-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
  margin-left: 8px;
}
.devices-filter-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.devices-list-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.device-card {
  background: linear-gradient(135deg, rgba(16, 22, 34, 0.82) 0%, rgba(10, 14, 22, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}
.device-card:hover {
  border-color: rgba(45, 212, 191, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 14px 35px -6px rgba(0, 0, 0, 0.5), 0 0 22px rgba(45, 212, 191, 0.14);
}
.device-card:hover .device-card-icon {
  transform: scale(1.08);
}
.device-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.device-card-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.device-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
  color: #14b8a6;
  box-shadow: 0 0 15px rgba(20, 184, 166, 0.08);
}
.device-card-icon.blue {
  color: #3b82f6;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.08);
}
.device-card-icon.orange {
  color: #fbbf24;
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.08);
}
.device-card-title-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.device-card-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.device-card-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}
.device-card-badge {
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}
.device-card-badge.active {
  background: rgba(74, 222, 128, 0.08);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.15);
}
.device-card-badge.pending {
  background: rgba(251, 191, 36, 0.08);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.15);
}
.device-license-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}
.device-license-lbl {
  color: var(--text-dim);
  font-size: 11px;
}
.device-license-link-icon {
  color: var(--text-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.device-license-link-icon:hover {
  color: var(--text);
}

.device-card-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.device-detail-col {
  display: flex;
  flex-direction: column;
}
.device-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.device-detail-icon {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.device-detail-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 700;
}
.device-detail-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  line-height: 1.4;
}
.device-detail-val.yellow { color: #fbbf24; }
.device-detail-val.orange { color: #f97316; }

.device-usage-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}
.device-usage-bar-bg {
  flex-grow: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 3px;
  overflow: hidden;
  max-width: 100px;
}
.device-usage-bar-fill {
  height: 100%;
  background: #14b8a6;
  border-radius: 3px;
}

.device-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.device-footer-left {
  display: flex;
  gap: 8px;
}
.device-action-btn {
  background: none;
  border: none;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: auto;
  box-shadow: none;
}
.device-action-btn.outline {
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.device-action-btn.outline:hover {
  background: rgba(45, 212, 191, 0.08);
  border-color: rgba(45, 212, 191, 0.45);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), 0 0 12px rgba(45, 212, 191, 0.15);
  transform: translateY(-2px);
}
.device-action-btn.outline-red {
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #f87171;
  background: rgba(239, 68, 68, 0.04);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.device-action-btn.outline-red:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.45);
  color: #fca5a5;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.25), 0 0 12px rgba(239, 68, 68, 0.12);
  transform: translateY(-2px);
}
.device-more-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  min-height: auto;
  box-shadow: none;
}
.device-more-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.devices-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 16px;
}
.devices-history-card {
  background: #0b0e14;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}
.devices-history-card:hover {
  border-color: rgba(45, 212, 191, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.5), 0 0 20px rgba(45, 212, 191, 0.12);
}
.devices-history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.devices-history-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}
.devices-history-link {
  font-size: 11.5px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
}
.devices-history-link:hover {
  color: #14b8a6;
}

.devices-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.devices-sidebar-card {
  background: #0b0e14;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}
.devices-sidebar-card:hover {
  border-color: rgba(45, 212, 191, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.5), 0 0 20px rgba(45, 212, 191, 0.12);
}
.devices-sidebar-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.devices-sidebar-card-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
}
.devices-sidebar-card-link {
  font-size: 11px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
}
.devices-sidebar-card-link:hover {
  color: #14b8a6;
}

.device-rules-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.device-rules-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
}
.device-rules-icon {
  width: 14px;
  height: 14px;
  color: #14b8a6;
  flex-shrink: 0;
  margin-top: 1px;
}
.device-rules-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.device-rules-title {
  font-weight: 700;
  color: var(--text);
}
.device-rules-desc {
  color: var(--text-muted);
  font-size: 10.5px;
}

@media (max-width: 1200px) {
  .devices-header-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .devices-header-right {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }
  .devices-bottom-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .devices-header-right {
    grid-template-columns: 1fr;
  }
  .devices-filter-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .devices-search-wrapper {
    width: 100%;
  }
  .device-card-details {
    grid-template-columns: 1fr;
  }
}

}

/* ══════════════════════════════════════════════
   Devices Page — focused workspace refinement
   ══════════════════════════════════════════════ */
.devices-page {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.devices-page .devices-header-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.48fr);
  align-items: stretch;
  gap: 28px;
  padding: 28px;
  border-radius: 16px;
  background:
    linear-gradient(120deg, rgba(15, 23, 42, 0.72), rgba(11, 14, 20, 0.98) 58%),
    #0b0e14;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.devices-page .devices-header-left {
  justify-content: center;
  min-height: 154px;
  padding-right: 28px;
  border-right: 1px solid rgba(148, 163, 184, 0.12);
}

.devices-page .devices-header-title {
  font-size: clamp(26px, 2.3vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.devices-page .devices-header-desc {
  max-width: 420px;
  line-height: 1.6;
}

.devices-page .devices-header-right {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 10px;
}

.devices-page .devices-status-card {
  min-width: 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(148, 163, 184, 0.12);
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.devices-page .devices-status-card:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(148, 163, 184, 0.2);
  transform: translateY(-1px);
}

.devices-page .devices-status-icon-box {
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 18%, transparent);
}

.devices-page .devices-filter-row {
  margin-bottom: 14px;
  padding: 6px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 12px;
  background: rgba(11, 14, 20, 0.7);
}

.devices-page .devices-tabs {
  padding: 0;
  border: 0;
  background: transparent;
}

.devices-page .devices-tab-btn {
  min-height: 34px;
  padding: 7px 15px;
  border-radius: 8px;
  color: #94a3b8;
}

.devices-page .devices-tab-btn.active {
  color: #e2e8f0;
  background: rgba(148, 163, 184, 0.13);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.1);
}

.devices-filter-search {
  display: flex;
  align-items: center;
}

.devices-page .devices-search-input {
  width: 240px;
  background: rgba(2, 6, 23, 0.22);
  border-color: rgba(148, 163, 184, 0.12);
}

.devices-page .devices-search-input:focus {
  width: 260px;
  border-color: rgba(45, 212, 191, 0.42);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.07);
}

.devices-page .devices-list-grid {
  gap: 12px;
  margin-bottom: 18px;
}

.devices-page .device-card {
  gap: 18px;
  padding: 20px 22px;
  border-radius: 16px;
  background: linear-gradient(145deg, #0d1119, #0a0d13);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.devices-page .device-card:hover {
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.devices-page .device-card-details {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 16px 0;
  border-top-color: rgba(148, 163, 184, 0.1);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.devices-page .device-detail-col {
  min-width: 0;
  padding: 0 18px;
  border-left: 1px solid rgba(148, 163, 184, 0.1);
}

.devices-page .device-detail-col:first-child {
  padding-left: 0;
  border-left: 0;
}

.devices-page .device-card-footer {
  padding-top: 0;
  border-top: 0;
}

.devices-page .device-action-btn.outline {
  border-color: rgba(148, 163, 184, 0.16);
  border-radius: 8px;
}

.devices-page .devices-bottom-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 320px);
  align-items: start;
  gap: 18px;
}

.devices-page .devices-history-card,
.devices-page .devices-sidebar-card {
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.devices-page .devices-history-card {
  min-height: 0;
  padding: 22px;
}

.devices-page .devices-sidebar {
  gap: 12px;
}

.devices-page .devices-sidebar-card {
  padding: 20px;
}

.devices-page .devices-sidebar-card-header {
  margin-bottom: 16px;
}

.devices-page .device-rules-list {
  gap: 0;
}

.devices-page .device-rules-item {
  padding: 10px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.devices-page .device-rules-item:first-child {
  padding-top: 0;
}

.devices-page .device-rules-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

@media (max-width: 1200px) {
  .devices-page .devices-header-card {
    grid-template-columns: 1fr;
  }

  .devices-page .devices-header-left {
    min-height: 0;
    padding: 0 0 22px;
    border-right: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  }

  .devices-page .devices-bottom-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .devices-page .devices-header-card {
    gap: 18px;
    padding: 20px;
  }

  .devices-page .devices-header-right {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .devices-page .devices-filter-row {
    align-items: stretch;
    flex-direction: column;
  }

  .devices-filter-search,
  .devices-page .devices-search-wrapper,
  .devices-page .devices-search-input {
    width: 100%;
  }

  .devices-page .devices-search-input:focus {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .devices-page .devices-header-right,
  .devices-page .device-card-details {
    grid-template-columns: 1fr;
  }

  .devices-page .device-detail-col,
  .devices-page .device-detail-col:first-child {
    padding: 12px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
  }

  .devices-page .device-detail-col:first-child {
    padding-top: 0;
    border-top: 0;
  }
}

/* ══════════════════════════════════════════════
   Sessions — account access overview
   ══════════════════════════════════════════════ */
.sessions-page {
  display: grid;
  min-width: 0;
  gap: 16px;
}

.sessions-hero {
  position: relative;
  display: flex;
  min-height: 178px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  overflow: hidden;
  padding: 28px 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(16, 22, 34, 0.8) 0%, rgba(10, 14, 22, 0.95) 100%);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.sessions-hero:hover {
  border-color: rgba(45, 212, 191, 0.3);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.5), 0 0 24px rgba(45, 212, 191, 0.12);
}

.sessions-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(90deg, black, transparent 72%);
  pointer-events: none;
  content: "";
}

.sessions-hero::after {
  position: absolute;
  top: -120px;
  right: 12%;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(45, 212, 191, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(45, 212, 191, 0.018), 0 0 0 44px rgba(45, 212, 191, 0.012);
  pointer-events: none;
  content: "";
}

.sessions-hero-copy,
.sessions-hero-total {
  position: relative;
  z-index: 1;
}

.sessions-hero-copy {
  min-width: 0;
}

.sessions-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--text-dim);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.sessions-eyebrow-mark {
  width: 7px;
  height: 7px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.18);
}

.sessions-eyebrow-divider {
  width: 22px;
  height: 1px;
  background: rgba(148, 163, 184, 0.24);
}

.sessions-hero h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.sessions-hero p {
  max-width: 560px;
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.55;
}

.sessions-hero-total {
  display: grid;
  min-width: 152px;
  justify-items: end;
  gap: 5px;
  padding-left: 24px;
  border-left: 1px solid rgba(45, 212, 191, 0.22);
}

.sessions-hero-total-label,
.sessions-summary-label {
  color: var(--text-dim);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sessions-hero-total strong {
  color: var(--text);
  font-size: 34px;
  font-weight: 850;
  letter-spacing: -0.05em;
  line-height: 1;
}

.sessions-hero-total > span:last-child {
  color: var(--text-muted);
  font-size: 10.5px;
}

.sessions-feedback {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid rgba(45, 212, 191, 0.22);
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 12px;
  background: rgba(45, 212, 191, 0.055);
}

.sessions-feedback-icon {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  place-items: center;
  border: 1px solid rgba(45, 212, 191, 0.25);
  border-radius: 7px;
  color: var(--accent);
}

.sessions-feedback-icon svg {
  width: 14px;
  height: 14px;
}

.sessions-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.sessions-summary-card {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
  min-height: 92px;
  padding: 16px 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(16, 22, 34, 0.75) 0%, rgba(10, 14, 22, 0.9) 100%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.sessions-summary-card:hover {
  transform: translateY(-3px);
  border-color: rgba(45, 212, 191, 0.38);
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.4), 0 0 18px rgba(45, 212, 191, 0.15);
}

.sessions-summary-card:hover .sessions-summary-icon {
  transform: scale(1.1);
}

.sessions-summary-card::after {
  position: absolute;
  right: -24px;
  bottom: -36px;
  width: 100px;
  height: 100px;
  border: 1px solid rgba(148, 163, 184, 0.07);
  border-radius: 50%;
  pointer-events: none;
  content: "";
}

.sessions-summary-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border: 1px solid rgba(45, 212, 191, 0.2);
  border-radius: 10px;
  color: var(--accent);
  background: rgba(45, 212, 191, 0.055);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.sessions-summary-card-desktop .sessions-summary-icon {
  border-color: rgba(96, 165, 250, 0.2);
  color: var(--info);
  background: rgba(96, 165, 250, 0.055);
}

.sessions-summary-card-current .sessions-summary-icon {
  border-color: rgba(74, 222, 128, 0.2);
  color: var(--success);
  background: rgba(74, 222, 128, 0.055);
}

.sessions-summary-icon svg {
  width: 18px;
  height: 18px;
}

.sessions-summary-copy {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  gap: 3px;
}

.sessions-summary-copy strong {
  color: var(--text);
  font-size: 23px;
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1;
}

.sessions-summary-copy > span:last-child {
  color: var(--text-muted);
  font-size: 10.5px;
}

.sessions-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(16, 22, 34, 0.7) 0%, rgba(10, 14, 22, 0.85) 100%);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.sessions-card:hover {
  border-color: rgba(45, 212, 191, 0.25);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45), 0 0 20px rgba(45, 212, 191, 0.08);
}

.sessions-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 17px;
}

.sessions-section-heading-copy {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.sessions-section-heading-copy > span:last-child {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.sessions-section-heading h2 {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.sessions-section-heading p {
  margin: 0;
  color: var(--text-muted);
  font-size: 10.5px;
}

.sessions-section-icon {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  place-items: center;
  border: 1px solid rgba(45, 212, 191, 0.22);
  border-radius: 9px;
  color: var(--accent);
  background: rgba(45, 212, 191, 0.055);
}

.sessions-section-icon-desktop {
  border-color: rgba(96, 165, 250, 0.2);
  color: var(--info);
  background: rgba(96, 165, 250, 0.055);
}

.sessions-section-icon svg {
  width: 16px;
  height: 16px;
}

.sessions-section-count {
  flex: 0 0 auto;
  color: var(--text-dim);
  font-size: 10.5px;
  font-weight: 700;
}

.sessions-record-list {
  display: grid;
  gap: 10px;
}

.sessions-record {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: rgba(16, 23, 33, 0.56);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.sessions-record:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 212, 191, 0.35);
  background: rgba(18, 27, 38, 0.8);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 14px rgba(45, 212, 191, 0.12);
}

.sessions-record-current {
  border-color: rgba(45, 212, 191, 0.35);
  background: linear-gradient(110deg, rgba(17, 46, 49, 0.35), rgba(16, 23, 33, 0.65));
}

.sessions-record-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.sessions-record-identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.sessions-record-icon {
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  place-items: center;
  border: 1px solid rgba(45, 212, 191, 0.18);
  border-radius: 9px;
  color: var(--accent);
  background: rgba(45, 212, 191, 0.05);
}

.sessions-record-icon-desktop {
  border-color: rgba(96, 165, 250, 0.18);
  color: var(--info);
  background: rgba(96, 165, 250, 0.05);
}

.sessions-record-icon svg {
  width: 17px;
  height: 17px;
}

.sessions-record-name {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.sessions-record-name strong {
  overflow: hidden;
  color: var(--text);
  font-size: 12.5px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sessions-record-name > span,
.sessions-record-name small {
  overflow: hidden;
  color: var(--text-muted);
  font-size: 10.5px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sessions-record-name small {
  color: var(--text-dim);
}

.sessions-status {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 9.5px;
  font-weight: 800;
  white-space: nowrap;
}

.sessions-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.sessions-status.active {
  border-color: rgba(74, 222, 128, 0.26);
  color: var(--success);
  background: rgba(74, 222, 128, 0.055);
}

.sessions-status.expired {
  border-color: rgba(251, 191, 36, 0.24);
  color: var(--warning);
  background: rgba(251, 191, 36, 0.05);
}

.sessions-status.revoked {
  color: var(--text-muted);
  background: rgba(148, 163, 184, 0.045);
}

.sessions-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0 0;
}

.sessions-detail-grid > div {
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid rgba(148, 163, 184, 0.095);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.19);
}

.sessions-detail-grid dt {
  margin-bottom: 5px;
  color: var(--text-dim);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.sessions-detail-grid dd {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 10.5px;
  font-weight: 650;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sessions-monospace {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px !important;
}

.sessions-record-action {
  display: flex;
  justify-content: flex-end;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.09);
}

.sessions-revoke-button {
  min-height: 32px;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid rgba(248, 113, 113, 0.3);
  border-radius: 8px;
  color: #fca5a5;
  font-size: 10.5px;
  font-weight: 750;
  background: rgba(248, 113, 113, 0.065);
  box-shadow: none;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.sessions-revoke-button:hover {
  border-color: rgba(248, 113, 113, 0.55);
  color: #ffffff;
  background: rgba(248, 113, 113, 0.16);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(248, 113, 113, 0.25), 0 0 10px rgba(248, 113, 113, 0.15);
}

.sessions-revoke-button:active {
  transform: translateY(0);
}

.sessions-revoke-button svg {
  width: 14px;
  height: 14px;
}

.sessions-empty-state {
  display: grid;
  min-height: 150px;
  align-content: center;
  justify-items: center;
  gap: 9px;
  padding: 24px;
  border: 1px dashed rgba(148, 163, 184, 0.16);
  border-radius: 11px;
  text-align: center;
  background: rgba(2, 6, 23, 0.16);
}

.sessions-empty-icon {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 10px;
  color: var(--text-muted);
}

.sessions-empty-icon svg {
  width: 18px;
  height: 18px;
}

.sessions-empty-state strong {
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 650;
}

@media (max-width: 900px) {
  .sessions-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .sessions-hero {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    padding: 23px 20px;
  }

  .sessions-hero-total {
    width: 100%;
    min-width: 0;
    justify-items: start;
    padding: 14px 0 0;
    border-top: 1px solid rgba(45, 212, 191, 0.18);
    border-left: 0;
  }

  .sessions-summary-grid {
    grid-template-columns: 1fr;
  }

  .sessions-card {
    padding: 16px;
  }

  .sessions-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .sessions-record-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .sessions-status {
    margin-left: 46px;
  }
}

@media (max-width: 520px) {
  .sessions-detail-grid {
    grid-template-columns: 1fr;
  }

  .sessions-record {
    padding: 13px;
  }

  .sessions-record-action {
    justify-content: stretch;
  }

  .sessions-revoke-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sessions-record {
    transition: none;
  }
}

/* ══════════════════════════════════════════════
   Support ticket detail — shared conversation surface
   ══════════════════════════════════════════════ */
.support-detail-page {
  display: grid;
  min-width: 0;
  gap: 14px;
}

.support-detail-back-row {
  min-height: 22px;
}

.support-detail-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.support-detail-back-link:hover {
  color: #2dd4bf;
  transform: translateX(-3px);
}

.support-detail-back-link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}

.support-detail-back-link:hover svg {
  transform: translateX(-2px);
}

.support-detail-hero,
.support-detail-card,
.support-detail-conversation {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--bg-card);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.support-detail-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  border-radius: 16px;
  background: radial-gradient(circle at 10% 20%, rgba(20, 184, 166, 0.08) 0%, transparent 65%), #0b0e14;
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.45);
}

.support-detail-hero:hover {
  border-color: rgba(45, 212, 191, 0.35);
  box-shadow: 0 20px 48px -8px rgba(0, 0, 0, 0.55), 0 0 30px rgba(45, 212, 191, 0.1);
}

.support-detail-card:hover {
  border-color: rgba(45, 212, 191, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.45), 0 0 20px rgba(45, 212, 191, 0.12);
}

.support-detail-conversation:hover {
  border-color: rgba(45, 212, 191, 0.25);
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.45), 0 0 24px rgba(45, 212, 191, 0.08);
}

.support-detail-hero-copy {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.support-detail-kicker,
.support-detail-card-kicker {
  display: block;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.2;
}

.support-detail-reference {
  color: var(--text-dim);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.support-detail-hero h1 {
  max-width: 820px;
  margin: 0;
  overflow: hidden;
  color: var(--text);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-detail-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  color: var(--text-muted);
  font-size: 11px;
}

.support-detail-hero-status {
  display: grid;
  min-width: 190px;
  justify-items: end;
  gap: 4px;
  padding-left: 18px;
  border-left: 1px solid rgba(45, 212, 191, 0.24);
}

.support-detail-hero-status > span:not(.support-detail-status) {
  color: var(--text-dim);
  font-size: 10px;
}

.support-detail-hero-status strong {
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  text-align: right;
}

.support-detail-status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.support-detail-status.open,
.support-detail-status.waitingforsupport {
  border-color: rgba(45, 212, 191, 0.32);
  color: var(--accent);
  background: rgba(45, 212, 191, 0.07);
}

.support-detail-status.answered,
.support-detail-status.waitingforcustomer {
  border-color: rgba(251, 191, 36, 0.3);
  color: var(--warning);
  background: rgba(251, 191, 36, 0.06);
}

.support-detail-status.closed,
.support-detail-status.resolved {
  color: var(--text-muted);
  background: rgba(148, 163, 184, 0.05);
}

.support-detail-priority {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 700;
}

.support-detail-priority i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.support-detail-priority.high i {
  background: var(--warning);
}

.support-detail-priority.urgent i {
  background: var(--danger, #f87171);
}

.support-detail-layout {
  display: grid;
  grid-template-columns: minmax(245px, 0.3fr) minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}

.support-detail-sidebar {
  display: grid;
  min-width: 0;
  gap: 14px;
}

.support-detail-card,
.support-detail-conversation {
  min-width: 0;
  border-radius: 14px;
}

.support-detail-card {
  padding: 19px;
}

.support-detail-card-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
}

.support-detail-card-heading > div {
  display: grid;
  gap: 4px;
}

.support-detail-card-heading h2,
.support-detail-conversation-head h2,
.support-detail-reply-heading h2 {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.support-detail-card-icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border: 1px solid rgba(45, 212, 191, 0.24);
  border-radius: 9px;
  color: var(--accent);
  background: rgba(45, 212, 191, 0.055);
}

.support-detail-card-icon svg {
  width: 16px;
  height: 16px;
}

.support-detail-info-list {
  display: grid;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 10px;
  overflow: hidden;
}

.support-detail-info-list > div {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 10px;
  padding: 11px 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.support-detail-info-list > div:last-child {
  border-bottom: 0;
}

.support-detail-info-list dt {
  color: var(--text-dim);
  font-size: 10px;
  font-weight: 700;
}

.support-detail-info-list dd {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-detail-info-list dd .support-detail-status {
  vertical-align: middle;
  padding: 3px 7px;
  font-size: 8.5px;
}

.support-detail-monospace {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.support-detail-security-card {
  background: rgba(15, 23, 42, 0.34);
}

.support-detail-security-card .support-detail-card-heading {
  margin-bottom: 11px;
}

.support-detail-security-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 10.5px;
  line-height: 1.55;
}

.support-detail-conversation {
  overflow: hidden;
}

.support-detail-conversation-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 23px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.support-detail-conversation-head > div {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.support-detail-conversation-head h2 {
  overflow: hidden;
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-detail-message-count {
  flex: 0 0 auto;
  color: var(--text-dim);
  font-size: 10.5px;
  font-weight: 700;
}

.support-detail-message-list {
  display: grid;
  min-height: 320px;
  max-height: 620px;
  align-content: start;
  gap: 22px;
  padding: 25px 23px;
  overflow: auto;
  background: rgba(2, 6, 23, 0.18);
  scrollbar-color: rgba(148, 163, 184, 0.27) transparent;
  scrollbar-width: thin;
}

.support-detail-message {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.support-detail-message.is-customer {
  flex-direction: row-reverse;
}

.support-detail-message-avatar {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 800;
  background: rgba(15, 23, 42, 0.56);
}

.support-detail-message.is-support .support-detail-message-avatar {
  border-color: rgba(45, 212, 191, 0.28);
  color: var(--accent);
  background: rgba(45, 212, 191, 0.06);
}

.support-detail-message.is-customer .support-detail-message-avatar {
  border-color: rgba(96, 165, 250, 0.26);
  color: #93c5fd;
  background: rgba(96, 165, 250, 0.07);
}

.support-detail-message-content {
  display: grid;
  min-width: 0;
  max-width: min(82%, 720px);
  gap: 6px;
}

.support-detail-message.is-customer .support-detail-message-content {
  justify-items: end;
}

.support-detail-message-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.support-detail-message-author {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
}

.support-detail-message-author strong {
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-detail-message-author span {
  padding: 2px 5px;
  border: 1px solid rgba(45, 212, 191, 0.24);
  border-radius: 4px;
  color: var(--accent);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.support-detail-message-meta time {
  flex: 0 0 auto;
  color: var(--text-dim);
  font-size: 9.5px;
  white-space: nowrap;
}

.support-detail-message.is-customer .support-detail-message-meta {
  flex-direction: row-reverse;
}

.support-detail-message-bubble {
  width: fit-content;
  max-width: 100%;
  padding: 13px 15px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 5px 13px 13px 13px;
  color: var(--text-secondary);
  background: rgba(15, 23, 42, 0.52);
}

.support-detail-message.is-customer .support-detail-message-bubble {
  border-color: rgba(96, 165, 250, 0.2);
  border-radius: 13px 5px 13px 13px;
  background: rgba(30, 64, 175, 0.16);
}

.support-detail-message-bubble p {
  max-width: 100%;
  margin: 0;
  overflow-wrap: anywhere;
  color: inherit;
  font-size: 12px;
  line-height: 1.6;
  white-space: pre-wrap;
}

.support-detail-attachments {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid rgba(148, 163, 184, 0.13);
}

.support-detail-attachment {
  display: flex;
  min-width: 190px;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  background: rgba(2, 6, 23, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.support-detail-attachment:hover {
  transform: translateX(4px);
  border-color: rgba(45, 212, 191, 0.45);
  background: rgba(45, 212, 191, 0.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), 0 0 12px rgba(45, 212, 191, 0.12);
}

.support-detail-attachment-icon {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  place-items: center;
  border: 1px solid rgba(45, 212, 191, 0.22);
  border-radius: 7px;
  color: var(--accent);
}

.support-detail-attachment-icon svg {
  width: 14px;
  height: 14px;
}

.support-detail-attachment-copy {
  display: grid;
  min-width: 0;
  flex: 1 1 auto;
  gap: 3px;
}

.support-detail-attachment-copy strong,
.support-detail-attachment-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-detail-attachment-copy strong {
  color: var(--text-secondary);
  font-size: 10.5px;
  font-weight: 700;
}

.support-detail-attachment-copy small {
  color: var(--text-dim);
  font-size: 9px;
}

.support-detail-attachment-arrow {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  color: var(--text-dim);
}

.support-detail-empty {
  display: grid;
  min-height: 260px;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 30px 18px;
  border: 1px dashed rgba(148, 163, 184, 0.17);
  border-radius: 11px;
  text-align: center;
}

.support-detail-empty-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 4px;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 12px;
  color: var(--text-muted);
}

.support-detail-empty-icon svg {
  width: 21px;
  height: 21px;
}

.support-detail-empty strong {
  color: var(--text-secondary);
  font-size: 12px;
}

.support-detail-empty > span:last-child {
  color: var(--text-dim);
  font-size: 10.5px;
}

.support-detail-reply {
  display: grid;
  gap: 13px;
  padding: 20px 23px 23px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(8, 13, 19, 0.42);
}

.support-detail-reply-heading {
  display: grid;
  gap: 4px;
}

.support-detail-reply-heading h2 {
  font-size: 15px;
}

.support-detail-reply-heading p {
  margin: 0;
  color: var(--text-dim);
  font-size: 10.5px;
}

.support-detail-reply-form {
  display: grid;
  gap: 10px;
}

.support-detail-validation {
  margin: 0;
  font-size: 11px;
}

.support-detail-reply-field {
  display: grid;
  gap: 5px;
}

.support-detail-reply-field textarea {
  width: 100%;
  min-height: 100px;
  resize: vertical;
  font-size: 12px;
  line-height: 1.5;
}

.support-detail-reply-field > span:not(.sr-only) {
  color: var(--danger, #f87171);
  font-size: 10px;
}

.support-detail-reply-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.support-detail-upload-group {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.support-detail-upload-button {
  position: relative;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 10.5px;
  font-weight: 700;
  background: rgba(15, 23, 42, 0.3);
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}

.support-detail-upload-button:hover {
  border-color: rgba(45, 212, 191, 0.3);
  color: var(--accent);
  background: rgba(45, 212, 191, 0.05);
}

.support-detail-upload-button svg {
  width: 14px;
  height: 14px;
}

.support-detail-upload-button input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0;
}

.support-detail-upload-info {
  overflow: hidden;
  color: var(--text-dim);
  font-size: 9.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-detail-upload-info.has-files {
  color: var(--accent);
}

.support-detail-send-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 0;
  border-radius: 9px;
  color: #ffffff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 50%, #0284c7 100%);
  box-shadow: 0 4px 16px rgba(20, 184, 166, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.support-detail-send-button:hover {
  filter: brightness(1.1);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 24px rgba(20, 184, 166, 0.5), 0 0 18px rgba(2, 132, 199, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.support-detail-send-button svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.support-detail-send-button:hover svg {
  transform: translateX(3px) translateY(-1px);
}

.support-detail-closed {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 23px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(8, 13, 19, 0.42);
}

.support-detail-closed-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, 0.17);
  border-radius: 9px;
  color: var(--text-muted);
}

.support-detail-closed-icon svg {
  width: 17px;
  height: 17px;
}

.support-detail-closed > div {
  display: grid;
  min-width: 0;
  gap: 3px;
  flex: 1 1 auto;
}

.support-detail-closed strong {
  color: var(--text-secondary);
  font-size: 11.5px;
}

.support-detail-closed p {
  margin: 0;
  color: var(--text-dim);
  font-size: 10px;
  line-height: 1.4;
}

.support-detail-closed a {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 10.5px;
  font-weight: 700;
  text-decoration: none;
}

.support-detail-closed a:hover {
  color: var(--text);
}

@media (max-width: 1040px) {
  .support-detail-layout {
    grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
  }

  .support-detail-info-list > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .support-detail-info-list dd {
    white-space: normal;
  }
}

@media (max-width: 820px) {
  .support-detail-hero {
    align-items: stretch;
    flex-direction: column;
    padding: 20px;
  }

  .support-detail-hero h1 {
    white-space: normal;
  }

  .support-detail-hero-status {
    min-width: 0;
    justify-items: start;
    padding-top: 13px;
    padding-left: 0;
    border-top: 1px solid rgba(45, 212, 191, 0.22);
    border-left: 0;
  }

  .support-detail-hero-status strong {
    text-align: left;
  }

  .support-detail-layout {
    grid-template-columns: 1fr;
  }

  .support-detail-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-detail-message-list {
    max-height: none;
  }
}

@media (max-width: 600px) {
  .support-detail-card,
  .support-detail-conversation-head,
  .support-detail-reply {
    padding-right: 17px;
    padding-left: 17px;
  }

  .support-detail-sidebar {
    grid-template-columns: 1fr;
  }

  .support-detail-message-list {
    gap: 18px;
    padding: 20px 15px;
  }

  .support-detail-message-content {
    max-width: calc(100% - 42px);
  }

  .support-detail-message-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .support-detail-message.is-customer .support-detail-message-meta {
    align-items: flex-end;
    flex-direction: column;
  }

  .support-detail-reply-actions,
  .support-detail-upload-group {
    align-items: stretch;
    flex-direction: column;
  }

  .support-detail-upload-button,
  .support-detail-send-button {
    justify-content: center;
  }

  .support-detail-upload-info {
    white-space: normal;
  }

  .support-detail-closed {
    align-items: flex-start;
    flex-wrap: wrap;
    padding-right: 17px;
    padding-left: 17px;
  }

  .support-detail-closed a {
    width: 100%;
    margin-left: 46px;
  }
}


/* ══════════════════════════════════════════════
   Support Dashboard & Chat Redesign
   ══════════════════════════════════════════════ */
.category-pills-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 16px;
}

.category-pills-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.category-pills-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}

.category-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.category-pill {
  height: 38px;
  padding: 0 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.category-pill:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.1);
}

.category-pill.active {
  background: var(--accent-muted);
  border-color: var(--accent-border);
  color: var(--accent);
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.05);
}

.category-pill svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

.category-pill.active svg {
  opacity: 1;
}

.priority-select-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 140px;
}

.priority-select-wrapper select {
  height: 38px;
  min-height: auto;
  font-size: 12.5px;
  background-position: right 10px center;
  padding-right: 28px;
}

.priority-dot-indicator {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 6px;
}

.priority-dot-indicator.normal { background: var(--warning); }
.priority-dot-indicator.high { background: #ef4444; }
.priority-dot-indicator.urgent { background: #b91c1c; }

.support-dropzone {
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(11, 14, 20, 0.4);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.support-dropzone:hover, .support-dropzone.dragover {
  border-color: var(--accent-border);
  background: rgba(52, 211, 153, 0.01);
}

.support-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.support-dropzone-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

.support-dropzone-icon {
  width: 32px;
  height: 32px;
  color: var(--text-dim);
  transition: color 0.2s;
}

.support-dropzone:hover .support-dropzone-icon {
  color: var(--accent);
}

.support-dropzone-text {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.support-dropzone-btn {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  margin-left: 6px;
}

.support-dropzone-subtext {
  font-size: 10px;
  color: var(--text-muted);
}

.support-form-card button[type="submit"] {
  margin-top: 8px;
  background: var(--accent-gradient);
  color: #060a0e;
  font-size: 13.5px;
  font-weight: 800;
  height: 40px;
  min-height: auto;
}

/* History List Redesign */
.support-tickets-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.support-tickets-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.support-tickets-header-row h3 {
  margin-bottom: 0 !important;
}

.support-tickets-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.support-ticket-row {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.2s;
  text-decoration: none !important;
}

.support-ticket-row:hover {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.06);
  transform: translateX(2px);
}

.support-ticket-row-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.support-ticket-row-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
}

.support-ticket-row:hover .support-ticket-row-icon {
  color: var(--text-secondary);
  border-color: rgba(255, 255, 255, 0.08);
}

.support-ticket-row-icon svg {
  width: 15px;
  height: 15px;
}

.support-ticket-row-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.support-ticket-row-ref {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
}

.support-ticket-row:hover .support-ticket-row-ref {
  color: var(--text-muted);
}

.support-ticket-row-title-container {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.support-ticket-row-title-category {
  font-weight: 700;
  color: var(--text-secondary);
  font-size: 13px;
}

.support-ticket-row-title-sep {
  color: var(--text-dim);
  font-size: 12px;
}

.support-ticket-row-title-subject {
  color: var(--text-secondary);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.support-ticket-row:hover .support-ticket-row-title-subject {
  color: var(--text);
}

.support-ticket-row-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.status-badge-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 20px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.03);
  background: rgba(255, 255, 255, 0.01);
  color: var(--text-secondary);
}

.status-badge-dot::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-muted);
}

.status-badge-dot.open {
  color: var(--warning);
  border-color: rgba(251, 191, 36, 0.15);
  background: rgba(251, 191, 36, 0.02);
}
.status-badge-dot.open::before {
  background: var(--warning);
  box-shadow: 0 0 6px rgba(251, 191, 36, 0.5);
}

.status-badge-dot.replied, .status-badge-dot.waitingforsupport {
  color: var(--info);
  border-color: rgba(96, 165, 250, 0.15);
  background: rgba(96, 165, 250, 0.02);
}
.status-badge-dot.replied::before, .status-badge-dot.waitingforsupport::before {
  background: var(--info);
  box-shadow: 0 0 6px rgba(96, 165, 250, 0.5);
}

.status-badge-dot.investigating {
  color: #a78bfa;
  border-color: rgba(167, 139, 250, 0.15);
  background: rgba(167, 139, 250, 0.02);
}
.status-badge-dot.investigating::before {
  background: #a78bfa;
  box-shadow: 0 0 6px rgba(167, 139, 250, 0.5);
}

.status-badge-dot.resolved, .status-badge-dot.closed {
  color: var(--success);
  border-color: rgba(74, 222, 128, 0.15);
  background: rgba(74, 222, 128, 0.02);
}
.status-badge-dot.resolved::before, .status-badge-dot.closed::before {
  background: var(--success);
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.5);
}

.support-ticket-row-time {
  font-size: 11px;
  color: var(--text-dim);
  width: 90px;
  text-align: right;
}

.support-ticket-row-chevron {
  width: 14px;
  height: 14px;
  color: var(--text-dim);
  transition: all 0.2s;
}

.support-ticket-row:hover .support-ticket-row-chevron {
  color: var(--accent);
  transform: translateX(1px);
}

.daha-fazla-goster-btn {
  width: 100%;
  height: 38px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 8px;
  box-shadow: none;
  min-height: auto;
}

.daha-fazla-goster-btn:hover {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-secondary);
  border-color: rgba(255, 255, 255, 0.05);
}

.daha-fazla-goster-btn svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s;
}

/* ═══ Premium Split Chat Layout ═══ */
.chat-split-layout {
  display: grid;
  grid-template-columns: clamp(260px, 30%, 340px) 1fr;
  gap: 20px;
  align-items: stretch;
}

.chat-details-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-thread-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  height: 680px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.chat-thread-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: rgba(14, 17, 23, 0.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-thread-header-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chat-thread-header-ref {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-dim);
}

.chat-thread-header-subject {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
}

.chat-thread-messages {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: radial-gradient(circle at 50% 0%, rgba(52, 211, 153, 0.015), transparent 70%);
}

.chat-message-row {
  display: flex;
  gap: 12px;
  max-width: 80%;
}

.chat-message-row.customer {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat-message-row.support {
  align-self: flex-start;
}

.chat-message-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.chat-message-row.customer .chat-message-avatar {
  background: var(--accent-muted);
  border: 1px solid var(--accent-border);
  color: var(--accent);
}

.chat-message-row.support .chat-message-avatar {
  background: rgba(96, 165, 250, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.2);
  color: var(--info);
}

.chat-message-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chat-message-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-message-row.customer .chat-message-header {
  flex-direction: row-reverse;
}

.chat-message-author {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-secondary);
}

.chat-message-badge {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 1px 4px;
  border-radius: 4px;
  background: rgba(96, 165, 250, 0.1);
  color: var(--info);
  border: 1px solid rgba(96, 165, 250, 0.15);
}

.chat-message-time {
  font-size: 10px;
  color: var(--text-dim);
}

.chat-message-bubble {
  padding: 12px 16px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-secondary);
  border-radius: 12px;
  position: relative;
  word-break: break-word;
}

.chat-message-row.customer .chat-message-bubble {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-top-right-radius: 2px;
  color: var(--text);
}

.chat-message-row.support .chat-message-bubble {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-top-left-radius: 2px;
  color: var(--text-secondary);
}

.chat-message-attachments {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chat-attachment-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  font-size: 11.5px;
  color: var(--text-secondary) !important;
  text-decoration: none;
  transition: all 0.2s;
  max-width: 280px;
}

.chat-attachment-btn:hover {
  background: rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text) !important;
}

.chat-attachment-btn svg {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.chat-attachment-btn:hover svg {
  color: var(--accent);
}

.chat-attachment-size {
  color: var(--text-dim);
  font-size: 10px;
}

.chat-input-panel {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  background: rgba(14, 17, 23, 0.3);
}

.chat-input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-input-textarea-container {
  position: relative;
}

.chat-input-panel textarea {
  min-height: 80px;
  max-height: 150px;
  resize: vertical;
  background: var(--bg-input);
  border-color: rgba(255, 255, 255, 0.05);
  padding: 12px 14px;
  font-size: 13.5px;
}

.chat-input-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-input-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-file-upload-btn {
  height: 34px;
  padding: 0 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 11.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
}

.chat-file-upload-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.08);
}

.chat-file-upload-btn input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.chat-file-upload-btn svg {
  width: 14px;
  height: 14px;
}

.chat-file-upload-info {
  font-size: 10px;
  color: var(--text-dim);
}

.chat-send-btn {
  height: 34px;
  padding: 0 16px;
  border-radius: 6px;
  background: var(--accent-gradient);
  color: #060a0e;
  font-size: 12.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: auto;
  box-shadow: none;
}

.chat-send-btn svg {
  width: 12px;
  height: 12px;
}

.chat-closed-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.02);
  text-align: center;
}

.chat-closed-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}

.chat-closed-desc {
  font-size: 11px;
  color: var(--text-dim);
}

@media (max-width: 1200px) {
  .chat-split-layout {
    grid-template-columns: 1fr;
  }
  .chat-thread-panel {
    height: 600px;
  }
}

/* ══════════════════════════════════════════════
   Support workspace refinement
   ══════════════════════════════════════════════ */
.support-compose-card button[type="submit"] {
  height: 44px;
  margin-top: 12px;
  border-radius: 11px;
  box-shadow: 0 10px 22px rgba(20, 184, 166, 0.16);
}

.support-tickets-card {
  height: auto;
  min-height: 100%;
  border-color: rgba(148, 163, 184, 0.14);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.12);
}

.support-history-count {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
}

.support-file-list-error {
  display: block;
  margin-top: 4px;
  color: var(--danger, #f87171);
  font-size: 11px;
  font-weight: 700;
}

/* ══════════════════════════════════════════════
   Account Dashboard Redesign
   ══════════════════════════════════════════════ */
.account-hero-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.04), rgba(52, 211, 153, 0.02)), var(--bg-card);
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.account-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(52, 211, 153, 0.3), transparent 90%);
}

.account-hero-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.account-hero-avatar {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
  color: #060a0e;
  box-shadow: 0 0 24px rgba(52, 211, 153, 0.15);
  flex-shrink: 0;
}

.account-hero-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.account-hero-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.account-hero-email {
  font-size: 13px;
  color: var(--text-secondary);
}

.account-hero-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 20px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 700;
  border: 1px solid rgba(52, 211, 153, 0.25);
  background: rgba(52, 211, 153, 0.05);
  color: var(--accent);
}

.badge-verified svg {
  width: 12px;
  height: 12px;
}

.account-bindings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.account-binding-box {
  background: rgba(255, 255, 255, 0.005);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.2s;
}

.account-binding-box:hover {
  background: rgba(255, 255, 255, 0.01);
  border-color: rgba(255, 255, 255, 0.06);
}

.account-binding-icon-wrapper {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.account-binding-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.account-binding-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
}

.account-binding-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}

.security-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.security-checklist-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.005);
  border: 1px solid rgba(255, 255, 255, 0.02);
  font-size: 12.5px;
}

.security-checklist-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
}

.security-checklist-left svg {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
}

.security-checklist-right {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.security-checklist-right.success {
  color: var(--success);
}

.security-checklist-right.info {
  color: var(--text-secondary);
}

.security-checklist-right svg {
  width: 14px;
  height: 14px;
}

/* ══════════════════════════════════════════════
   Account page — clean customer surface
   ══════════════════════════════════════════════ */
.account-page {
  display: grid;
  min-width: 0;
  gap: 18px;
}

.account-hero-card {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 26px 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(16, 22, 34, 0.8) 0%, rgba(10, 14, 22, 0.95) 100%);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.account-hero-card:hover {
  border-color: rgba(45, 212, 191, 0.3);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.5), 0 0 24px rgba(45, 212, 191, 0.12);
}

.account-hero-left {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 17px;
}

.account-hero-avatar {
  display: grid;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  place-items: center;
  border: 1px solid rgba(45, 212, 191, 0.34);
  border-radius: 17px;
  color: #061216;
  font-size: 24px;
  font-weight: 850;
  background: linear-gradient(135deg, #2dd4bf, #14b8a6);
  box-shadow: 0 12px 28px rgba(20, 184, 166, 0.16);
}

.account-hero-info {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.account-eyebrow,
.account-card-kicker {
  color: var(--accent);
  font-size: 9.5px;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1.2;
}

.account-hero-name {
  margin: 0;
  overflow: hidden;
  color: var(--text);
  font-size: clamp(22px, 2vw, 29px);
  font-weight: 820;
  letter-spacing: -0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-hero-email {
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 3px;
}

.account-hero-badges .status-badge,
.badge-verified {
  min-height: 21px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 9.5px;
}

.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(45, 212, 191, 0.28);
  color: var(--accent);
  background: rgba(45, 212, 191, 0.07);
  font-weight: 750;
}

.badge-verified svg {
  width: 12px;
  height: 12px;
}

.account-hero-status {
  display: grid;
  min-width: 190px;
  gap: 5px;
  padding: 12px 0 12px 20px;
  border-left: 1px solid rgba(45, 212, 191, 0.25);
}

.account-hero-status-label {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.account-hero-status strong {
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
}

.account-hero-status > span:last-child {
  color: var(--text-dim);
  font-size: 10.5px;
  line-height: 1.35;
}

.account-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.account-summary-card,
.account-card {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: var(--bg-card);
}

.account-summary-card {
  display: grid;
  min-height: 112px;
  align-content: space-between;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(16, 22, 34, 0.75) 0%, rgba(10, 14, 22, 0.9) 100%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.account-summary-card:hover {
  transform: translateY(-3px);
  border-color: rgba(45, 212, 191, 0.38);
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.4), 0 0 18px rgba(45, 212, 191, 0.15);
}

.account-summary-card:hover .account-summary-label svg {
  transform: scale(1.15);
  color: #2dd4bf;
}

.account-summary-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-muted);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.account-summary-label svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
  transition: transform 0.25s ease, color 0.25s ease;
}

.account-summary-card strong {
  overflow: hidden;
  color: var(--text);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-summary-card > span:last-child {
  overflow: hidden;
  color: var(--text-dim);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: start;
  gap: 18px;
}

.account-main-column,
.account-side-column {
  display: grid;
  min-width: 0;
  gap: 16px;
}

.account-card {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(16, 22, 34, 0.7) 0%, rgba(10, 14, 22, 0.85) 100%);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.account-card:hover {
  border-color: rgba(45, 212, 191, 0.25);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45), 0 0 20px rgba(45, 212, 191, 0.08);
}

.account-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}

.account-card-heading h2 {
  margin: 5px 0 0;
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.account-card-note {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.45;
}

.account-details-list {
  display: grid;
  margin: 0;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.account-details-list > div {
  display: grid;
  grid-template-columns: minmax(135px, 0.42fr) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 45px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.account-details-list dt {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 650;
}

.account-details-list dd {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 11.5px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-details-list dd .status-badge {
  min-height: 20px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 9.5px;
}

.account-monospace {
  font-family: var(--font-mono, Consolas, monospace);
  font-size: 10.5px;
  letter-spacing: 0.04em;
}

.account-profile-actions {
  display: flex;
  margin-top: 18px;
}

.account-support-button,
.account-security-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-decoration: none;
}

.account-support-button {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(45, 212, 191, 0.35);
  border-radius: 9px;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 750;
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 50%, #0284c7 100%);
  box-shadow: 0 4px 16px rgba(20, 184, 166, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, filter 0.25s ease;
  cursor: pointer;
}

.account-support-button:hover {
  color: #ffffff;
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 6px 22px rgba(20, 184, 166, 0.48), 0 0 18px rgba(45, 212, 191, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.account-support-button:active {
  transform: translateY(0);
}

.account-support-button svg {
  width: 15px;
  height: 15px;
}

.account-bindings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.account-binding-box {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 11px;
  background: rgba(15, 23, 42, 0.35);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.account-binding-box:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 212, 191, 0.35);
  background: rgba(45, 212, 191, 0.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3), 0 0 14px rgba(45, 212, 191, 0.12);
}

.account-binding-icon-wrapper {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border: 1px solid rgba(45, 212, 191, 0.22);
  border-radius: 9px;
  color: var(--accent);
  background: rgba(45, 212, 191, 0.055);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.account-binding-box:hover .account-binding-icon-wrapper {
  border-color: rgba(45, 212, 191, 0.5);
  background: rgba(45, 212, 191, 0.12);
  transform: scale(1.06);
}

.account-binding-icon-wrapper svg {
  width: 16px;
  height: 16px;
}

.account-binding-info {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.account-binding-label {
  overflow: hidden;
  color: var(--text-muted);
  font-size: 9.5px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-binding-value {
  color: var(--text);
  font-size: 19px;
  font-weight: 820;
  letter-spacing: -0.04em;
}

.account-security-list,
.account-activity-list {
  display: grid;
  gap: 7px;
}

.account-security-item {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid rgba(148, 163, 184, 0.09);
  border-radius: 9px;
  background: rgba(15, 23, 42, 0.25);
}

.account-security-label {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 10.5px;
}

.account-security-label svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  color: var(--text-muted);
}

.account-security-value {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
  color: var(--text-secondary);
  font-size: 10px;
  font-weight: 750;
  text-align: right;
}

.account-security-value.success {
  color: var(--success);
}

.account-security-value.warning {
  color: var(--warning);
}

.account-security-value.info {
  color: var(--text-muted);
  font-weight: 600;
}

.account-security-link {
  justify-content: space-between;
  min-height: 38px;
  margin-top: 13px;
  padding: 0 14px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 9px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.account-security-link:hover {
  border-color: rgba(45, 212, 191, 0.4);
  color: #ffffff;
  background: rgba(45, 212, 191, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), 0 0 14px rgba(45, 212, 191, 0.15);
  transform: translateY(-1px);
}

.account-security-link svg {
  width: 14px;
  height: 14px;
}

.account-card-count {
  color: var(--text-dim);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.account-activity-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px 8px;
  border-radius: 8px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.06);
  transition: background 0.2s ease, transform 0.2s ease;
}

.account-activity-item:hover {
  background: rgba(45, 212, 191, 0.04);
  transform: translateX(3px);
}

.account-activity-item:last-child {
  border-bottom: 0;
}

.account-activity-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(45, 212, 191, 0.22);
  border-radius: 9px;
  color: var(--accent);
  background: rgba(45, 212, 191, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.account-activity-item:hover .account-activity-icon {
  transform: scale(1.08);
  border-color: rgba(45, 212, 191, 0.45);
}

.account-activity-icon svg {
  width: 15px;
  height: 15px;
}

.account-activity-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.account-activity-copy strong,
.account-activity-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-activity-copy strong {
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 750;
}

.account-activity-copy span {
  color: var(--text-dim);
  font-size: 9.5px;
}

.account-activity-date {
  color: var(--text-dim);
  font-size: 9.5px;
  white-space: nowrap;
}

.account-empty-state {
  margin: 0;
  padding: 20px 0;
  color: var(--text-muted);
  font-size: 11px;
  text-align: center;
}

@media (max-width: 1200px) {
  .account-content-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .account-hero-card {
    align-items: stretch;
    flex-direction: column;
    padding: 21px;
  }

  .account-hero-status {
    min-width: 0;
    padding: 14px 0 0;
    border-top: 1px solid rgba(45, 212, 191, 0.2);
    border-left: 0;
  }

  .account-summary-grid,
  .account-bindings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-card {
    padding: 18px;
  }
}

@media (max-width: 520px) {
  .account-summary-grid,
  .account-bindings-grid {
    grid-template-columns: 1fr;
  }

  .account-details-list > div {
    grid-template-columns: minmax(100px, 0.48fr) minmax(0, 1fr);
    gap: 10px;
  }

  .account-activity-item {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .account-activity-date {
    grid-column: 2;
  }
}


/* ══════════════════════════════════════════════
   Security Page Visual Upgrades
   ══════════════════════════════════════════════ */
.security-hero-card {
  background: linear-gradient(135deg, rgba(16, 22, 34, 0.8) 0%, rgba(10, 14, 22, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  margin-bottom: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.security-hero-card:hover {
  border-color: rgba(45, 212, 191, 0.3);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.5), 0 0 24px rgba(45, 212, 191, 0.12);
}

.security-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.35), transparent);
}

.security-hero-card::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.05), transparent 70%);
  pointer-events: none;
}

.security-hero-waves {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
}

.security-hero-info {
  flex: 1;
  z-index: 2;
  position: relative;
}

.security-hero-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 8px 0 !important;
  letter-spacing: -0.02em;
}

.security-hero-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 520px;
  display: block;
}

.security-hero-status-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  flex-shrink: 0;
  z-index: 2;
  position: relative;
}

.security-status-box {
  background: linear-gradient(135deg, rgba(16, 22, 34, 0.75) 0%, rgba(10, 14, 22, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 14px 16px;
  border-radius: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 180px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.security-status-box:hover {
  transform: translateY(-3px);
  border-color: rgba(45, 212, 191, 0.38);
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.4), 0 0 18px rgba(45, 212, 191, 0.15);
}

.security-status-icon-wrapper {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.security-status-icon-wrapper.mail {
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.15);
  color: var(--success);
}

.security-status-icon-wrapper.calendar {
  background: rgba(96, 165, 250, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.15);
  color: var(--info);
}

.security-status-icon-wrapper.shield {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.15);
  color: var(--warning);
}

.security-status-icon-wrapper.lock {
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.15);
  color: var(--accent);
}

.security-status-content {
  display: flex;
  flex-direction: column;
}

.security-status-lbl {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}

.security-status-val {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text);
  margin-top: 2px;
}

.security-status-val.success {
  color: var(--accent);
}

.security-status-val.info {
  color: var(--info);
}

/* Eye toggle password styles */
.password-input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-container input {
  padding-right: 44px;
}

.password-toggle-btn {
  position: absolute;
  right: 12px;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  min-height: auto !important;
  box-shadow: none !important;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.password-toggle-btn:hover {
  color: var(--text-secondary);
  transform: none !important;
  box-shadow: none !important;
}

/* Password rules card */
.password-rules-box {
  background: rgba(14, 17, 23, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 16px;
  margin-top: 12px;
  font-size: 12.5px;
}

.password-rules-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.password-rules-title {
  font-weight: 700;
  color: var(--text-secondary);
}

.password-rules-status {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.password-rules-status.all-valid {
  color: var(--success);
}

.password-rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}

.password-rule-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.password-rule-item.valid {
  color: var(--text-secondary);
}

.password-rule-icon {
  width: 14px;
  height: 14px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.password-rule-item.valid .password-rule-icon {
  color: var(--success);
}

.password-strength-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  gap: 12px;
}

.password-strength-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-dim);
}

.password-strength-bars {
  display: flex;
  gap: 4px;
  flex: 1;
  max-width: 180px;
}

.password-strength-bar {
  height: 4px;
  flex: 1;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.05);
  transition: background-color 0.2s;
}

.password-strength-text {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-dim);
  min-width: 45px;
  text-align: right;
}

/* Card titles with icons */
.section-title-with-icon {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.section-title-icon-wrapper {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

/* Koruma Ipuclari list */
.protection-tips-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.protection-tip-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.protection-tip-icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Quick links styling for security page */
.security-quick-links-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.security-quick-link-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.security-quick-link-box:hover {
  background: rgba(45, 212, 191, 0.05);
  border-color: rgba(45, 212, 191, 0.35);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3), 0 0 14px rgba(45, 212, 191, 0.12);
}

.security-quick-link-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.security-quick-link-left svg {
  color: var(--text-muted);
  transition: color 0.2s;
}

.security-quick-link-box:hover .security-quick-link-left svg {
  color: var(--accent);
}

.security-quick-link-info {
  display: flex;
  flex-direction: column;
}

.security-quick-link-title {
  font-size: 13.5px;
  font-weight: 700;
}

.security-quick-link-desc {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 1px;
}

.security-quick-link-chevron {
  width: 14px;
  height: 14px;
  color: var(--text-dim);
  transition: color 0.2s;
}

.security-quick-link-box:hover .security-quick-link-chevron {
  color: var(--accent);
}

/* Responsive updates for security */
@media (max-width: 1200px) {
  .security-hero-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .security-hero-status-grid {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .security-hero-status-grid {
    grid-template-columns: 1fr;
  }
}

/* Custom activity list for security page */
.security-activity-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.security-activity-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.security-activity-item:hover {
  background: rgba(45, 212, 191, 0.05);
  border-color: rgba(45, 212, 191, 0.3);
  color: var(--text);
  transform: translateX(3px);
}

.customer-auth-page .section-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(16, 22, 34, 0.7) 0%, rgba(10, 14, 22, 0.85) 100%);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.customer-auth-page .section-card:hover {
  border-color: rgba(45, 212, 191, 0.25);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45), 0 0 20px rgba(45, 212, 191, 0.08);
}

.section-card button[type="submit"] {
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 50%, #0284c7 100%);
  border: 1px solid rgba(45, 212, 191, 0.35);
  color: #ffffff;
  font-weight: 750;
  border-radius: 9px;
  box-shadow: 0 4px 18px rgba(20, 184, 166, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, filter 0.25s ease;
  cursor: pointer;
}

.section-card button[type="submit"]:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 6px 24px rgba(20, 184, 166, 0.48), 0 0 20px rgba(45, 212, 191, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.section-card button[type="submit"]:active {
  transform: translateY(0);
}

.security-activity-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.security-activity-icon-wrapper {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
  flex-shrink: 0;
}

.security-activity-text {
  display: flex;
  flex-direction: column;
}

.security-activity-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
}

.security-activity-desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 1px;
}

.security-activity-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.security-activity-date {
  font-size: 12px;
  color: var(--text-dim);
}

.security-activity-chevron {
  width: 12px;
  height: 12px;
  color: var(--text-dim);
  transition: color 0.2s;
}

.security-activity-item:hover .security-activity-chevron {
  color: var(--accent);
}

.kohlas-toast-host {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10000;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 32px));
}

.kohlas-toast {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(9, 14, 22, 0.96);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
  color: var(--text);
  padding: 12px 14px;
  font-size: 12.5px;
  font-weight: 700;
  animation: kohlasToastIn 0.18s ease-out;
}

.kohlas-toast.success {
  border-color: rgba(20, 184, 166, 0.28);
  color: var(--accent);
}

.kohlas-toast.leaving {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.kohlas-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3, 7, 18, 0.66);
  backdrop-filter: blur(8px);
}

.kohlas-confirm-overlay[hidden] {
  display: none;
}

.kohlas-confirm-card {
  width: min(430px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(15, 23, 31, 0.98), rgba(8, 12, 18, 0.98));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.54);
  padding: 22px;
}

.kohlas-confirm-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: rgba(245, 158, 11, 0.09);
  border: 1px solid rgba(245, 158, 11, 0.18);
  color: var(--warning);
  font-weight: 900;
}

.kohlas-confirm-copy h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 17px;
  font-weight: 850;
}

.kohlas-confirm-copy p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.55;
}

.kohlas-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.kohlas-confirm-actions button {
  min-width: 96px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  cursor: pointer;
  color: var(--text);
  font-size: 12.5px;
  font-weight: 800;
}

.kohlas-confirm-cancel {
  background: rgba(255, 255, 255, 0.025);
}

.kohlas-confirm-accept {
  background: linear-gradient(135deg, var(--accent), #0f766e);
  border-color: rgba(20, 184, 166, 0.36) !important;
}

.copied {
  border-color: rgba(20, 184, 166, 0.3) !important;
  color: var(--accent) !important;
}

.support-file-list-title {
  font-weight: 800;
}

.support-file-list-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
}

#chatUploadInfo.has-files {
  color: var(--accent) !important;
}

@keyframes kohlasToastIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/*
   PROMPT24-WEB-UI-SYSTEM
   Tokens alignment for design system validation
*/
:root {
  --ui-canvas: var(--bg);
  --ui-surface: var(--bg-surface);
  --ui-surface-raised: var(--bg-raised);
  --ui-border: var(--border);
  --ui-accent: var(--accent);
  --ui-text: var(--text);
  --ui-muted: var(--text-muted);
}
.ui-page-header {}
.ui-card {}
.ui-table {}
.ui-empty-state {}
@media (prefers-reduced-motion: reduce) {}

/* ══════════════════════════════════════════════
   Cinematic Premium License Detail Styles (Generic)
   ══════════════════════════════════════════════ */
.lic-detail-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.lic-detail-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.lic-detail-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: #94a3b8;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 6px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.lic-detail-back-btn:hover {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(-2px);
}

.lic-btn-action.primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 750;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(45, 212, 191, 0.35));
  border: 1px solid rgba(45, 212, 191, 0.45);
  color: #2dd4bf;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.lic-btn-action.primary:hover {
  background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 100%);
  color: #022c22;
  box-shadow: 0 0 20px rgba(45, 212, 191, 0.35);
  transform: translateY(-1px);
}

/* Sinematik Hero Kart */
.lic-hero-card {
  position: relative;
  background: linear-gradient(135deg, rgba(13, 17, 26, 0.95) 0%, rgba(18, 24, 38, 0.85) 100%);
  border: 1px solid rgba(45, 212, 191, 0.18);
  border-radius: 16px;
  padding: 30px 34px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.lic-hero-watermark {
  position: absolute;
  right: -20px;
  bottom: -30px;
  font-size: 120px;
  font-weight: 950;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.018);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.lic-hero-glow {
  position: absolute;
  top: -40px;
  left: 20%;
  width: 320px;
  height: 160px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.lic-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.lic-hero-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 580px;
}

.lic-hero-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lic-plan-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 3px 10px;
  border-radius: 6px;
}

.lic-hero-title {
  font-size: 26px;
  font-weight: 850;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0;
  line-height: 1.15;
}

.lic-key-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.lic-key-title {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
}

.lic-key-display-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px !important;
  background: rgba(0, 0, 0, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  width: fit-content;
}

.lic-key-display-box:hover {
  background: rgba(0, 0, 0, 0.75) !important;
  border-color: rgba(45, 212, 191, 0.45) !important;
}

.lic-key-icon {
  color: #2dd4bf;
  flex-shrink: 0;
}

.lic-hero-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 280px;
}

.lic-stat-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.lic-stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.lic-stat-icon.teal {
  background: rgba(20, 184, 166, 0.12);
  color: #2dd4bf;
  border: 1px solid rgba(45, 212, 191, 0.25);
}

.lic-stat-icon.blue {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.lic-stat-icon.orange {
  background: rgba(249, 115, 22, 0.12);
  color: #fb923c;
  border: 1px solid rgba(249, 115, 22, 0.25);
}

.lic-stat-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lic-stat-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.lic-stat-val {
  font-size: 13.5px;
  font-weight: 750;
  color: #e2e8f0;
}

.lic-stat-val.green { color: #4ade80; }
.lic-stat-val.yellow { color: #fbbf24; }
.lic-stat-val.dim { color: #94a3b8; }

/* Meta Grid */
.lic-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 992px) {
  .lic-meta-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .lic-meta-grid {
    grid-template-columns: 1fr;
  }
}

.lic-meta-box {
  background: #0b0e14;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lic-meta-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}

.lic-meta-val {
  font-size: 13px;
  font-weight: 700;
  color: #cbd5e1;
}

/* Sections Row */
.lic-sections-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 900px) {
  .lic-sections-row {
    grid-template-columns: 1fr;
  }
}

.lic-card-section {
  background: #0b0e14;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.lic-card-section.full-width {
  width: 100%;
}

.lic-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.lic-card-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lic-card-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: grid;
  place-items: center;
}

.lic-card-icon.teal { background: rgba(20, 184, 166, 0.12); color: #2dd4bf; }
.lic-card-icon.blue { background: rgba(56, 189, 248, 0.12); color: #38bdf8; }
.lic-card-icon.orange { background: rgba(249, 115, 22, 0.12); color: #fb923c; }

.lic-card-title {
  font-size: 14px;
  font-weight: 800;
  color: #f1f5f9;
}

.lic-card-count {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
}

.lic-card-link {
  font-size: 11.5px;
  font-weight: 650;
  color: #14b8a6;
  text-decoration: none;
  transition: color 0.15s;
}

.lic-card-link:hover {
  color: #2dd4bf;
}

.lic-scroll-table-shell {
  max-height: 260px;
  overflow-y: auto;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.lic-scroll-table-shell::-webkit-scrollbar {
  display: none;
}

.lic-data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: 12px;
}

.lic-data-table thead th {
  position: sticky;
  top: 0;
  background: #0e121b;
  font-size: 10.5px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 2;
}

.lic-data-table tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  color: #cbd5e1;
}

.lic-data-table tbody tr:last-child td {
  border-bottom: none;
}

.lic-data-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.015);
}

.lic-code-token {
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: 11.5px;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}

.lic-cell-name {
  font-weight: 650;
  color: #f1f5f9;
}

.lic-cell-date {
  font-size: 11px;
  color: #94a3b8;
  white-space: nowrap;
}

.lic-version-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  color: #cbd5e1;
}

.lic-event-badge {
  font-size: 10.5px;
  font-weight: 700;
  color: #fb923c;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.25);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
}

.lic-empty-row {
  text-align: center;
  padding: 24px;
  color: #64748b;
  font-size: 12px;
  font-style: italic;
}

/* ══════════════════════════════════════════════
   Device Detail — data-backed customer workspace
   ══════════════════════════════════════════════ */
.device-detail-page {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.device-detail-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.device-detail-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
  color: #cbd5e1;
  font-size: 12.5px;
  font-weight: 750;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.device-detail-back-link:hover {
  border-color: rgba(45, 212, 191, 0.34);
  background: rgba(45, 212, 191, 0.07);
  color: #f1f5f9;
  transform: translateX(-2px);
}

.device-detail-route-label,
.device-detail-eyebrow,
.device-detail-meta-label {
  color: #64748b;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.device-detail-hero {
  position: relative;
  overflow: hidden;
  padding: 30px 32px;
  border: 1px solid rgba(45, 212, 191, 0.2);
  border-radius: 18px;
  background:
    linear-gradient(112deg, rgba(13, 20, 29, 0.98), rgba(14, 26, 33, 0.92) 58%, rgba(13, 17, 26, 0.98)),
    #0b0e14;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
}

.device-detail-hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.07) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: linear-gradient(110deg, rgba(0, 0, 0, 0.9), transparent 75%);
  mask-image: linear-gradient(110deg, rgba(0, 0, 0, 0.9), transparent 75%);
}

.device-detail-hero-orb {
  position: absolute;
  top: -120px;
  right: 13%;
  width: 340px;
  height: 260px;
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(45, 212, 191, 0.13), transparent 68%);
  filter: blur(26px);
}

.device-detail-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.58fr);
  align-items: end;
  gap: 28px;
}

.device-detail-hero-main {
  min-width: 0;
}

.device-detail-eyebrow-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.device-detail-eyebrow {
  color: #2dd4bf;
}

.device-detail-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 4px 9px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.08);
  color: #cbd5e1;
  font-size: 10.5px;
  font-weight: 800;
  white-space: nowrap;
}

.device-detail-status-badge.active {
  border-color: rgba(74, 222, 128, 0.24);
  background: rgba(74, 222, 128, 0.09);
  color: #86efac;
}

.device-detail-status-badge.warning {
  border-color: rgba(251, 191, 36, 0.24);
  background: rgba(251, 191, 36, 0.09);
  color: #fcd34d;
}

.device-detail-status-badge.danger {
  border-color: rgba(248, 113, 113, 0.24);
  background: rgba(248, 113, 113, 0.09);
  color: #fca5a5;
}

.device-detail-status-badge.muted {
  border-color: rgba(148, 163, 184, 0.2);
  background: rgba(148, 163, 184, 0.08);
  color: #cbd5e1;
}

.device-detail-status-dot,
.device-detail-binding-status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 12%, transparent);
}

.device-detail-hero h1 {
  max-width: 720px;
  margin: 0;
  color: #f8fafc;
  font-size: clamp(27px, 3vw, 42px);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.device-detail-hero-subtitle {
  margin: 12px 0 0;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.5;
}

.device-detail-fingerprint {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 100%;
  margin-top: 22px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.24);
}

.device-detail-fingerprint-label {
  color: #64748b;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.device-detail-fingerprint code,
.device-detail-code {
  color: #7dd3fc;
  font-family: 'SF Mono', Monaco, Consolas, 'Courier New', monospace;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

.device-detail-hero-metrics {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.device-detail-hero-metric {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.device-detail-hero-metric > span:last-child {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.device-detail-hero-metric small {
  color: #64748b;
  font-size: 9.5px;
  font-weight: 850;
  letter-spacing: 0.07em;
}

.device-detail-hero-metric strong {
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.device-detail-metric-icon,
.device-detail-panel-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9px;
}

.device-detail-metric-icon.teal,
.device-detail-panel-icon.teal {
  border-color: rgba(45, 212, 191, 0.22);
  background: rgba(45, 212, 191, 0.1);
  color: #2dd4bf;
}

.device-detail-metric-icon.blue,
.device-detail-panel-icon.blue {
  border-color: rgba(56, 189, 248, 0.22);
  background: rgba(56, 189, 248, 0.1);
  color: #38bdf8;
}

.device-detail-panel-icon.violet {
  border-color: rgba(167, 139, 250, 0.22);
  background: rgba(167, 139, 250, 0.1);
  color: #a78bfa;
}

.device-detail-panel-icon.orange {
  border-color: rgba(251, 146, 60, 0.22);
  background: rgba(251, 146, 60, 0.1);
  color: #fb923c;
}

.device-detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.device-detail-meta-card {
  display: grid;
  min-width: 0;
  gap: 7px;
  padding: 16px 17px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: #0b0e14;
}

.device-detail-meta-value {
  min-width: 0;
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.device-detail-meta-note {
  min-width: 0;
  color: #64748b;
  font-size: 10.5px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.device-detail-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 14px;
}

.device-detail-panel {
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: #0b0e14;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.device-detail-panel-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
}

.device-detail-panel-heading > div:last-child {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.device-detail-panel-heading h2 {
  margin: 0;
  color: #f1f5f9;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.device-detail-panel-heading span {
  color: #64748b;
  font-size: 10.5px;
  line-height: 1.35;
}

.device-detail-facts {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.device-detail-facts > div {
  display: grid;
  grid-template-columns: minmax(120px, 0.7fr) minmax(0, 1.3fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.device-detail-facts > div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.device-detail-facts dt,
.device-detail-facts dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}

.device-detail-facts dt {
  color: #64748b;
  font-weight: 650;
}

.device-detail-facts dd {
  color: #cbd5e1;
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
}

.device-detail-binding-panel {
  display: flex;
  flex-direction: column;
}

.device-detail-binding-status {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  margin-bottom: 16px;
  padding: 0 15px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 11px;
  background: rgba(148, 163, 184, 0.06);
  color: #cbd5e1;
}

.device-detail-binding-status.active {
  border-color: rgba(74, 222, 128, 0.22);
  background: rgba(74, 222, 128, 0.08);
  color: #86efac;
}

.device-detail-binding-status.warning {
  border-color: rgba(251, 191, 36, 0.22);
  background: rgba(251, 191, 36, 0.08);
  color: #fcd34d;
}

.device-detail-binding-status.danger {
  border-color: rgba(248, 113, 113, 0.22);
  background: rgba(248, 113, 113, 0.08);
  color: #fca5a5;
}

.device-detail-binding-status.muted {
  color: #cbd5e1;
}

.device-detail-binding-status strong {
  font-size: 13px;
  font-weight: 800;
}

.device-detail-binding-facts {
  display: grid;
  gap: 11px;
  margin-top: auto;
}

.device-detail-binding-facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-top: 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.device-detail-binding-facts span {
  color: #64748b;
  font-size: 11px;
}

.device-detail-binding-facts strong {
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 750;
  text-align: right;
  overflow-wrap: anywhere;
}

.device-detail-table-panel {
  padding-bottom: 14px;
}

.device-detail-table-heading {
  margin-bottom: 14px;
}

.device-detail-panel-title-group {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 11px !important;
  width: 100%;
}

.device-detail-panel-title-group > div:nth-child(2) {
  flex: 1 1 auto;
}

.device-detail-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 22px;
  padding: 2px 7px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: #94a3b8 !important;
  font-size: 10px !important;
  font-weight: 800;
}

.device-detail-table-scroll {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.24) transparent;
}

.device-detail-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: 12px;
}

.device-detail-history-table {
  min-width: 720px;
}

.device-detail-table th {
  padding: 11px 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: #0e121b;
  color: #64748b;
  font-size: 9.5px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-align: left;
  white-space: nowrap;
}

.device-detail-table td {
  padding: 12px 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  color: #cbd5e1;
  vertical-align: middle;
}

.device-detail-table tbody tr:last-child td {
  border-bottom: none;
}

.device-detail-table tbody tr {
  transition: background 160ms ease;
}

.device-detail-table tbody tr:hover {
  background: rgba(45, 212, 191, 0.035);
}

.device-detail-date {
  color: #94a3b8 !important;
  font-size: 11px;
  white-space: nowrap;
}

.device-detail-version {
  display: inline-block;
  padding: 3px 7px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.045);
  color: #cbd5e1;
  font-size: 10.5px;
  font-weight: 750;
}

.device-detail-status-badge.compact {
  padding: 3px 8px;
  font-size: 10px;
}

.device-detail-event-badge {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid rgba(251, 146, 60, 0.23);
  border-radius: 5px;
  background: rgba(251, 146, 60, 0.09);
  color: #fdba74;
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}

.device-detail-empty,
.device-detail-empty-row {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 30px 20px;
  border: 1px dashed rgba(148, 163, 184, 0.18);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.018);
  color: #94a3b8;
  text-align: center;
}

.device-detail-empty {
  min-height: 220px;
  align-content: center;
}

.device-detail-empty strong {
  color: #e2e8f0;
  font-size: 16px;
}

.device-detail-empty-kicker {
  color: #2dd4bf;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.device-detail-empty .device-detail-back-link {
  margin-top: 5px;
}

@media (max-width: 1080px) {
  .device-detail-hero-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .device-detail-hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .device-detail-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .device-detail-overview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .device-detail-hero {
    padding: 23px 18px;
    border-radius: 14px;
  }

  .device-detail-hero-metrics,
  .device-detail-meta-grid {
    grid-template-columns: 1fr;
  }

  .device-detail-panel {
    padding: 16px;
  }

  .device-detail-facts > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .device-detail-facts dd,
  .device-detail-binding-facts strong {
    text-align: left;
  }

  .device-detail-route-label {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .device-detail-back-link,
  .device-detail-table tbody tr {
    transition: none;
  }
}

/* ══════════════════════════════════════════════
   Support page — focused workspace
   ══════════════════════════════════════════════ */
.support-page {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.support-stat-card,
.support-compose-card,
.support-history-card,
.support-side-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--bg-card);
}

.support-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.2;
}

.support-section-heading h2 {
  margin: 0;
  color: var(--text);
  letter-spacing: -0.035em;
}

.support-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.support-stat-card {
  display: grid;
  min-width: 0;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(16, 22, 34, 0.75) 0%, rgba(10, 14, 22, 0.9) 100%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.support-stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(45, 212, 191, 0.35);
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.4), 0 0 18px rgba(45, 212, 191, 0.14);
}

.support-stat-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.support-stat-label svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
  transition: transform 0.2s ease, color 0.2s ease;
}

.support-stat-card:hover .support-stat-label svg {
  transform: scale(1.15);
  color: #2dd4bf;
}

.support-stat-card > strong {
  overflow: hidden;
  color: var(--text);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-stat-card > span:last-child {
  overflow: hidden;
  color: var(--text-dim);
  font-size: 10.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-stat-card .support-stat-date {
  font-size: 16px;
  letter-spacing: -0.02em;
}

.support-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  align-items: start;
  gap: 18px;
}

.support-compose-card,
.support-history-card,
.support-side-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(16, 22, 34, 0.7) 0%, rgba(10, 14, 22, 0.88) 100%);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.support-compose-card:hover,
.support-history-card:hover,
.support-side-card:hover {
  border-color: rgba(45, 212, 191, 0.25);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45), 0 0 20px rgba(45, 212, 191, 0.08);
}

.support-compose-card {
  min-width: 0;
  padding: 24px;
}

.support-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.support-section-heading h2 {
  font-size: 19px;
  font-weight: 800;
}

.support-warning-alert {
  position: relative;
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  padding: 11px 42px;
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 10px;
  background: rgba(251, 191, 36, 0.045);
}

.support-warning-alert > svg {
  position: absolute;
  left: 14px;
  width: 16px;
  height: 16px;
  color: var(--warning);
}

.support-warning-alert p {
  max-width: 780px;
  margin: 0;
  color: rgba(251, 191, 36, 0.84);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.support-form {
  display: grid;
  gap: 18px;
}

.support-validation-summary {
  margin: 0;
  font-size: 12px;
}

.support-form-topline,
.support-field-label-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.support-field-label {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.support-field-label em {
  color: var(--text-dim);
  font-size: 9px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.support-field-help,
.support-optional {
  display: block;
  margin-top: 5px;
  color: var(--text-dim);
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.35;
}

.support-optional {
  flex: 0 0 auto;
  margin-top: 1px;
}

.support-priority-field {
  width: 150px;
  flex: 0 0 150px;
}

.support-priority-field select {
  min-height: 40px;
  margin-top: 6px;
  font-size: 12px;
}

.support-category-fieldset {
  min-width: 0;
  margin: -5px 0 0;
  padding: 0;
  border: 0;
}

.support-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.support-category-option {
  position: relative;
  display: block;
  min-width: 0;
  cursor: pointer;
}

.support-category-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.support-category-card {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.support-category-option:hover .support-category-card {
  border-color: rgba(45, 212, 191, 0.45);
  background: rgba(45, 212, 191, 0.06);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3), 0 0 14px rgba(45, 212, 191, 0.15);
}

.support-category-option input:focus-visible + .support-category-card {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.support-category-option input:checked + .support-category-card {
  border-color: rgba(45, 212, 191, 0.65);
  background: rgba(45, 212, 191, 0.09);
  box-shadow: inset 3px 0 0 var(--accent), 0 0 18px rgba(45, 212, 191, 0.18);
  transform: translateY(-1px);
}

.support-category-glyph {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, 0.17);
  border-radius: 7px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 800;
}

.support-category-option input:checked + .support-category-card .support-category-glyph {
  border-color: rgba(45, 212, 191, 0.32);
  color: var(--accent);
}

.support-category-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.support-category-copy strong {
  overflow: hidden;
  color: var(--text);
  font-size: 11px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-category-copy small {
  color: var(--warning);
  font-size: 9.5px;
  line-height: 1.1;
}

.support-form-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.support-form-field input,
.support-form-field select,
.support-form-field textarea {
  min-height: 42px;
  font-size: 12.5px;
}

.support-form-field textarea {
  min-height: 112px;
  line-height: 1.5;
}

.support-form-field > span:not(.support-field-label):not(.support-field-help) {
  color: var(--danger, #f87171);
  font-size: 10px;
}

.support-related-grid {
  display: grid;
  gap: 12px;
}

.support-form-section,
.support-related-section {
  display: grid;
  gap: 8px;
}

.support-related-section {
  padding-top: 2px;
}

.support-related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.support-dropzone {
  position: relative;
  min-height: 126px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px dashed rgba(148, 163, 184, 0.24);
  border-radius: 11px;
  background: rgba(2, 6, 23, 0.22);
  text-align: center;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.support-dropzone:hover,
.support-dropzone.dragover {
  border-color: rgba(45, 212, 191, 0.54);
  background: rgba(45, 212, 191, 0.045);
}

.support-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0;
}

.support-dropzone-content {
  display: grid;
  position: relative;
  z-index: 1;
  justify-items: center;
  gap: 7px;
  pointer-events: none;
}

.support-dropzone-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(45, 212, 191, 0.24);
  border-radius: 9px;
  color: var(--accent);
  background: rgba(45, 212, 191, 0.06);
}

.support-dropzone-icon svg {
  width: 18px;
  height: 18px;
}

.support-dropzone-content strong {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
}

.support-dropzone-content > span:last-child {
  color: var(--text-dim);
  font-size: 10px;
}

.support-file-list {
  display: grid;
  gap: 4px;
  color: var(--text-secondary);
  font-size: 11px;
}

.support-submit-button {
  width: 100%;
  min-height: 44px;
  margin-top: 2px;
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 50%, #0284c7 100%);
  border: 1px solid rgba(45, 212, 191, 0.35);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(20, 184, 166, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, filter 0.25s ease;
  cursor: pointer;
}

.support-submit-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 6px 24px rgba(20, 184, 166, 0.48), 0 0 20px rgba(45, 212, 191, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.support-submit-button:active {
  transform: translateY(0);
}

.support-submit-button svg {
  width: 16px;
  height: 16px;
}

.support-side-column {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 14px;
}

.support-history-card,
.support-side-card {
  min-width: 0;
  padding: 20px;
}

.support-history-heading {
  align-items: center;
  margin-bottom: 14px;
}

.support-history-heading h2 {
  font-size: 17px;
}

.support-history-count {
  color: var(--text-dim);
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}

.support-ticket-list {
  display: grid;
  gap: 6px;
}

.support-empty-state {
  display: grid;
  min-height: 190px;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 28px 18px;
  border: 1px dashed rgba(148, 163, 184, 0.18);
  border-radius: 11px;
  background: rgba(2, 6, 23, 0.18);
  text-align: center;
}

.support-empty-icon {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 4px;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 11px;
  color: var(--text-muted);
}

.support-empty-icon svg {
  width: 20px;
  height: 20px;
}

.support-empty-state strong {
  color: var(--text-secondary);
  font-size: 12px;
}

.support-empty-state > span:last-child {
  color: var(--text-dim);
  font-size: 10.5px;
}

.support-ticket-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
  background: rgba(15, 23, 42, 0.28);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.support-ticket-row:hover {
  transform: translateX(4px);
  border-color: rgba(45, 212, 191, 0.35);
  background: rgba(45, 212, 191, 0.06);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), 0 0 14px rgba(45, 212, 191, 0.12);
}

.support-ticket-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  color: var(--accent);
}

.support-ticket-mark svg {
  width: 16px;
  height: 16px;
}

.support-ticket-content {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.support-ticket-topline {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--text-dim);
  font-size: 9.5px;
  font-weight: 700;
}

.support-ticket-time {
  flex: 0 0 auto;
  font-weight: 500;
}

.support-ticket-content > strong {
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-ticket-meta {
  overflow: hidden;
  color: var(--text-muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-ticket-side {
  display: grid;
  justify-items: end;
  gap: 5px;
}

.support-ticket-side > svg {
  width: 14px;
  height: 14px;
  color: var(--text-dim);
}

.support-ticket-status {
  padding: 3px 7px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 750;
  white-space: nowrap;
}

.support-ticket-status.open,
.support-ticket-status.waitingforsupport {
  border-color: rgba(45, 212, 191, 0.3);
  color: var(--accent);
  background: rgba(45, 212, 191, 0.06);
}

.support-ticket-status.answered,
.support-ticket-status.waitingforcustomer {
  border-color: rgba(251, 191, 36, 0.28);
  color: var(--warning);
  background: rgba(251, 191, 36, 0.05);
}

.support-ticket-status.closed,
.support-ticket-status.resolved {
  color: var(--text-muted);
  background: rgba(148, 163, 184, 0.05);
}

.support-show-more {
  width: 100%;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 9px;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.support-show-more:hover {
  border-color: rgba(45, 212, 191, 0.4);
  color: #ffffff;
  background: rgba(45, 212, 191, 0.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2), 0 0 12px rgba(45, 212, 191, 0.15);
  transform: translateY(-1px);
}

.support-show-more svg {
  width: 14px;
  height: 14px;
}

.support-card-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
}

.support-card-title h3 {
  margin: 0;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.support-card-title-icon {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid rgba(45, 212, 191, 0.24);
  border-radius: 8px;
  color: var(--accent);
}

.support-card-title-icon svg {
  width: 15px;
  height: 15px;
}

.support-guidelines-card {
  background: rgba(15, 23, 42, 0.42);
}

.support-guidelines-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.support-guidelines-list li {
  position: relative;
  padding-left: 15px;
  color: var(--text-muted);
  font-size: 10.5px;
  line-height: 1.4;
}

.support-guidelines-list li::before {
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 6px;
  height: 6px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  content: "";
}

.support-page .support-file-list-error {
  display: block;
  margin-top: 2px;
  color: var(--danger, #f87171);
  font-size: 10.5px;
  font-weight: 700;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1200px) {
  .support-content-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .support-side-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-history-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .support-stat-grid,
  .support-related-grid,
  .support-side-column {
    grid-template-columns: 1fr;
  }

  .support-history-card {
    grid-column: auto;
  }

  .support-compose-card,
  .support-history-card,
  .support-side-card {
    padding: 18px;
  }

  .support-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .support-section-heading,
  .support-form-topline,
  .support-field-label-row {
    align-items: stretch;
    flex-direction: column;
  }

  .support-priority-field {
    width: 100%;
    flex-basis: auto;
  }

  .support-category-grid {
    grid-template-columns: 1fr;
  }

  .support-ticket-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .support-ticket-side {
    grid-column: 2;
    grid-template-columns: auto auto;
    justify-content: space-between;
    justify-items: start;
  }
}
.logout-form{margin:0}.logout-form button.nav-item{width:100%;text-align:left;background:none;border:0;font:inherit;cursor:pointer}.logout-form button.topbar-user-logout-btn{width:100%;text-align:left;font:inherit;border:0;cursor:pointer}.kohlas-confirm-overlay{backdrop-filter:blur(5px)}
.license-activation-input { width: 100%; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 12px 14px; font-family: monospace; font-size: 14px; color: #f8fafc; outline: none; transition: border-color .2s; }
.license-activation-input:focus { border-color: rgba(45,212,191,.5); }

/* Shared account social controls: distinct channels, keyboard labels and wrapping. */
.topbar-center { min-width:0; padding:0 16px; }
.topbar-social-links { flex-wrap:wrap; justify-content:center; max-width:100%; }
.topbar-social-btn { flex:0 0 32px; }
.topbar-social-btn.discord { color:#aab3ff; }
.topbar-social-btn.telegram-group,.topbar-social-btn.telegram-channel { color:#70c8e9; }
.topbar-social-btn.youtube,.topbar-social-btn.youtube-tut { color:#f49a9a; }
.topbar-social-btn:focus-visible { outline:2px solid #73dfc7; outline-offset:3px; }
.topbar-social-btn:focus-visible .social-tooltip { opacity:1; transform:translateX(-50%) translateY(0); }
.social-type-badge { position:absolute; right:-3px; bottom:-3px; min-width:13px; height:13px; border-radius:4px; padding:0 2px; background:#19242c; border:1px solid #384b55; color:#e1edf2; font-size:8px; font-weight:800; line-height:11px; text-align:center; }
@media(max-width:1240px) { .topbar { height:auto; min-height:var(--topbar-h); padding-top:9px; padding-bottom:9px; } .topbar-social-links { border-radius:16px; } }
@media(max-width:760px) { .topbar { display:grid; grid-template-columns:40px minmax(0,1fr); gap:10px; } .topbar-left { grid-column:1; grid-row:1; } .topbar-right-actions { grid-column:2; grid-row:1; justify-self:end; min-width:0; gap:10px; } .topbar-center { grid-column:1/-1; grid-row:2; padding:0; } .topbar-social-links { width:100%; border-radius:14px; padding:8px; gap:9px; } .topbar-social-btn { width:36px; height:36px; flex-basis:36px; } .topbar-profile-info { max-width:150px; } .topbar-social-btn .social-tooltip { max-width:145px; white-space:normal; text-align:center; } }
