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

:root {
  /* Color Palette - Light Mode */
  --sh-bg: #f8fafc;
  --sh-bg-mesh: radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.05) 0px, transparent 50%),
                radial-gradient(at 100% 100%, rgba(99, 102, 241, 0.05) 0px, transparent 50%);
  --sh-surface: #ffffff;
  --sh-surface-2: #f1f5f9;
  --sh-surface-3: #e2e8f0;
  --sh-border: #e2e8f0;
  --sh-border-subtle: #edf2f7;
  --sh-text: #0f172a;
  --sh-text-muted: #64748b;
  --sh-text-subtle: #94a3b8;
  
  --sh-primary: #2563eb;
  --sh-primary-hover: #1d4ed8;
  --sh-primary-active: #1e40af;
  --sh-primary-light: #eff6ff;
  --sh-primary-glow: rgba(37, 99, 235, 0.25);
  
  --sh-sidebar: #0f172a;
  --sh-sidebar-surface: #1e293b;
  --sh-sidebar-border: rgba(255, 255, 255, 0.08);
  --sh-sidebar-text: #94a3b8;
  --sh-sidebar-text-hover: #f8fafc;
  --sh-sidebar-active: #2563eb;
  --sh-sidebar-active-bg: rgba(37, 99, 235, 0.15);
  
  --sh-danger: #ef4444;
  --sh-danger-hover: #dc2626;
  --sh-danger-light: #fef2f2;
  --sh-danger-border: #fecaca;
  
  --sh-success: #10b981;
  --sh-success-hover: #059669;
  --sh-success-light: #ecfdf5;
  --sh-success-border: #a7f3d0;
  
  --sh-warning: #f59e0b;
  --sh-warning-hover: #d97706;
  --sh-warning-light: #fffbeb;
  --sh-warning-border: #fde68a;
  
  --sh-info: #06b6d4;
  --sh-info-hover: #0891b2;
  --sh-info-light: #ecfeff;
  --sh-info-border: #a5f3fc;

  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.04);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.07), 0 1px 2px -1px rgb(0 0 0 / 0.07);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.04);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.09), 0 8px 10px -6px rgb(0 0 0 / 0.04);
  --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.18);
  --shadow-primary: 0 4px 14px 0 rgba(37, 99, 235, 0.35);

  /* Radius */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

html.dark {
  /* Color Palette - Dark Mode */
  --sh-bg: #0b1120;
  --sh-bg-mesh: radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.1) 0px, transparent 50%),
                radial-gradient(at 100% 100%, rgba(139, 92, 246, 0.08) 0px, transparent 50%);
  --sh-surface: #131d31;
  --sh-surface-2: #1e293b;
  --sh-surface-3: #334155;
  --sh-border: #233149;
  --sh-border-subtle: #1a263c;
  --sh-text: #f1f5f9;
  --sh-text-muted: #94a3b8;
  --sh-text-subtle: #64748b;
  
  --sh-primary: #3b82f6;
  --sh-primary-hover: #60a5fa;
  --sh-primary-active: #2563eb;
  --sh-primary-light: rgba(59, 130, 246, 0.15);
  --sh-primary-glow: rgba(59, 130, 246, 0.35);
  
  --sh-sidebar: #070d18;
  --sh-sidebar-surface: #0f172a;
  --sh-sidebar-border: rgba(255, 255, 255, 0.06);
  --sh-sidebar-text: #94a3b8;
  --sh-sidebar-text-hover: #ffffff;
  --sh-sidebar-active: #3b82f6;
  --sh-sidebar-active-bg: rgba(59, 130, 246, 0.18);
  
  --sh-danger: #f87171;
  --sh-danger-hover: #ef4444;
  --sh-danger-light: rgba(239, 68, 68, 0.15);
  --sh-danger-border: rgba(239, 68, 68, 0.3);
  
  --sh-success: #34d399;
  --sh-success-hover: #10b981;
  --sh-success-light: rgba(16, 185, 129, 0.15);
  --sh-success-border: rgba(16, 185, 129, 0.3);
  
  --sh-warning: #fbbf24;
  --sh-warning-hover: #f59e0b;
  --sh-warning-light: rgba(245, 158, 11, 0.15);
  --sh-warning-border: rgba(245, 158, 11, 0.3);
  
  --sh-info: #38bdf8;
  --sh-info-hover: #06b6d4;
  --sh-info-light: rgba(6, 182, 212, 0.15);
  --sh-info-border: rgba(6, 182, 212, 0.3);

  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.3);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.4), 0 1px 2px -1px rgb(0 0 0 / 0.4);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.3);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.5), 0 4px 6px -4px rgb(0 0 0 / 0.4);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.6), 0 8px 10px -6px rgb(0 0 0 / 0.5);
  --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.7);
  --shadow-primary: 0 4px 20px 0 rgba(59, 130, 246, 0.4);
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--sh-bg);
  background-image: var(--sh-bg-mesh);
  background-attachment: fixed;
  color: var(--sh-text);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  color: var(--sh-text);
  letter-spacing: -0.02em;
}

/* Layout */
.sh-layout {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sh-sidebar {
  width: 270px;
  background: var(--sh-sidebar);
  color: var(--sh-sidebar-text);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  border-right: 1px solid var(--sh-sidebar-border);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  z-index: 50;
  position: relative;
}

.sh-sidebar-brand {
  padding: 22px 24px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #ffffff;
  border-bottom: 1px solid var(--sh-sidebar-border);
  display: flex;
  align-items: center;
  gap: 14px;
  letter-spacing: -0.01em;
}

.sh-sidebar-brand .sh-logo {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 17px;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.45);
  transition: transform var(--transition-fast);
}

.sh-sidebar-brand:hover .sh-logo {
  transform: scale(1.06) rotate(3deg);
}

.sh-sidebar-brand span {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sh-nav {
  flex: 1;
  overflow-y: auto;
  padding: 18px 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.sh-nav-section {
  font-size: 11px;
  text-transform: uppercase;
  color: #64748b;
  padding: 16px 14px 8px;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.sh-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius);
  cursor: pointer;
  color: #94a3b8;
  text-decoration: none;
  margin-bottom: 3px;
  font-size: 13.5px;
  font-weight: 500;
  transition: all var(--transition-fast);
  position: relative;
}

.sh-nav-item i {
  width: 20px;
  font-size: 15px;
  text-align: center;
  transition: transform var(--transition-fast), color var(--transition-fast);
  color: #64748b;
}

.sh-nav-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
}

.sh-nav-item:hover i {
  color: #60a5fa;
  transform: scale(1.15);
}

.sh-nav-item.active {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.22) 0%, rgba(37, 99, 235, 0.06) 100%);
  color: #ffffff;
  font-weight: 600;
  box-shadow: inset 3px 0 0 0 #3b82f6;
}

.sh-nav-item.active i {
  color: #3b82f6;
}

/* Sidebar Footer */
.sh-sidebar-footer {
  padding: 14px 16px;
  border-top: 1px solid var(--sh-sidebar-border);
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-shrink: 0;
}

.sh-sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.sh-sidebar-user .sh-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sh-primary) 0%, #6366f1 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
  flex-shrink: 0;
}

.sh-sidebar-user-info {
  min-width: 0;
  flex: 1;
}

.sh-sidebar-user-name {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.sh-sidebar-user-role {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
  text-transform: capitalize;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sh-sidebar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.sh-sidebar-action-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13.5px;
  transition: all var(--transition-fast);
  padding: 0;
}

.sh-sidebar-action-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.sh-sidebar-action-btn:active {
  transform: translateY(0);
}

.sh-sidebar-action-logout:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.35);
}

/* Main Area */
.sh-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
}

/* Topbar */
.sh-topbar {
  height: 68px;
  background: var(--sh-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sh-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: var(--shadow-xs);
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.sh-topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sh-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--sh-border);
  cursor: pointer;
  color: var(--sh-text);
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.sh-menu-btn:hover {
  background: var(--sh-surface-2);
  border-color: var(--sh-primary);
  color: var(--sh-primary);
}

.sh-page-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--sh-text);
  letter-spacing: -0.02em;
}

.sh-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sh-icon-btn {
  background: var(--sh-surface);
  border: 1px solid var(--sh-border);
  border-radius: var(--radius);
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--sh-text-muted);
  transition: all var(--transition-fast);
  font-size: 15px;
  padding: 0;
  text-decoration: none;
  flex-shrink: 0;
}

.sh-icon-btn:hover {
  background: var(--sh-surface-2);
  color: var(--sh-text);
  border-color: var(--sh-border);
  transform: translateY(-1px);
  box-shadow: var(--shadow-xs);
}

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

.sh-icon-btn-sm {
  width: 32px;
  height: 32px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.sh-icon-btn.sh-btn-danger,
.sh-icon-btn-danger {
  color: var(--sh-danger);
  border-color: var(--sh-danger-border);
  background: var(--sh-danger-light);
}

.sh-icon-btn.sh-btn-danger:hover,
.sh-icon-btn-danger:hover {
  background: var(--sh-danger);
  color: #ffffff;
  border-color: var(--sh-danger);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35);
}

.sh-icon-btn-primary {
  color: #ffffff;
  background: var(--sh-primary);
  border-color: var(--sh-primary);
}

.sh-icon-btn-primary:hover {
  background: var(--sh-primary-hover);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.sh-icon-btn i {
  transition: transform var(--transition-fast);
}

.sh-icon-btn:hover i {
  transform: scale(1.15);
}

/* User chip */
.sh-user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 12px 5px 6px;
  border-radius: var(--radius-full);
  background: var(--sh-surface-2);
  border: 1px solid var(--sh-border);
  transition: all var(--transition-fast);
}

.sh-user-chip:hover {
  border-color: var(--sh-primary-glow);
  box-shadow: var(--shadow-xs);
}

.sh-user-chip .sh-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sh-primary) 0%, #6366f1 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

.sh-user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--sh-text);
  line-height: 1.2;
}

.sh-user-role {
  font-size: 11px;
  color: var(--sh-text-muted);
  font-weight: 500;
}

/* Content Area */
.sh-content {
  flex: 1;
  padding: 28px;
  overflow-y: auto;
}

/* Cards */
.sh-card {
  background: var(--sh-surface);
  border: 1px solid var(--sh-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.sh-card:hover {
  box-shadow: var(--shadow);
}

.sh-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--sh-border-subtle);
  flex-wrap: wrap;
  gap: 12px;
}

.sh-card-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 17px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--sh-text);
}

.sh-card-title i {
  color: var(--sh-primary);
  font-size: 16px;
}

/* Stat Cards */
.sh-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.sh-stat {
  background: var(--sh-surface);
  border: 1px solid var(--sh-border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.sh-stat::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--stat-gradient, linear-gradient(90deg, var(--sh-primary), #6366f1));
}

.sh-stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--sh-primary-glow);
}

.sh-stat-info {
  display: flex;
  flex-direction: column;
}

.sh-stat-label {
  font-size: 12px;
  color: var(--sh-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.sh-stat-value {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 800;
  margin-top: 4px;
  color: var(--sh-text);
  letter-spacing: -0.03em;
  line-height: 1;
}

.sh-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: var(--stat-icon-bg, var(--sh-primary-light));
  color: var(--stat-icon-color, var(--sh-primary));
  flex-shrink: 0;
}

/* Stat color variants */
.sh-stat-open {
  --stat-gradient: linear-gradient(90deg, #3b82f6, #60a5fa);
  --stat-icon-bg: rgba(59, 130, 246, 0.12);
  --stat-icon-color: #3b82f6;
}

.sh-stat-progress {
  --stat-gradient: linear-gradient(90deg, #f59e0b, #fbbf24);
  --stat-icon-bg: rgba(245, 158, 11, 0.12);
  --stat-icon-color: #f59e0b;
}

.sh-stat-resolved {
  --stat-gradient: linear-gradient(90deg, #10b981, #34d399);
  --stat-icon-bg: rgba(16, 185, 129, 0.12);
  --stat-icon-color: #10b981;
}

.sh-stat-mine {
  --stat-gradient: linear-gradient(90deg, #8b5cf6, #a78bfa);
  --stat-icon-bg: rgba(139, 92, 246, 0.12);
  --stat-icon-color: #8b5cf6;
}

/* Buttons */
.sh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--sh-border);
  background: var(--sh-surface);
  color: var(--sh-text);
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.sh-btn i {
  font-size: 13px;
  transition: transform var(--transition-fast);
}

.sh-btn:hover {
  background: var(--sh-surface-2);
  border-color: var(--sh-border);
  transform: translateY(-1px);
  box-shadow: var(--shadow-xs);
}

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

.sh-btn-primary {
  background: linear-gradient(135deg, var(--sh-primary) 0%, #1d4ed8 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.sh-btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45);
}

.sh-btn-danger {
  background: linear-gradient(135deg, var(--sh-danger) 0%, #dc2626 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.sh-btn-danger:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.45);
}

.sh-btn-sm {
  padding: 6px 12px;
  font-size: 12.5px;
  border-radius: var(--radius-sm);
  gap: 6px;
}

.sh-btn-sm i {
  font-size: 11.5px;
}

.sh-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Forms */
.sh-form-group {
  margin-bottom: 18px;
}

.sh-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--sh-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sh-input, .sh-select, .sh-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--sh-border);
  border-radius: var(--radius);
  background: var(--sh-surface);
  color: var(--sh-text);
  font-size: 13.5px;
  font-family: inherit;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-xs);
}

.sh-input:focus, .sh-select:focus, .sh-textarea:focus {
  outline: none;
  border-color: var(--sh-primary);
  box-shadow: 0 0 0 3px var(--sh-primary-glow);
}

.sh-textarea {
  min-height: 105px;
  resize: vertical;
  line-height: 1.5;
}

.sh-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.sh-field-error {
  color: var(--sh-danger);
  font-size: 12px;
  font-weight: 500;
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Input group with icon */
.sh-input-icon-wrap {
  position: relative;
}

.sh-input-icon-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--sh-text-muted);
  font-size: 14px;
}

.sh-input-icon-wrap .sh-input {
  padding-left: 40px;
}

/* Badges */
.sh-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
  border: 1px solid transparent;
}

.sh-badge i {
  font-size: 10px;
}

.sh-badge-open {
  background: rgba(59, 130, 246, 0.12);
  color: #2563eb;
  border-color: rgba(59, 130, 246, 0.25);
}
html.dark .sh-badge-open {
  background: rgba(59, 130, 246, 0.18);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.35);
}

.sh-badge-progress {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
  border-color: rgba(245, 158, 11, 0.25);
}
html.dark .sh-badge-progress {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.35);
}

.sh-badge-pending {
  background: rgba(100, 116, 139, 0.12);
  color: #64748b;
  border-color: rgba(100, 116, 139, 0.25);
}
html.dark .sh-badge-pending {
  background: rgba(148, 163, 184, 0.15);
  color: #cbd5e1;
  border-color: rgba(148, 163, 184, 0.25);
}

.sh-badge-resolved {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.25);
}
html.dark .sh-badge-resolved {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.35);
}

.sh-badge-closed {
  background: rgba(148, 163, 184, 0.14);
  color: #64748b;
  border-color: rgba(148, 163, 184, 0.25);
}

.sh-badge-low {
  background: rgba(100, 116, 139, 0.12);
  color: #64748b;
  border-color: rgba(100, 116, 139, 0.22);
}

.sh-badge-medium {
  background: rgba(59, 130, 246, 0.12);
  color: #2563eb;
  border-color: rgba(59, 130, 246, 0.25);
}
html.dark .sh-badge-medium {
  background: rgba(59, 130, 246, 0.18);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.35);
}

.sh-badge-high {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
  border-color: rgba(245, 158, 11, 0.25);
}
html.dark .sh-badge-high {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.35);
}

.sh-badge-critical {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
  border-color: rgba(239, 68, 68, 0.25);
}
html.dark .sh-badge-critical {
  background: rgba(239, 68, 68, 0.18);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.35);
}

.sh-badge-active {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.25);
}
html.dark .sh-badge-active {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.35);
}

.sh-badge-inactive {
  background: rgba(148, 163, 184, 0.14);
  color: #64748b;
  border-color: rgba(148, 163, 184, 0.25);
}

.sh-badge-dev {
  background: rgba(100, 116, 139, 0.12);
  color: #64748b;
  border-color: rgba(100, 116, 139, 0.25);
}

.sh-badge-staging {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
  border-color: rgba(245, 158, 11, 0.25);
}

.sh-badge-prod {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.25);
}

/* Permission Badges (Action-based semantic coloring) */
.sh-badge-perm-view {
  background: rgba(14, 165, 233, 0.12);
  color: #0284c7;
  border-color: rgba(14, 165, 233, 0.25);
}
html.dark .sh-badge-perm-view {
  background: rgba(14, 165, 233, 0.18);
  color: #38bdf8;
  border-color: rgba(14, 165, 233, 0.35);
}

.sh-badge-perm-create {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.25);
}
html.dark .sh-badge-perm-create {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.35);
}

.sh-badge-perm-update {
  background: rgba(99, 102, 241, 0.12);
  color: #4f46e5;
  border-color: rgba(99, 102, 241, 0.25);
}
html.dark .sh-badge-perm-update {
  background: rgba(99, 102, 241, 0.18);
  color: #818cf8;
  border-color: rgba(99, 102, 241, 0.35);
}

.sh-badge-perm-assign {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
  border-color: rgba(245, 158, 11, 0.25);
}
html.dark .sh-badge-perm-assign {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.35);
}

.sh-badge-perm-manage {
  background: rgba(168, 85, 247, 0.12);
  color: #7e22ce;
  border-color: rgba(168, 85, 247, 0.25);
}
html.dark .sh-badge-perm-manage {
  background: rgba(168, 85, 247, 0.18);
  color: #c084fc;
  border-color: rgba(168, 85, 247, 0.35);
}

.sh-badge-perm-delete {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
  border-color: rgba(239, 68, 68, 0.25);
}
html.dark .sh-badge-perm-delete {
  background: rgba(239, 68, 68, 0.18);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.35);
}

.sh-badge-perm-default {
  background: rgba(100, 116, 139, 0.12);
  color: #64748b;
  border-color: rgba(100, 116, 139, 0.25);
}
html.dark .sh-badge-perm-default {
  background: rgba(148, 163, 184, 0.15);
  color: #cbd5e1;
  border-color: rgba(148, 163, 184, 0.25);
}

.sh-badge-users {
  background: rgba(99, 102, 241, 0.12);
  color: #4f46e5;
  border-color: rgba(99, 102, 241, 0.25);
}
html.dark .sh-badge-users {
  background: rgba(99, 102, 241, 0.18);
  color: #818cf8;
  border-color: rgba(99, 102, 241, 0.35);
}

.sh-badge-tenant {
  background: rgba(14, 165, 233, 0.12);
  color: #0284c7;
  border-color: rgba(14, 165, 233, 0.25);
}
html.dark .sh-badge-tenant {
  background: rgba(14, 165, 233, 0.18);
  color: #38bdf8;
  border-color: rgba(14, 165, 233, 0.35);
}

/* DataTables Styling */
.sh-table-wrap {
  overflow-x: auto;
  margin-top: 8px;
}

table.dataTable {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  width: 100% !important;
  border: 1px solid var(--sh-border) !important;
  border-radius: var(--radius) !important;
  overflow: hidden;
}

table.dataTable thead th {
  background: var(--sh-surface-2) !important;
  color: var(--sh-text-muted) !important;
  font-weight: 700 !important;
  text-align: left !important;
  padding: 12px 16px !important;
  border-bottom: 1px solid var(--sh-border) !important;
  border-top: none !important;
  font-size: 11.5px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

table.dataTable tbody td {
  padding: 13px 16px !important;
  border-bottom: 1px solid var(--sh-border) !important;
  color: var(--sh-text) !important;
  vertical-align: middle !important;
  font-size: 13.5px !important;
  background: var(--sh-surface) !important;
}

table.dataTable tbody tr:last-child td {
  border-bottom: none !important;
}

table.dataTable tbody tr:hover td {
  background: var(--sh-surface-2) !important;
}

.dataTables_wrapper {
  padding: 4px 0;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
  color: var(--sh-text-muted) !important;
  font-size: 13px !important;
  margin-bottom: 14px;
}

.dataTables_wrapper .dataTables_filter {
  margin-bottom: 16px;
}

.dataTables_wrapper .dataTables_filter input {
  border: 1px solid var(--sh-border) !important;
  border-radius: var(--radius) !important;
  padding: 7px 12px !important;
  background: var(--sh-surface) !important;
  color: var(--sh-text) !important;
  font-family: inherit !important;
  margin-left: 8px !important;
  font-size: 13px !important;
  box-shadow: var(--shadow-xs) !important;
  outline: none;
}

.dataTables_wrapper .dataTables_filter input:focus {
  border-color: var(--sh-primary) !important;
  box-shadow: 0 0 0 3px var(--sh-primary-glow) !important;
}

.dataTables_wrapper .dataTables_length select {
  border: 1px solid var(--sh-border) !important;
  border-radius: var(--radius-sm) !important;
  padding: 5px 8px !important;
  background: var(--sh-surface) !important;
  color: var(--sh-text) !important;
  font-family: inherit !important;
  margin: 0 4px !important;
  outline: none;
}

.dataTables_wrapper .dataTables_paginate {
  margin-top: 14px !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  justify-content: flex-end !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  border-radius: var(--radius) !important;
  border: 1px solid var(--sh-border) !important;
  background: var(--sh-surface) !important;
  color: var(--sh-text) !important;
  padding: 6px 12px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  transition: all var(--transition-fast) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: var(--sh-surface-2) !important;
  border-color: var(--sh-border) !important;
  color: var(--sh-text) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background: linear-gradient(135deg, var(--sh-primary) 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
  opacity: 0.4 !important;
  border-color: var(--sh-border) !important;
  background: var(--sh-surface) !important;
  color: var(--sh-text-muted) !important;
  cursor: not-allowed !important;
}

/* Filter Toolbars & Search */
.sh-filter-toolbar {
  background: var(--sh-surface-2);
  border: 1px solid var(--sh-border);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.sh-search-box {
  position: relative;
  flex: 1;
  min-width: 240px;
}

.sh-search-box i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--sh-text-muted);
  font-size: 13px;
  pointer-events: none;
}

.sh-search-box .sh-input {
  padding-left: 38px;
  height: 38px;
}

.sh-select-sm {
  height: 38px;
  font-size: 13px;
  padding: 6px 12px;
}

/* Card Grids */
.sh-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 18px;
  margin-top: 14px;
}

/* Entity & Directory Cards */
.sh-entity-card {
  background: var(--sh-surface);
  border: 1px solid var(--sh-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.sh-entity-card:hover {
  border-color: var(--sh-primary-glow);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.sh-tenant-card {
  background: var(--sh-surface);
  border: 1px solid var(--sh-border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  position: relative;
}

.sh-tenant-card:hover {
  border-color: var(--sh-primary-glow);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.sh-company-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.35);
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
}

.sh-user-dir-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
  font-family: 'Outfit', sans-serif;
}

/* Quota & Progress Meter */
.sh-quota-meter {
  background: var(--sh-surface-2);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  border: 1px solid var(--sh-border-subtle);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sh-quota-bar {
  height: 6px;
  border-radius: 99px;
  background: rgba(148, 163, 184, 0.2);
  overflow: hidden;
  width: 100%;
}

.sh-quota-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.3s ease;
}

.sh-quota-fill-green {
  background: #10b981;
}

.sh-quota-fill-amber {
  background: #f59e0b;
}

.sh-quota-fill-red {
  background: #ef4444;
}

/* Modals */
.sh-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
  animation: modalFadeIn 0.2s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.sh-modal {
  background: var(--sh-surface);
  border: 1px solid var(--sh-border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  animation: modalSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.sh-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--sh-border);
  background: var(--sh-surface);
  flex-shrink: 0;
}

.sh-modal-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--sh-text);
}

.sh-modal-title i {
  color: var(--sh-primary);
}

.sh-close-btn {
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--sh-text-muted);
  font-size: 16px;
  transition: all var(--transition-fast);
}

.sh-close-btn:hover {
  background: var(--sh-surface-2);
  color: var(--sh-text);
}

.sh-modal-body {
  padding: 24px;
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--sh-border-strong, rgba(148, 163, 184, 0.4)) transparent;
}

.sh-modal-body::-webkit-scrollbar {
  width: 6px;
}

.sh-modal-body::-webkit-scrollbar-track {
  background: transparent;
}

.sh-modal-body::-webkit-scrollbar-thumb {
  background: var(--sh-border-strong, rgba(148, 163, 184, 0.4));
  border-radius: 9999px;
}

.sh-modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--sh-text-muted, rgba(148, 163, 184, 0.7));
}

.sh-modal-footer {
  padding: 18px 24px;
  border-top: 1px solid var(--sh-border);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: var(--sh-surface-2);
  flex-shrink: 0;
}

/* Toast */
.sh-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  padding: 12px 20px;
  border-radius: var(--radius);
  color: #ffffff;
  z-index: 200;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes toastSlideIn {
  from { opacity: 0; transform: translateY(-12px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.sh-toast-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
}

.sh-toast-error {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.35);
}

.sh-toast-info {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
}

/* Login Page Styling */
.sh-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top right, #1e3a8a 0%, #0f172a 60%, #020617 100%);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.sh-login-wrap::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  border-radius: 50%;
  pointer-events: none;
}

.sh-login-wrap::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  border-radius: 50%;
  pointer-events: none;
}

.sh-login-card {
  background: rgba(19, 29, 49, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 44px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 10;
}

.sh-login-logo {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 28px;
  margin: 0 auto 20px;
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.5);
}

.sh-login-title {
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 6px;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.sh-login-subtitle {
  text-align: center;
  color: #94a3b8;
  margin: 0 0 32px;
  font-size: 14px;
}

.sh-login-card .sh-label {
  color: #cbd5e1;
}

.sh-login-card .sh-input {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.sh-login-card .sh-input:focus {
  border-color: #3b82f6;
  background: rgba(15, 23, 42, 0.8);
}

/* Mobile backdrop */
.sh-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 45;
  display: none;
  animation: modalFadeIn 0.2s ease;
}

.sh-backdrop.show {
  display: block;
}

/* Entity Cards list (Tenants, Roles, Users) */
.sh-entity-card {
  background: var(--sh-surface);
  border: 1px solid var(--sh-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.sh-entity-card:hover {
  border-color: var(--sh-primary-glow);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

/* Timeline & Comments */
.sh-comment-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--sh-border-subtle);
}

.sh-comment-item:last-child {
  border-bottom: none;
}

.sh-timeline-item {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--sh-border-subtle);
  font-size: 13px;
  align-items: flex-start;
}

.sh-timeline-item:last-child {
  border-bottom: none;
}

.sh-timeline-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--sh-surface-2);
  color: var(--sh-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Utilities */
.sh-flex { display: flex; }
.sh-items-center { align-items: center; }
.sh-justify-between { justify-content: space-between; }
.sh-gap-2 { gap: 8px; }
.sh-gap-3 { gap: 12px; }
.sh-gap-4 { gap: 16px; }
.sh-mt-2 { margin-top: 8px; }
.sh-mt-3 { margin-top: 12px; }
.sh-mt-4 { margin-top: 16px; }
.sh-mb-2 { margin-bottom: 8px; }
.sh-mb-3 { margin-bottom: 12px; }
.sh-mb-4 { margin-bottom: 16px; }
.sh-text-muted { color: var(--sh-text-muted); }
.sh-text-sm { font-size: 13px; }
.sh-text-xs { font-size: 11.5px; }
.sh-font-semibold { font-weight: 600; }
.sh-font-bold { font-weight: 700; }
.sh-hidden { display: none !important; }
.sh-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.sh-pre {
  white-space: pre-wrap;
  word-break: break-word;
  font-family: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
  font-size: 13px;
  background: var(--sh-surface-2);
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--sh-border);
  color: var(--sh-text);
  line-height: 1.6;
}

.sh-link {
  color: var(--sh-primary);
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.sh-link:hover {
  color: var(--sh-primary-hover);
  text-decoration: underline;
}

.sh-empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--sh-text-muted);
}

.sh-empty-state i {
  font-size: 38px;
  color: var(--sh-text-subtle);
  margin-bottom: 12px;
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .sh-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    transform: translateX(-100%);
    box-shadow: var(--shadow-xl);
  }
  .sh-sidebar.show {
    transform: translateX(0);
  }
  .sh-menu-btn {
    display: inline-flex;
  }
  .sh-form-row {
    grid-template-columns: 1fr;
  }
  .sh-content {
    padding: 18px 16px;
  }
  .sh-topbar {
    padding: 0 16px;
  }
  .sh-user-name, .sh-user-role {
    display: none;
  }
}