/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #F3F4F6;
  color: #1B1B1B;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
a { text-decoration: none; color: inherit; }
.hidden { display: none !important; }

/* ===== LOGIN SCREEN ===== */
.login-screen {
  position: fixed; inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 1000;
  background: #1B4332;
  overflow: hidden;
}
.login-bg {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2352B788' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.login-card {
  position: relative;
  background: white;
  border-radius: 24px;
  padding: 48px 40px;
  width: 360px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
  text-align: center;
}
.login-logo {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-bottom: 32px;
}
.login-brand { font-size: 20px; font-weight: 700; color: #1B4332; }
.login-subtitle { font-size: 11px; font-weight: 600; letter-spacing: 3px; color: #52B788; }
.login-card h2 { font-size: 18px; font-weight: 600; color: #374151; margin-bottom: 20px; }
.user-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.user-btn {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 20px; border-radius: 14px;
  background: #F9FAFB; border: 2px solid #E5E7EB;
  font-size: 15px; font-weight: 600; color: #374151;
  transition: all 0.2s;
}
.user-btn:hover { background: #D8F3DC; border-color: #52B788; color: #1B4332; }
.user-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 16px; font-weight: 700; flex-shrink: 0;
}
.user-avatar.sm { width: 28px; height: 28px; font-size: 12px; }
.login-tagline { font-size: 13px; color: #9CA3AF; line-height: 1.5; }

/* ===== APP LAYOUT ===== */
.app { display: flex; min-height: 100vh; }

/* ===== SIDEBAR ===== */
.sidebar {
  width: 220px; flex-shrink: 0;
  background: #1B4332;
  display: flex; flex-direction: column;
  padding: 24px 0;
  position: fixed; top: 0; left: 0; bottom: 0;
  z-index: 100;
}
.sidebar-logo {
  display: flex; align-items: center; gap: 10px;
  padding: 0 20px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sidebar-brand { font-size: 14px; font-weight: 700; color: white; line-height: 1.2; }
.sidebar-tag { font-size: 9px; font-weight: 600; letter-spacing: 3px; color: #52B788; }
.sidebar-nav {
  flex: 1; padding: 20px 12px;
  display: flex; flex-direction: column; gap: 2px;
}
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px;
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.6);
  transition: all 0.15s;
}
.nav-item:hover { background: rgba(255,255,255,0.08); color: white; }
.nav-item.active { background: rgba(82,183,136,0.2); color: #B7E4C7; }
.sidebar-user {
  padding: 16px 16px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; gap: 10px;
}
#sidebar-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: #2D6A4F;
  color: white; font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.sidebar-user-info { flex: 1; }
.sidebar-user-info span { display: block; }
#sidebar-username { font-size: 14px; font-weight: 600; color: white; }
.sidebar-role { font-size: 12px; color: rgba(255,255,255,0.4); }
.sidebar-logout { color: rgba(255,255,255,0.4); padding: 6px; border-radius: 6px; transition: all 0.15s; }
.sidebar-logout:hover { color: white; background: rgba(255,255,255,0.1); }

/* ===== MAIN WRAPPER ===== */
.main-wrapper {
  margin-left: 220px; flex: 1;
  display: flex; flex-direction: column;
  min-height: 100vh;
}

/* ===== TOPBAR ===== */
.topbar {
  background: white; border-bottom: 1px solid #E5E7EB;
  padding: 20px 28px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 50;
}
.topbar h1 { font-size: 22px; font-weight: 700; color: #1B1B1B; }
#topbar-date { font-size: 13px; color: #6B7280; margin-top: 2px; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.btn-primary {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 18px; border-radius: 10px;
  background: #1B4332; color: white;
  font-size: 14px; font-weight: 600;
  transition: all 0.15s;
}
.btn-primary:hover { background: #2D6A4F; }
.btn-secondary {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 10px;
  background: #F9FAFB; color: #374151; border: 1px solid #E5E7EB;
  font-size: 14px; font-weight: 500;
  transition: all 0.15s;
}
.btn-secondary:hover { background: #F3F4F6; border-color: #D1D5DB; }
.btn-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #E5E7EB; background: #F9FAFB; color: #374151;
  position: relative; transition: all 0.15s;
}
.btn-icon:hover { background: #F3F4F6; }
.notif-badge {
  position: absolute; top: -4px; right: -4px;
  background: #EF4444; color: white;
  font-size: 10px; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid white;
}

/* ===== PAGES ===== */
.page { display: none; padding: 24px 28px; flex: 1; }
.page.active { display: block; }
.page-header { margin-bottom: 20px; }
.page-header h2 { font-size: 20px; font-weight: 700; }

/* ===== DASHBOARD LAYOUT ===== */
.dashboard-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
}
.dashboard-center { display: flex; flex-direction: column; gap: 20px; }

/* ===== STATS ===== */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card {
  background: white; border-radius: 16px;
  padding: 18px; box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  display: flex; align-items: center; gap: 14px;
  position: relative; overflow: hidden;
}
.stat-icon {
  width: 50px; height: 50px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.stat-value { font-size: 26px; font-weight: 700; color: #1B1B1B; line-height: 1; }
.stat-label { font-size: 12px; color: #6B7280; margin-top: 3px; }
.stat-bar {
  position: absolute; bottom: 0; left: 0; height: 3px;
  border-radius: 0 2px 0 0;
}

/* ===== KANBAN ===== */
.kanban-header h2 { font-size: 17px; font-weight: 700; }
.kanban-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.kanban-col {
  background: #F9FAFB; border-radius: 16px;
  padding: 16px; display: flex; flex-direction: column; gap: 10px;
  min-height: 300px;
}
.kanban-col-header { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.kanban-col-title { font-size: 11px; font-weight: 700; letter-spacing: 0.5px; color: #6B7280; }
.kanban-col-count {
  background: #E5E7EB; color: #374151;
  font-size: 11px; font-weight: 700;
  padding: 1px 8px; border-radius: 20px;
}
.btn-kanban-add {
  margin-left: auto; width: 24px; height: 24px;
  border-radius: 6px; background: #E5E7EB; color: #6B7280;
  font-size: 16px; display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.btn-kanban-add:hover { background: #D1D5DB; color: #374151; }
.task-cards { display: flex; flex-direction: column; gap: 10px; flex: 1; }

/* Task Card */
.task-card {
  background: white; border-radius: 12px;
  padding: 14px; box-shadow: 0 1px 3px rgba(0,0,0,0.07);
  cursor: pointer; transition: all 0.2s;
  border: 1px solid #F3F4F6;
}
.task-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); transform: translateY(-1px); }
.task-card.concluida .task-card-title { text-decoration: line-through; color: #9CA3AF; }
.task-card-title { font-size: 14px; font-weight: 600; color: #1B1B1B; margin-bottom: 8px; line-height: 1.3; }
.task-card-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.priority-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.priority-label { font-size: 12px; font-weight: 500; }
.task-card-date { font-size: 11px; color: #6B7280; display: flex; align-items: center; gap: 4px; }
.task-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 10px; padding-top: 10px; border-top: 1px solid #F3F4F6;
}
.task-card-user { font-size: 12px; color: #6B7280; display: flex; align-items: center; gap: 5px; }
.user-mini-avatar {
  width: 20px; height: 20px; border-radius: 50%;
  color: white; font-size: 9px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.btn-action-card {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #E5E7EB; transition: all 0.15s;
}
.btn-action-card:hover { border-color: #52B788; background: #D8F3DC; }
.btn-action-card.done { background: #D1FAE5; border-color: #10B981; }
.btn-add-task-bottom {
  font-size: 13px; color: #9CA3AF; padding: 8px;
  text-align: left; width: 100%; border-radius: 8px;
  transition: all 0.15s;
}
.btn-add-task-bottom:hover { background: #F3F4F6; color: #6B7280; }

/* ===== DASHBOARD SIDEBAR ===== */
.dashboard-sidebar { display: flex; flex-direction: column; gap: 16px; }
.ds-card {
  background: white; border-radius: 16px;
  padding: 18px; box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.ds-card-title {
  font-size: 14px; font-weight: 700; color: #1B1B1B;
  margin-bottom: 14px; display: flex; align-items: center; gap: 6px;
}
.notif-item {
  padding: 10px 0; border-bottom: 1px solid #F3F4F6; cursor: pointer;
}
.notif-item:last-child { border-bottom: none; }
.notif-item-header { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 2px; }
.notif-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 5px; flex-shrink: 0; }
.notif-from { font-size: 11px; color: #6B7280; }
.notif-task { font-size: 13px; font-weight: 600; color: #1B1B1B; margin: 2px 0; }
.notif-time { font-size: 11px; color: #9CA3AF; margin-left: auto; }
.team-progress-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
.team-progress-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 5px; font-size: 13px; font-weight: 600;
}
.team-progress-pct { font-size: 13px; font-weight: 700; color: #374151; }
.progress-bar-bg { height: 6px; background: #E5E7EB; border-radius: 10px; overflow: hidden; }
.progress-bar-fill { height: 100%; border-radius: 10px; transition: width 0.5s; }
.btn-link {
  font-size: 13px; color: #2D6A4F; font-weight: 600;
  padding: 8px 0; width: 100%; text-align: center;
  border-radius: 8px; transition: all 0.15s;
}
.btn-link:hover { background: #D8F3DC; }

/* ===== TEAM PAGE ===== */
.team-page-tabs { display: flex; gap: 4px; margin-bottom: 20px; border-bottom: 1px solid #E5E7EB; }
.tab-btn {
  padding: 10px 18px; font-size: 14px; font-weight: 500;
  color: #6B7280; border-radius: 8px 8px 0 0;
  border-bottom: 2px solid transparent; transition: all 0.15s;
}
.tab-btn.active { color: #1B4332; border-bottom-color: #1B4332; font-weight: 600; }
.tab-content { display: none; }
.tab-content.active { display: block; }
.team-member-list { display: flex; flex-direction: column; gap: 12px; }
.team-member-card {
  background: white; border-radius: 14px; padding: 18px;
  display: flex; align-items: center; gap: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.team-member-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  color: white; font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.team-member-info { flex: 1; }
.team-member-name { font-size: 15px; font-weight: 700; color: #1B1B1B; margin-bottom: 4px; }
.team-member-stats { display: flex; gap: 16px; }
.team-stat-item { font-size: 12px; color: #6B7280; }
.team-stat-item strong { color: #1B1B1B; }
.btn-ver-tarefas {
  padding: 8px 14px; border-radius: 8px;
  border: 1px solid #E5E7EB; font-size: 13px; font-weight: 500;
  background: #F9FAFB; color: #374151; transition: all 0.15s;
}
.btn-ver-tarefas:hover { background: #D8F3DC; border-color: #52B788; color: #1B4332; }
.team-tasks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team-col-header { font-size: 14px; font-weight: 700; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid #E5E7EB; }

/* ===== CALENDAR PAGE ===== */
.calendar-widget {
  background: white; border-radius: 16px; padding: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06); max-width: 380px;
}
.cal-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px;
}
.cal-title { font-size: 15px; font-weight: 700; }
.cal-nav { color: #6B7280; font-size: 18px; padding: 4px 8px; border-radius: 6px; transition: all 0.15s; }
.cal-nav:hover { background: #F3F4F6; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.cal-day-name { font-size: 11px; font-weight: 600; color: #9CA3AF; padding: 4px 0; }
.cal-day {
  font-size: 13px; padding: 6px 4px; border-radius: 8px; cursor: pointer;
  transition: all 0.15s; color: #374151;
}
.cal-day:hover { background: #D8F3DC; }
.cal-day.today { background: #1B4332; color: white; font-weight: 700; }
.cal-day.has-task { position: relative; }
.cal-day.has-task::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: #52B788;
}
.cal-day.today.has-task::after { background: white; }
.cal-day.other-month { color: #D1D5DB; }

/* ===== SETTINGS PAGE ===== */
.settings-list { background: white; border-radius: 14px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.06); max-width: 500px; }
.settings-section-title {
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  color: #9CA3AF; padding: 12px 18px 4px; background: #F9FAFB; text-transform: uppercase;
}
.settings-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; width: 100%; text-align: left;
  font-size: 14px; color: #374151; border-bottom: 1px solid #F3F4F6; transition: all 0.15s;
}
.settings-item:hover { background: #F9FAFB; }
.chevron { margin-left: auto; color: #D1D5DB; }

/* ===== MODALS ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,0.45);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: fadeIn 0.15s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: white; border-radius: 20px;
  width: 100%; max-width: 480px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  animation: slideUp 0.2s ease;
  overflow: hidden;
}
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-form { max-width: 440px; }
.modal-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 20px 22px 0;
}
.modal-header h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.modal-close {
  color: #9CA3AF; padding: 4px; border-radius: 6px; transition: all 0.15s; flex-shrink: 0;
}
.modal-close:hover { color: #374151; background: #F3F4F6; }
.modal-body { padding: 16px 22px 20px; }
.modal-footer {
  padding: 16px 22px; border-top: 1px solid #F3F4F6; display: flex; gap: 8px;
}
.modal-footer-form { justify-content: flex-end; }

/* Priority badge */
.priority-badge {
  display: inline-flex; align-items: center;
  padding: 2px 10px; border-radius: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
}
.priority-badge.alta { background: #FEE2E2; color: #DC2626; }
.priority-badge.media { background: #FEF3C7; color: #D97706; }
.priority-badge.baixa { background: #D1FAE5; color: #059669; }

/* Cobrança badge */
.cobranca-badge {
  display: flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 6px;
  background: #FEE2E2; color: #DC2626; font-size: 11px; font-weight: 700;
}

/* Detail grid */
.detail-grid { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.detail-row { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.detail-label { color: #6B7280; width: 90px; flex-shrink: 0; }
.detail-value { color: #1B1B1B; font-weight: 500; }
.cobranca-link { color: #EF4444; font-weight: 600; }
.status-pill {
  padding: 2px 10px; border-radius: 20px;
  background: #F3F4F6; color: #374151; font-size: 12px; font-weight: 500;
}
.detail-desc-section { padding-top: 12px; border-top: 1px solid #F3F4F6; margin-bottom: 14px; }
.detail-desc-label { font-size: 12px; font-weight: 600; color: #6B7280; margin-bottom: 6px; }
.detail-desc { font-size: 14px; color: #374151; line-height: 1.6; }

/* Cobrar section */
.cobrar-section {
  background: #F9FAFB; border-radius: 12px; padding: 14px; margin-top: 4px;
}
.cobrar-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.cobrar-text { font-size: 13px; color: #6B7280; margin-bottom: 12px; }
.btn-cobrar {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; padding: 10px; border-radius: 10px;
  background: #1B4332; color: white; font-size: 14px; font-weight: 600; transition: all 0.15s;
}
.btn-cobrar:hover { background: #2D6A4F; }

/* Footer buttons */
.btn-iniciar {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px; border-radius: 10px; border: 1px solid #E5E7EB; background: #F9FAFB;
  font-size: 13px; font-weight: 600; color: #374151; transition: all 0.15s;
}
.btn-iniciar:hover { background: #D8F3DC; border-color: #52B788; color: #1B4332; }
.btn-editar {
  flex: 1; padding: 10px; border-radius: 10px; border: 1px solid #E5E7EB; background: #F9FAFB;
  font-size: 13px; font-weight: 600; color: #374151; transition: all 0.15s;
}
.btn-editar:hover { background: #F3F4F6; }
.btn-excluir {
  flex: 1; padding: 10px; border-radius: 10px; border: 1px solid #FEE2E2; background: #FEF2F2;
  font-size: 13px; font-weight: 600; color: #DC2626; transition: all 0.15s;
}
.btn-excluir:hover { background: #FEE2E2; }

/* Form */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label { font-size: 13px; font-weight: 600; color: #374151; }
.optional { font-weight: 400; color: #9CA3AF; }
.form-input {
  padding: 10px 12px; border-radius: 10px;
  border: 1px solid #E5E7EB; font-size: 14px; color: #1B1B1B;
  outline: none; transition: border-color 0.15s; background: white;
}
.form-input:focus { border-color: #52B788; box-shadow: 0 0 0 3px rgba(82,183,136,0.1); }
.form-textarea { resize: vertical; min-height: 80px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.priority-selector { display: flex; gap: 8px; }
.priority-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px; border-radius: 10px; border: 2px solid #E5E7EB;
  font-size: 13px; font-weight: 500; transition: all 0.15s;
}
.priority-btn:hover { border-color: #D1D5DB; background: #F9FAFB; }
.priority-btn.selected { border-color: #1B4332; background: #D8F3DC; font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.btn-cancel {
  padding: 10px 20px; border-radius: 10px; border: 1px solid #E5E7EB;
  font-size: 14px; font-weight: 500; color: #374151; transition: all 0.15s;
}
.btn-cancel:hover { background: #F3F4F6; }

/* ===== NOTIFICATION PANEL ===== */
.notif-panel {
  position: fixed; top: 70px; right: 20px;
  width: 320px; background: white; border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  z-index: 200; overflow: hidden; animation: slideUp 0.2s ease;
}
.notif-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid #F3F4F6;
  font-size: 14px; font-weight: 700;
}
.notif-panel-header button { color: #9CA3AF; transition: color 0.15s; }
.notif-panel-header button:hover { color: #374151; }
#notif-panel-list { padding: 8px; max-height: 360px; overflow-y: auto; }
.notif-panel-item {
  padding: 10px 10px; border-radius: 10px; margin-bottom: 4px;
  cursor: pointer; transition: background 0.15s; border-left: 3px solid transparent;
}
.notif-panel-item:hover { background: #F9FAFB; }
.notif-panel-item .from { font-size: 11px; color: #6B7280; margin-bottom: 2px; }
.notif-panel-item .task-name { font-size: 13px; font-weight: 600; color: #1B1B1B; }
.notif-panel-item .time { font-size: 11px; color: #9CA3AF; margin-top: 2px; }
.notif-panel-item.red-dot { border-left-color: #EF4444; }
.notif-panel-item.yellow-dot { border-left-color: #F59E0B; }
.notif-panel-item.green-dot { border-left-color: #10B981; }

/* ===== TOAST ===== */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: #1B4332; color: white; padding: 12px 22px; border-radius: 12px;
  font-size: 14px; font-weight: 500; box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  z-index: 1000; animation: slideUp 0.2s ease;
}

.sync-status {
  position: fixed; top: 16px; right: 16px;
  background: #1B4332; color: white; padding: 6px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 500; z-index: 9999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: opacity 0.3s;
}

/* ===== MOBILE BOTTOM NAV ===== */
.mobile-nav {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  background: white; border-top: 1px solid #E5E7EB;
  padding: 8px 0 16px; z-index: 100;
}
.mobile-nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 10px; font-weight: 500; color: #9CA3AF; padding: 6px 0; transition: color 0.15s;
}
.mobile-nav-item.active { color: #1B4332; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-sidebar { display: none; }
}
@media (max-width: 900px) {
  .sidebar { display: none; }
  .main-wrapper { margin-left: 0; }
  .mobile-nav { display: flex; }
  .page { padding: 20px 16px 80px; }
  .topbar { padding: 16px; }
  .kanban-board { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .topbar-actions .btn-secondary { display: none; }
  .team-tasks-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-card { padding: 12px; }
  .stat-value { font-size: 22px; }
  .login-card { padding: 32px 24px; width: 100%; max-width: 340px; }
  .modal { border-radius: 16px 16px 0 0; max-width: 100%; }
  .modal-overlay { align-items: flex-end; padding: 0; }
}
