/* =========================================
   YönetimPro - Professional Dark Green SaaS
   ========================================= */

/* ---- CSS Variables ---- */
:root {
  --bg-base:        #080f0c;
  --bg-surface:     #0d1a14;
  --bg-card:        #111f18;
  --bg-card-hover:  #162b1f;
  --bg-input:       #0e1b15;
  --bg-sidebar:     #0a1510;
  --bg-header:      rgba(8, 15, 12, 0.92);

  --accent:         #00e676;
  --accent-dim:     #00c85e;
  --accent-soft:    rgba(0, 230, 118, 0.12);
  --accent-glow:    rgba(0, 230, 118, 0.3);
  --accent-deep:    #00b350;

  --border:         rgba(0, 230, 118, 0.1);
  --border-hover:   rgba(0, 230, 118, 0.25);
  --border-focus:   rgba(0, 230, 118, 0.5);

  --text-primary:   #e8f5e9;
  --text-secondary: #7aab8a;
  --text-muted:     #4a7a5c;
  --text-inverse:   #080f0c;

  --sidebar-w:      260px;
  --header-h:       64px;
  --footer-h:       48px;
  --radius-sm:      8px;
  --radius-md:      12px;
  --radius-lg:      18px;
  --radius-xl:      24px;

  --shadow-sm:      0 2px 8px rgba(0,0,0,0.4);
  --shadow-md:      0 4px 24px rgba(0,0,0,0.5);
  --shadow-lg:      0 8px 48px rgba(0,0,0,0.6);
  --shadow-glow:    0 0 24px rgba(0, 230, 118, 0.15);

  --transition:     0.2s ease;
  --transition-fast: 0.12s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-dim); }

/* =========================================
   AUTH PAGES
   ========================================= */

.auth-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

/* Animated Background */
.auth-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.auth-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,230,118,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,230,118,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.auth-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 8s ease-in-out infinite alternate;
}

.orb-1 {
  width: 500px; height: 500px;
  top: -150px; left: -150px;
  background: radial-gradient(circle, rgba(0,230,118,0.12) 0%, transparent 70%);
  animation-duration: 7s;
}

.orb-2 {
  width: 400px; height: 400px;
  bottom: -100px; right: -100px;
  background: radial-gradient(circle, rgba(0,178,90,0.1) 0%, transparent 70%);
  animation-duration: 9s;
  animation-delay: -3s;
}

.orb-3 {
  width: 300px; height: 300px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0,230,118,0.05) 0%, transparent 70%);
  animation-duration: 11s;
  animation-delay: -5s;
}

@keyframes orbFloat {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -30px) scale(1.05); }
}

/* Auth Container */
.auth-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Auth Card */
.auth-card {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(0,230,118,0.07);
  backdrop-filter: blur(20px);
  animation: cardReveal 0.5s ease both;
}

@keyframes cardReveal {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Auth Logo */
.auth-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-logo-icon {
  width: 68px; height: 68px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--accent-soft) 0%, rgba(0,200,94,0.08) 100%);
  border: 1px solid var(--border-hover);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: var(--accent);
  box-shadow: 0 0 24px var(--accent-glow);
  animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { box-shadow: 0 0 20px var(--accent-glow); }
  50%       { box-shadow: 0 0 40px rgba(0,230,118,0.4); }
}

.auth-brand {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.brand-accent {
  color: var(--accent);
}

.auth-subtitle {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-top: 0.375rem;
}

/* Alerts */
.alert {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  animation: alertIn 0.3s ease both;
}

@keyframes alertIn {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}

.alert-error {
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: #fca5a5;
}

.alert-success {
  background: var(--accent-soft);
  border: 1px solid var(--border-hover);
  color: var(--accent);
}

.mb-4 { margin-bottom: 1rem; }

/* Form */
.auth-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }

.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.form-label i { color: var(--accent); font-size: 0.75rem; }

.input-wrapper { position: relative; }

.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input::placeholder { color: var(--text-muted); }

.form-input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(0,230,118,0.08), 0 0 16px rgba(0,230,118,0.1);
}

.input-with-toggle .form-input { padding-right: 3rem; }

.password-toggle {
  position: absolute;
  right: 0.75rem; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
  transition: color var(--transition);
  padding: 0.25rem;
}
.password-toggle:hover { color: var(--accent); }

/* Login Button */
.btn-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.9rem 1.5rem;
  margin-top: 0.5rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dim) 100%);
  color: var(--text-inverse);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-login::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0,230,118,0.35);
}

.btn-login:hover::before { opacity: 1; }
.btn-login:active { transform: translateY(0); }

.btn-icon { transition: transform var(--transition); }
.btn-login:hover .btn-icon { transform: translateX(3px); }

/* Auth Card Footer */
.auth-card-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.78rem;
}

.auth-card-footer i { color: var(--accent); }

.auth-page-footer {
  color: var(--text-muted);
  font-size: 0.78rem;
  text-align: center;
}

/* =========================================
   DASHBOARD LAYOUT
   ========================================= */

/* Topbar / Header */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--bg-header);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  z-index: 1000;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sidebar-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.sidebar-toggle:hover {
  border-color: var(--border-hover);
  color: var(--accent);
  background: var(--accent-soft);
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-icon {
  color: var(--accent);
  font-size: 1.1rem;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.topbar-time {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.75rem;
}

/* User Menu */
.user-menu {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.4rem 0.75rem 0.4rem 0.4rem;
  transition: all var(--transition);
  user-select: none;
}

.user-menu:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.user-avatar {
  width: 30px; height: 30px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dim) 100%);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-inverse);
  font-size: 0.8rem;
}

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

.user-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
}

.user-role {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: capitalize;
}

.user-chevron {
  font-size: 0.7rem;
  color: var(--text-muted);
  transition: transform var(--transition);
}

.user-menu.open .user-chevron { transform: rotate(180deg); }

/* User Dropdown */
.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 1100;
}

.user-dropdown.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.dropdown-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
}

.dropdown-avatar {
  font-size: 1.8rem;
  color: var(--accent);
}

.dropdown-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

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

.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.875rem;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  text-align: left;
}

.dropdown-item:hover { background: var(--accent-soft); color: var(--accent); }
.logout-item:hover { background: rgba(220,38,38,0.08); color: #fca5a5; }

/* Sidebar */
.sidebar {
  position: fixed;
  left: 0;
  top: var(--header-h);
  bottom: 0;
  width: var(--sidebar-w);
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  z-index: 900;
  overflow-y: auto;
  transition: transform var(--transition), width var(--transition);
  display: flex;
  flex-direction: column;
}

.sidebar.collapsed {
  transform: translateX(calc(-1 * var(--sidebar-w)));
}

.sidebar-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.25rem 0.75rem;
}

.sidebar-section-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0 0.75rem;
  margin-bottom: 0.5rem;
  margin-top: 0.25rem;
}

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

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.nav-link:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.nav-link.active {
  background: linear-gradient(90deg, rgba(0,230,118,0.15) 0%, rgba(0,230,118,0.04) 100%);
  color: var(--accent);
  border: 1px solid rgba(0,230,118,0.15);
}

.nav-icon {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem;
  border-radius: 7px;
  flex-shrink: 0;
  background: var(--bg-card);
  transition: all var(--transition);
}

.nav-link.active .nav-icon {
  background: var(--accent-soft);
  color: var(--accent);
}

.nav-text { flex: 1; }

.nav-indicator {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent-glow);
}

.sidebar-spacer { flex: 1; }

.sidebar-footer {
  padding: 0.75rem;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}

.sidebar-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent-glow);
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--accent-glow); }
  50%       { opacity: 0.6; box-shadow: 0 0 12px rgba(0,230,118,0.5); }
}

/* Layout Wrapper */
.layout-wrapper {
  display: flex;
  margin-top: var(--header-h);
  min-height: calc(100vh - var(--header-h));
  transition: margin-left var(--transition);
}

.layout-wrapper.sidebar-open .main-content {
  margin-left: var(--sidebar-w);
}

.main-content {
  flex: 1;
  margin-left: var(--sidebar-w);
  padding: 2rem;
  padding-bottom: calc(var(--footer-h) + 2rem);
  transition: margin-left var(--transition);
  min-height: calc(100vh - var(--header-h));
}

.main-content.full-width { margin-left: 0; }

/* Footer */
.main-footer {
  position: fixed;
  bottom: 0;
  left: var(--sidebar-w);
  right: 0;
  height: var(--footer-h);
  background: var(--bg-header);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  z-index: 800;
  transition: left var(--transition);
}

.main-footer.full-width { left: 0; }

.footer-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-brand { color: var(--accent); font-weight: 600; display: flex; align-items: center; gap: 0.3rem; }
.footer-sep { opacity: 0.4; }
.footer-version { background: var(--accent-soft); color: var(--accent); padding: 0.1rem 0.5rem; border-radius: 20px; font-weight: 600; }

/* =========================================
   DASHBOARD COMPONENTS
   ========================================= */

/* Page Header */
.page-header {
  margin-bottom: 1.75rem;
}

.page-header-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.page-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.page-header-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-soft);
  border: 1px solid var(--border-hover);
  border-radius: 20px;
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
}

.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: statusPulse 2s ease-in-out infinite;
}

/* Welcome Card */
.welcome-card {
  position: relative;
  background: linear-gradient(135deg, #0e2318 0%, #0a1a12 100%);
  border: 1px solid rgba(0,230,118,0.18);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  margin-bottom: 1.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-md), 0 0 40px rgba(0,230,118,0.07);
}

.welcome-card-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(0,230,118,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(0,180,80,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.welcome-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.welcome-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--accent-soft), rgba(0,200,94,0.06));
  border: 1px solid rgba(0,230,118,0.25);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(0,230,118,0.15);
}

.welcome-text h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.welcome-text p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.7;
}

.welcome-decoration {
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 100%;
  pointer-events: none;
}

.deco-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0,230,118,0.08);
}

.c1 { width: 160px; height: 160px; top: -60px; right: -40px; }
.c2 { width: 100px; height: 100px; top: 10px; right: 60px; border-color: rgba(0,230,118,0.12); }
.c3 { width: 60px; height: 60px; top: 40px; right: 140px; border-color: rgba(0,230,118,0.06); }

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.stat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.stat-card:hover::before { opacity: 1; }

.stat-icon {
  width: 42px; height: 42px;
  background: var(--accent-soft);
  border: 1px solid var(--border-hover);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}

.stat-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.stat-value.online { color: var(--accent); font-size: 1rem; }
.stat-value.time { font-size: 1rem; font-variant-numeric: tabular-nums; }

.stat-trend {
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  border-radius: 20px;
  font-weight: 600;
}

.stat-trend.up { background: rgba(0,230,118,0.1); color: var(--accent); }
.stat-trend.neutral { background: rgba(100,100,120,0.12); color: var(--text-muted); font-size: 0.65rem; }
.stat-trend.live {
  background: rgba(0,230,118,0.1);
  color: var(--accent);
  animation: statusPulse 1.5s ease-in-out infinite;
}

/* Empty State Card */
.empty-state-card {
  background: var(--bg-card);
  border: 1px dashed rgba(0,230,118,0.12);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: all var(--transition);
}

.empty-state-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.empty-state-icon {
  width: 70px; height: 70px;
  background: var(--accent-soft);
  border: 1px solid var(--border-hover);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: var(--accent);
  opacity: 0.7;
}

.empty-state-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.empty-state-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 380px;
  line-height: 1.7;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
  :root { --sidebar-w: 240px; }

  .sidebar { transform: translateX(calc(-1 * var(--sidebar-w))); }
  .sidebar.mobile-open { transform: translateX(0); box-shadow: var(--shadow-lg); }

  .main-content { margin-left: 0 !important; padding: 1.25rem; }

  .main-footer { left: 0 !important; }

  .topbar-time { display: none; }

  .user-info { display: none; }

  .welcome-card-content { flex-direction: column; text-align: center; }

  .page-header-content { flex-direction: column; }

  .stats-grid { grid-template-columns: 1fr 1fr; }

  .welcome-decoration { display: none; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}
