/* =============================================
   NEUMORPHISM DASHBOARD - SOFT UI DESIGN SYSTEM
   ============================================= */

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

:root {
  --bg: #e8ecf0;
  --surface: #e8ecf0;
  --shadow-dark: #bec8d0;
  --shadow-light: #ffffff;
  --text-primary: #2d3748;
  --text-secondary: #718096;
  --text-muted: #a0aec0;
  --accent: #667eea;
  --accent-2: #764ba2;
  --urgent: #fc5c65;
  --success: #26de81;
  --warning: #fed330;
  --info: #45aaf2;
  --border-radius: 18px;
  --border-radius-sm: 10px;
  --font-main: 'Nunito', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;

  /* Neumorphism shadows */
  --neu-shadow: 6px 6px 14px var(--shadow-dark), -6px -6px 14px var(--shadow-light);
  --neu-shadow-sm: 3px 3px 8px var(--shadow-dark), -3px -3px 8px var(--shadow-light);
  --neu-shadow-lg: 12px 12px 28px var(--shadow-dark), -12px -12px 28px var(--shadow-light);
  --neu-inset: inset 4px 4px 10px var(--shadow-dark), inset -4px -4px 10px var(--shadow-light);
  --neu-inset-sm: inset 2px 2px 6px var(--shadow-dark), inset -2px -2px 6px var(--shadow-light);
}

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

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--shadow-dark); border-radius: 3px; }

/* ========== NEUMORPHISM COMPONENTS ========== */
.neu-flat {
  background: var(--surface);
  box-shadow: var(--neu-shadow);
  border-radius: var(--border-radius);
}

.neu-flat-sm {
  background: var(--surface);
  box-shadow: var(--neu-shadow-sm);
  border-radius: var(--border-radius-sm);
}

.neu-inset {
  background: var(--surface);
  box-shadow: var(--neu-inset);
  border-radius: var(--border-radius-sm);
}

.neu-btn {
  background: var(--surface);
  box-shadow: var(--neu-shadow-sm);
  border: none;
  border-radius: var(--border-radius-sm);
  padding: 10px 20px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.neu-btn:hover {
  box-shadow: 4px 4px 10px var(--shadow-dark), -4px -4px 10px var(--shadow-light);
  color: var(--accent);
  transform: translateY(-1px);
}

.neu-btn:active {
  box-shadow: var(--neu-inset-sm);
  transform: translateY(0);
}

.neu-btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white !important;
  box-shadow: 4px 4px 12px rgba(102,126,234,0.4), -2px -2px 8px var(--shadow-light);
}

.neu-btn-primary:hover {
  box-shadow: 6px 6px 16px rgba(102,126,234,0.5), -2px -2px 8px var(--shadow-light);
  color: white !important;
}

.neu-btn-danger {
  background: linear-gradient(135deg, #fc5c65, #fc5c65cc);
  color: white !important;
  box-shadow: 4px 4px 12px rgba(252,92,101,0.4), -2px -2px 8px var(--shadow-light);
}

.neu-btn-sm {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 8px;
}

.neu-input {
  background: var(--surface);
  box-shadow: var(--neu-inset);
  border: none;
  border-radius: var(--border-radius-sm);
  padding: 12px 16px;
  font-family: var(--font-main);
  font-size: 14px;
  color: var(--text-primary);
  width: 100%;
  outline: none;
  transition: all 0.2s;
}

.neu-input:focus {
  box-shadow: var(--neu-inset), 0 0 0 2px rgba(102,126,234,0.3);
}

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

select.neu-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%23718096' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

/* ========== LOGIN PAGE ========== */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

.login-card {
  width: 380px;
  padding: 48px 40px;
  background: var(--surface);
  box-shadow: var(--neu-shadow-lg);
  border-radius: 28px;
  text-align: center;
}

.login-logo {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 20px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 4px 4px 16px rgba(102,126,234,0.4);
}

.login-card h1 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.login-card p.subtitle {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
}

.login-card .form-group {
  margin-bottom: 16px;
  text-align: left;
}

.login-card label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.login-card .neu-btn-primary {
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-size: 15px;
  margin-top: 8px;
  border-radius: 12px;
}

.error-msg {
  background: rgba(252,92,101,0.1);
  color: var(--urgent);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 16px;
  box-shadow: inset 2px 2px 6px rgba(252,92,101,0.1);
}

/* ========== DASHBOARD LAYOUT ========== */
.dashboard-wrap {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 260px;
  min-height: 100vh;
  background: var(--surface);
  box-shadow: 6px 0 20px rgba(0,0,0,0.06);
  padding: 24px 16px;
  position: fixed;
  left: 0; top: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  z-index: 100;
  transition: transform 0.3s;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px 24px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  margin-bottom: 20px;
}

.sidebar-logo .logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 3px 3px 10px rgba(102,126,234,0.35);
  flex-shrink: 0;
}

.sidebar-logo span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--text-primary);
}

.nav-section {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  padding: 0 12px;
  margin-bottom: 8px;
  margin-top: 8px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
  margin-bottom: 4px;
}

.nav-item:hover {
  background: var(--bg);
  color: var(--accent);
  box-shadow: var(--neu-shadow-sm);
}

.nav-item.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 4px 4px 12px rgba(102,126,234,0.35);
}

.nav-item .nav-icon {
  font-size: 18px;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.nav-item .badge {
  margin-left: auto;
  background: var(--urgent);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg);
  box-shadow: var(--neu-shadow-sm);
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: white;
  flex-shrink: 0;
}

.user-info span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.user-info small {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: capitalize;
}

/* Main Content */
.main-content {
  margin-left: 260px;
  flex: 1;
  min-height: 100vh;
  padding: 0;
}

.topbar {
  background: var(--surface);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

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

.page-body {
  padding: 32px;
}

/* ========== MODULE CARDS ========== */
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.stat-card {
  padding: 24px;
  background: var(--surface);
  box-shadow: var(--neu-shadow);
  border-radius: var(--border-radius);
}

.stat-card .stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.stat-card .stat-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-card .stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ========== TASKS MODULE ========== */
.task-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  background: var(--bg);
  padding: 6px;
  border-radius: 14px;
  box-shadow: var(--neu-inset);
  flex-wrap: wrap;
}

.task-tab {
  padding: 8px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.2s;
  border: none;
  background: transparent;
  font-family: var(--font-main);
}

.task-tab.active {
  background: var(--surface);
  box-shadow: var(--neu-shadow-sm);
  color: var(--accent);
}

.task-item {
  background: var(--surface);
  box-shadow: var(--neu-shadow-sm);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: grab;
  transition: all 0.2s;
  border-left: 4px solid transparent;
  position: relative;
}

.task-item:hover {
  box-shadow: var(--neu-shadow);
  transform: translateX(2px);
}

.task-item.dragging {
  opacity: 0.5;
  cursor: grabbing;
}

.task-item.priority-1 { border-left-color: var(--urgent); }
.task-item.priority-2 { border-left-color: var(--warning); }
.task-item.priority-3 { border-left-color: var(--info); }

.task-check {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--surface);
  box-shadow: var(--neu-inset-sm);
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.2s;
  margin-top: 2px;
}

.task-check:hover { box-shadow: 0 0 0 2px rgba(102,126,234,0.3); }

.task-body { flex: 1; min-width: 0; }

.task-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.task-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.task-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}

.task-badge.urgent { background: rgba(252,92,101,0.15); color: var(--urgent); }
.task-badge.high { background: rgba(254,211,48,0.2); color: #d4a017; }
.task-badge.normal { background: rgba(69,170,242,0.15); color: var(--info); }

.task-date {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 3px;
}

.task-actions {
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.2s;
}

.task-item:hover .task-actions { opacity: 1; }

.task-action-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--neu-shadow-sm);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-secondary);
  transition: all 0.15s;
}

.task-action-btn:hover { color: var(--accent); transform: scale(1.1); }

.accomplished-task .task-title {
  text-decoration: line-through;
  color: var(--text-muted);
}

/* ========== TIME TRACKER ========== */
.tracker-display {
  text-align: center;
  padding: 40px 20px;
  background: var(--surface);
  box-shadow: var(--neu-shadow-lg);
  border-radius: 28px;
  margin-bottom: 32px;
}

.timer-clock {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -2px;
  margin: 16px 0;
  font-variant-numeric: tabular-nums;
}

.timer-project {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.timer-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.timer-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timer-btn-start {
  background: linear-gradient(135deg, var(--success), #20bf6b);
  color: white;
  box-shadow: 4px 4px 16px rgba(38,222,129,0.4);
}

.timer-btn-pause {
  background: var(--surface);
  color: var(--warning);
  box-shadow: var(--neu-shadow);
}

.timer-btn-stop {
  background: linear-gradient(135deg, var(--urgent), #eb2f06);
  color: white;
  box-shadow: 4px 4px 16px rgba(252,92,101,0.4);
}

.timer-btn:hover { transform: scale(1.08); }
.timer-btn:active { transform: scale(0.96); }

/* ========== SHOPPING LIST ========== */
.shop-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--surface);
  box-shadow: var(--neu-shadow-sm);
  border-radius: 12px;
  margin-bottom: 8px;
  transition: all 0.2s;
}

.shop-item:hover { box-shadow: var(--neu-shadow); }

.shop-item.in-cart {
  opacity: 0.6;
}

.shop-item.in-cart .shop-item-name {
  text-decoration: line-through;
  color: var(--text-muted);
}

.shop-item-name {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
}

.shop-item-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  min-width: 60px;
  text-align: right;
}

/* ========== CONFERENCE ROOM ========== */
.room-card {
  padding: 24px;
  background: var(--surface);
  box-shadow: var(--neu-shadow);
  border-radius: var(--border-radius);
  border-top: 4px solid var(--accent);
  margin-bottom: 20px;
}

.booking-slot {
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
}

.booking-slot.available {
  background: rgba(38,222,129,0.1);
  color: #20bf6b;
  box-shadow: inset 2px 2px 6px rgba(38,222,129,0.1), inset -2px -2px 6px white;
}

.booking-slot.booked {
  background: rgba(252,92,101,0.1);
  color: var(--urgent);
  box-shadow: inset 2px 2px 6px rgba(252,92,101,0.1), inset -2px -2px 6px white;
}

/* ========== PROJECT MANAGEMENT ========== */
.kanban-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  overflow-x: auto;
}

.kanban-col {
  background: var(--surface);
  box-shadow: var(--neu-shadow);
  border-radius: var(--border-radius);
  padding: 20px;
  min-height: 400px;
}

.kanban-col-header {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--shadow-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kanban-card {
  background: var(--surface);
  box-shadow: var(--neu-shadow-sm);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
  cursor: grab;
  transition: all 0.2s;
}

.kanban-card:hover { box-shadow: var(--neu-shadow); transform: translateY(-2px); }

/* ========== CALENDAR ========== */
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.cal-day-header {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  padding: 8px 0;
}

.cal-day {
  background: var(--surface);
  box-shadow: var(--neu-shadow-sm);
  border-radius: 10px;
  padding: 8px;
  min-height: 80px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.cal-day:hover { box-shadow: var(--neu-shadow); }

.cal-day.today {
  background: linear-gradient(135deg, rgba(102,126,234,0.15), rgba(118,75,162,0.1));
  box-shadow: var(--neu-shadow-sm), 0 0 0 2px var(--accent);
}

.cal-day.other-month { opacity: 0.4; }

.cal-day-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.cal-event {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: white;
}

/* ========== MESSAGING ========== */
.message-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
}

.message-bubble {
  max-width: 70%;
  padding: 12px 16px;
  border-radius: 16px;
  position: relative;
}

.message-bubble.sent {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 4px 4px 12px rgba(102,126,234,0.3);
  border-bottom-right-radius: 4px;
}

.message-bubble.received {
  align-self: flex-start;
  background: var(--surface);
  box-shadow: var(--neu-shadow-sm);
  border-bottom-left-radius: 4px;
}

.message-text { font-size: 14px; line-height: 1.5; }
.message-time { font-size: 10px; opacity: 0.7; margin-top: 4px; }
.message-edited { font-size: 10px; opacity: 0.6; font-style: italic; }

/* ========== ADMIN ========== */
.user-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
}

.user-table th {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  padding: 8px 16px;
  text-align: left;
}

.user-table td {
  padding: 12px 16px;
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
}

.user-table td:first-child { border-radius: 12px 0 0 12px; box-shadow: -3px 3px 8px var(--shadow-dark), -3px -3px 8px var(--shadow-light); }
.user-table td:last-child { border-radius: 0 12px 12px 0; box-shadow: 3px 3px 8px var(--shadow-dark), 3px -3px 8px var(--shadow-light); }

/* ========== MODAL ========== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.open { display: flex; }

.modal {
  background: var(--surface);
  box-shadow: var(--neu-shadow-lg);
  border-radius: 24px;
  padding: 32px;
  width: 90%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn 0.25s ease;
}

@keyframes modalIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.modal-header h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--neu-shadow-sm);
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

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

.form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 24px;
}

/* ========== UTILS ========== */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mt-16 { margin-top: 16px; }
.text-muted { color: var(--text-muted); font-size: 13px; }
.text-small { font-size: 12px; }
.font-bold { font-weight: 700; }
.w-full { width: 100%; }

.badge-pill {
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}

.badge-success { background: rgba(38,222,129,0.15); color: #20bf6b; }
.badge-danger { background: rgba(252,92,101,0.15); color: var(--urgent); }
.badge-info { background: rgba(69,170,242,0.15); color: var(--info); }
.badge-warning { background: rgba(254,211,48,0.2); color: #d4a017; }
.badge-default { background: var(--bg); color: var(--text-secondary); box-shadow: var(--neu-shadow-sm); }

.section-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.empty-state .icon { font-size: 48px; margin-bottom: 12px; }
.empty-state p { font-size: 14px; }

/* ========== DRAG & DROP ========== */
.drag-over {
  background: rgba(102,126,234,0.08);
  box-shadow: var(--neu-inset), 0 0 0 2px rgba(102,126,234,0.3) !important;
}

/* ========== SIDEBAR OVERLAY (mobile) ========== */
#sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(2px);
  z-index: 99;
  transition: opacity 0.3s;
}
#sidebar-overlay.visible { display: block; }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    box-shadow: none;
  }
  .sidebar.mobile-open {
    transform: translateX(0);
    box-shadow: 8px 0 32px rgba(0,0,0,0.18);
  }
  .main-content {
    margin-left: 0;
  }
  .page-body {
    padding: 16px;
  }
  .kanban-board {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .timer-clock {
    font-size: 48px;
  }
  .cal-grid {
    gap: 3px;
  }
  .cal-day {
    min-height: 50px;
    padding: 4px;
  }
}

/* ========== TOAST NOTIFICATIONS ========== */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--surface);
  box-shadow: var(--neu-shadow);
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.3s ease;
  min-width: 240px;
  max-width: 340px;
}

.toast-success { border-left: 4px solid var(--success); }
.toast-error { border-left: 4px solid var(--urgent); }
.toast-info { border-left: 4px solid var(--info); }

@keyframes toastIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes toastOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(120%); opacity: 0; }
}

/* ========== GANTT CHART ========== */
.gantt-wrap {
  overflow-x: auto;
}

.gantt-row {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  min-width: 800px;
}

.gantt-label {
  width: 160px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  padding-right: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gantt-track {
  flex: 1;
  height: 32px;
  background: var(--surface);
  box-shadow: var(--neu-inset-sm);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.gantt-bar {
  position: absolute;
  top: 4px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 600;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
