@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* --- CUSTOM PROPERTIES (DataTics Design System) --- */
:root {
  --font-sans: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Brand Colors */
  --bg-oxford-dark: #070a10;
  --bg-panel: rgba(11, 15, 25, 0.7);
  --primary-cyan: #3dc4bd;
  --primary-cyan-rgb: 61, 196, 189;
  --accent-sage: #8badb0;
  --accent-sage-rgb: 139, 173, 176;
  
  /* System States */
  --color-healthy: #10b981;
  --color-healthy-rgb: 16, 185, 129;
  --color-warning: #f59e0b;
  --color-warning-rgb: 245, 158, 11;
  --color-danger: #ef4444;
  --color-danger-rgb: 239, 68, 68;

  /* Layout and UI */
  --radius-xl: 20px;
  --radius-lg: 14px;
  --radius-md: 8px;
  --border-glass: rgba(61, 196, 189, 0.15);
  --border-glass-focus: rgba(61, 196, 189, 0.4);
  --text-white: #ffffff;
  --text-muted: rgba(139, 173, 176, 0.7);
  --text-dimmed: rgba(139, 173, 176, 0.45);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glow-cyan: 0 0 20px rgba(61, 196, 189, 0.25);
  --glow-danger: 0 0 20px rgba(239, 68, 68, 0.25);
}

/* --- RESET & BASIC STYLES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-oxford-dark);
  background-image: 
    radial-gradient(at 0% 0%, rgba(61, 196, 189, 0.08) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(139, 173, 176, 0.05) 0px, transparent 50%),
    linear-gradient(to right, rgba(61, 196, 189, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(61, 196, 189, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
  color: var(--text-white);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(7, 10, 16, 0.5);
}
::-webkit-scrollbar-thumb {
  background: var(--border-glass-focus);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-cyan);
}

/* --- GLASSMORPHIC & CONTAINER UTILITIES --- */
.glass-panel {
  background: var(--bg-panel);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: rgba(61, 196, 189, 0.25);
  box-shadow: 0 8px 32px 0 rgba(61, 196, 189, 0.05);
}

.glow-btn {
  background: linear-gradient(135deg, var(--primary-cyan) 0%, rgba(61, 196, 189, 0.8) 100%);
  color: #05070a;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  padding: 10px 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  transition: var(--transition-smooth);
  box-shadow: var(--glow-cyan);
}

.glow-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(61, 196, 189, 0.55);
}

.glow-btn:active {
  transform: translateY(0);
}

/* --- LOGIN / ROLE SWITCHER SCREEN --- */
.login-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg-oxford-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: var(--transition-smooth);
}

.login-overlay.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.05);
}

.login-card {
  width: 100%;
  max-width: 540px;
  padding: 40px;
  text-align: center;
}

.login-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}

.login-logo svg {
  width: 110px;
  height: 110px;
  animation: float 6s ease-in-out infinite;
}

.login-logo h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.5px;
  margin-top: 10px;
  margin-bottom: 5px;
}

.login-logo p {
  color: var(--primary-cyan);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-style: italic;
}

.role-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 30px;
}

.role-card {
  background: rgba(11, 15, 25, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
  transition: var(--transition-smooth);
}

.role-card:hover {
  background: rgba(61, 196, 189, 0.08);
  border-color: var(--primary-cyan);
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--glow-cyan);
}

.role-icon {
  background: rgba(61, 196, 189, 0.1);
  color: var(--primary-cyan);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition-smooth);
}

.role-card:hover .role-icon {
  background: var(--primary-cyan);
  color: #05070a;
  box-shadow: 0 0 15px var(--primary-cyan);
}

.role-title {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-white);
  margin-bottom: 4px;
}

.role-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- APP LAYOUT --- */
.app-container {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

/* Sidebar */
aside {
  background: rgba(7, 10, 16, 0.85);
  border-right: 1px solid var(--border-glass);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(10px);
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.sidebar-logo svg {
  width: 44px;
  height: 44px;
}

.sidebar-logo div {
  line-height: 1.1;
}

.sidebar-logo h2 {
  font-size: 1.3rem;
  font-weight: 700;
}

.sidebar-logo span {
  font-size: 0.72rem;
  color: var(--primary-cyan);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-btn {
  width: 100%;
  padding: 12px 16px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.nav-btn:hover {
  background: rgba(61, 196, 189, 0.05);
  color: var(--text-white);
  border-color: rgba(61, 196, 189, 0.1);
}

.nav-btn.active {
  background: rgba(61, 196, 189, 0.12);
  color: var(--primary-cyan);
  border-color: rgba(61, 196, 189, 0.35);
  font-weight: 600;
  box-shadow: inset 0 0 10px rgba(61, 196, 189, 0.05);
}

/* User Session Status block */
.user-profile-section {
  padding: 15px;
  border-top: 1px solid var(--border-glass);
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-cyan);
  color: #05070a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: var(--glow-cyan);
}

.user-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.user-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.user-role-label {
  font-size: 0.75rem;
  color: var(--primary-cyan);
}

.logout-btn {
  background: rgba(239, 68, 68, 0.1);
  color: var(--color-danger);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-md);
  padding: 8px;
  width: 100%;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  font-family: var(--font-sans);
  transition: var(--transition-smooth);
}

.logout-btn:hover {
  background: var(--color-danger);
  color: var(--text-white);
  box-shadow: var(--glow-danger);
}

/* Main Area */
main {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

/* Header */
header {
  padding: 20px 40px;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(5px);
}

.header-title h1 {
  font-size: 1.5rem;
  font-weight: 700;
}

.header-title p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-container {
  position: relative;
  width: 300px;
}

.search-input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  background: rgba(7, 10, 16, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-smooth);
}

.search-input:focus {
  border-color: var(--primary-cyan);
  box-shadow: var(--glow-cyan);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* --- WORKSPACE SCREENS --- */
.workspace-screen {
  flex: 1;
  padding: 30px 40px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.workspace-screen.hidden {
  display: none;
}

/* Dashboard View (Admin only) */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.metric-card {
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.metric-title {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.metric-value-container {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.metric-value {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.metric-delta {
  font-size: 0.85rem;
  font-weight: 600;
}

.metric-delta.up { color: var(--color-healthy); }
.metric-delta.down { color: var(--color-danger); }

.metric-visual-container {
  margin-top: 15px;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
}

.metric-progress {
  height: 100%;
  background: var(--primary-cyan);
  box-shadow: 0 0 10px var(--primary-cyan);
  border-radius: 3px;
  transition: width 1s ease-in-out;
}

/* Split Content Grid */
.dashboard-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 25px;
  align-items: start;
}

/* Diagnostics feed */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.section-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.node-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.node-item {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
}

.node-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.node-meta {
  display: flex;
  align-items: center;
  gap: 15px;
}

.node-badge {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.node-badge.healthy {
  background: var(--color-healthy);
  box-shadow: 0 0 10px var(--color-healthy);
}

.node-badge.warning {
  background: var(--color-warning);
  box-shadow: 0 0 10px var(--color-warning);
}

.node-badge.danger {
  background: var(--color-danger);
  box-shadow: 0 0 10px var(--color-danger);
  animation: pulse 1.5s infinite;
}

.node-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.node-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.node-performance {
  text-align: right;
}

.node-latency {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.9rem;
}

/* --- TICKET HUB --- */
.ticket-hub-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 25px;
  flex: 1;
  overflow: hidden;
}

/* Filter controls */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 15px;
}

.tabs-container {
  display: flex;
  background: rgba(7, 10, 16, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 3px;
}

.tab-btn {
  padding: 8px 16px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: calc(var(--radius-md) - 2px);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tab-btn.active {
  background: var(--primary-cyan);
  color: #05070a;
}

.ticket-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  max-height: calc(100vh - 280px);
  padding-right: 5px;
}

.ticket-card {
  padding: 20px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.ticket-card.active {
  border-color: var(--primary-cyan);
  background: rgba(61, 196, 189, 0.05);
  box-shadow: inset 0 0 15px rgba(61, 196, 189, 0.05);
}

.ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.ticket-id {
  font-family: var(--font-mono);
  color: var(--primary-cyan);
  font-weight: 700;
  font-size: 0.9rem;
}

.ticket-badges {
  display: flex;
  gap: 6px;
}

.badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.badge.priority-urgent { background: rgba(239, 68, 68, 0.15); color: var(--color-danger); border: 1px solid rgba(239, 68, 68, 0.3); }
.badge.priority-high { background: rgba(245, 158, 11, 0.15); color: var(--color-warning); border: 1px solid rgba(245, 158, 11, 0.3); }
.badge.priority-medium { background: rgba(61, 196, 189, 0.15); color: var(--primary-cyan); border: 1px solid rgba(61, 196, 189, 0.3); }
.badge.priority-low { background: rgba(255, 255, 255, 0.05); color: var(--text-muted); border: 1px solid rgba(255, 255, 255, 0.1); }

.badge.status-open { background: rgba(16, 185, 129, 0.15); color: var(--color-healthy); }
.badge.status-inprogress { background: rgba(245, 158, 11, 0.15); color: var(--color-warning); }
.badge.status-resolved { background: rgba(255, 255, 255, 0.1); color: var(--text-muted); }

.ticket-subject {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticket-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Detail drawer side panel */
.detail-panel {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 200px);
}

.detail-header {
  padding: 24px;
  border-bottom: 1px solid var(--border-glass);
}

.detail-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-desc {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: 0.95rem;
}

.detail-actions-strip {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

/* Canned replies templates */
.canned-container {
  margin-top: 10px;
}

.canned-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-cyan);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.canned-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.canned-tag {
  background: rgba(61, 196, 189, 0.08);
  border: 1px solid var(--border-glass);
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.canned-tag:hover {
  background: var(--primary-cyan);
  color: #05070a;
  box-shadow: 0 0 10px var(--primary-cyan);
}

/* Detail comments timeline */
.comments-timeline {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 10px;
}

.comment-bubble {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  max-width: 90%;
}

.comment-bubble.technician {
  background: rgba(61, 196, 189, 0.07);
  border-left: 3px solid var(--primary-cyan);
  align-self: flex-start;
}

.comment-bubble.admin {
  background: rgba(245, 158, 11, 0.07);
  border-left: 3px solid var(--color-warning);
  align-self: flex-start;
}

.comment-bubble.client {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--text-muted);
  align-self: flex-end;
}

.comment-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.comment-author {
  font-weight: 700;
}

.comment-text {
  font-size: 0.9rem;
  word-break: break-word;
}

/* Detail Footer (input text) */
.detail-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-glass);
  background: rgba(7, 10, 16, 0.4);
}

.comment-input-form {
  display: flex;
  gap: 10px;
}

.comment-input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(7, 10, 16, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-smooth);
}

.comment-input:focus {
  border-color: var(--primary-cyan);
  box-shadow: var(--glow-cyan);
}

/* --- CLIENT ESCALATION PANEL --- */
.client-container {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 30px;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-white);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(7, 10, 16, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--primary-cyan);
  box-shadow: var(--glow-cyan);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Asset badges */
.asset-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.asset-card {
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.asset-info {
  display: flex;
  flex-direction: column;
}

.asset-name {
  font-weight: 600;
  font-size: 0.92rem;
}

.asset-serial {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.asset-status {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-cyan);
}

/* Action button variations */
.btn-action {
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: var(--transition-smooth);
}

.btn-work {
  background: rgba(61, 196, 189, 0.1);
  color: var(--primary-cyan);
  border: 1px solid rgba(61, 196, 189, 0.3);
}

.btn-work:hover {
  background: var(--primary-cyan);
  color: #05070a;
  box-shadow: var(--glow-cyan);
}

.btn-solve {
  background: rgba(16, 185, 129, 0.1);
  color: var(--color-healthy);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.btn-solve:hover {
  background: var(--color-healthy);
  color: #05070a;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

.btn-delete {
  background: rgba(239, 68, 68, 0.1);
  color: var(--color-danger);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-delete:hover {
  background: var(--color-danger);
  color: var(--text-white);
  box-shadow: var(--glow-danger);
}

.btn-reassign {
  background: rgba(245, 158, 11, 0.1);
  color: var(--color-warning);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.btn-reassign:hover {
  background: var(--color-warning);
  color: #05070a;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
}

/* Assign select menu */
.assign-select {
  background: rgba(7, 10, 16, 0.85);
  border: 1px solid var(--border-glass);
  color: var(--text-white);
  padding: 8px 12px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  border-radius: var(--radius-md);
  outline: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.assign-select:focus {
  border-color: var(--primary-cyan);
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(3deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

/* Modal wrapper */
.dialog-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 10, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dialog-overlay.hidden {
  display: none;
}

/* Responsive adjust */
@media(max-width: 1024px) {
  .app-container {
    grid-template-columns: 1fr;
  }
  aside {
    display: none; /* simple stack fallback or sidebar toggler can be implemented */
  }
  .dashboard-split {
    grid-template-columns: 1fr;
  }
  .ticket-hub-layout {
    grid-template-columns: 1fr;
  }
  .client-container {
    grid-template-columns: 1fr;
  }
}
