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

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

:root {
  --bg: #f8f8f7;
  --surface: #ffffff;
  --border: #e8e8e6;
  --border-light: #f0f0ee;
  --text-primary: #1a1a1a;
  --text-secondary: #6b6b6b;
  --text-muted: #9b9b9b;
  --accent: #1a1a1a;
  --accent-hover: #333;
  --sidebar-w: 220px;
  --topbar-h: 56px;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --transition: 0.15s ease;
}

html, body { height: 100%; font-family: 'Inter', sans-serif; font-size: 14px; color: var(--text-primary); background: var(--bg); -webkit-font-smoothing: antialiased; }

a { text-decoration: none; color: inherit; }

/* ── LAYOUT ── */
.app { display: flex; height: 100vh; overflow: hidden; }

.sidebar {
  width: var(--sidebar-w);
  min-width: var(--sidebar-w);
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: fixed;
  top: 0; left: 0;
  z-index: 100;
}

.sidebar-logo {
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid var(--border);
  gap: 10px;
}
.sidebar-logo .logo-icon {
  width: 28px; height: 28px;
  background: var(--accent);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.sidebar-logo .logo-icon svg { width: 16px; height: 16px; }
.sidebar-logo span { font-weight: 600; font-size: 14px; letter-spacing: -0.2px; }

.sidebar-nav { flex: 1; padding: 12px 8px; overflow-y: auto; }

.nav-section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 8px;
  margin: 12px 0 4px;
}
.nav-section-label:first-child { margin-top: 0; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 450;
  transition: all var(--transition);
  margin-bottom: 1px;
  cursor: pointer;
}
.nav-link:hover { background: var(--bg); color: var(--text-primary); }
.nav-link.active { background: var(--bg); color: var(--text-primary); font-weight: 500; }
.nav-link svg { width: 15px; height: 15px; opacity: 0.7; flex-shrink: 0; }
.nav-link.active svg { opacity: 1; }

.sidebar-bottom {
  padding: 12px 8px;
  border-top: 1px solid var(--border);
}
.btn-logout {
  display: flex; align-items: center; gap: 8px;
  width: 100%;
  padding: 7px 8px;
  border: none;
  background: none;
  border-radius: var(--radius-sm);
  color: #dc2626;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'Inter', sans-serif;
}
.btn-logout:hover { background: #fef2f2; }
.btn-logout svg { width: 15px; height: 15px; }

.main-area {
  margin-left: var(--sidebar-w);
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

.topbar {
  height: var(--topbar-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 12px;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 50;
}
.topbar-title { font-size: 15px; font-weight: 600; letter-spacing: -0.2px; }
.topbar-sep { color: var(--border); font-size: 18px; }
.topbar-sub { font-size: 13px; color: var(--text-secondary); }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.page-content { flex: 1; overflow-y: auto; padding: 24px; }

/* ── SEARCH & FILTER BAR ── */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.search-wrap { position: relative; flex: 1; min-width: 200px; max-width: 340px; }
.search-wrap svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; color: var(--text-muted); pointer-events: none; }
.search-input {
  width: 100%;
  padding: 7px 10px 7px 32px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  transition: border var(--transition);
  outline: none;
}
.search-input:focus { border-color: #aaa; }
.search-input::placeholder { color: var(--text-muted); }

.select-filter {
  padding: 7px 28px 7px 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  outline: none;
  cursor: pointer;
  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' fill='none' stroke='%239b9b9b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  transition: border var(--transition);
}
.select-filter:focus { border-color: #aaa; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
  outline: none;
  white-space: nowrap;
}
.btn svg { width: 14px; height: 14px; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-secondary { background: var(--surface); color: var(--text-primary); border-color: var(--border); }
.btn-secondary:hover { background: var(--bg); }
.btn-danger { background: #dc2626; color: #fff; border-color: #dc2626; }
.btn-danger:hover { background: #b91c1c; }
.btn-sm { padding: 5px 10px; font-size: 12px; }

/* ── BADGES ── */
.badge {
  display: inline-flex; align-items: center;
  padding: 3px 8px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
/* Status */
.badge-open { background: #e5e7eb; color: #374151; border: 1px solid #d1d5db; }
.badge-in-progress { background: #dbeafe; color: #1d4ed8; border: 1px solid #bfdbfe; }
.badge-closed { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
/* Type */
.badge-bug { background: #fef2f2; color: #dc2626; }
.badge-feature { background: #f5f3ff; color: #7c3aed; }
.badge-feedback { background: #f3f4f6; color: #6b7280; }

/* ── TABLE ── */
.table-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
thead th {
  padding: 10px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  white-space: nowrap;
}
tbody td {
  padding: 12px 16px;
  font-size: 13px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-primary);
  vertical-align: middle;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr { transition: background var(--transition); cursor: pointer; position: relative; }
tbody tr:hover { background: var(--bg); }
tbody tr.row-bug { background: #fffaf9; border-left: 2px solid #ef4444; }
tbody tr.row-bug:hover { background: #fee2e2; }
.td-muted { color: #888; font-size: 12.5px; }
.td-title { font-weight: 600; max-width: 280px; color: #111; }
.td-title p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.td-title small { font-size: 11px; color: #9ca3af; font-weight: 400; display: block; margin-top: 3px; }

/* Quick Actions on Hover */
.row-actions { opacity: 0; transition: opacity var(--transition); display: flex; gap: 4px; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); }
tbody tr:hover .row-actions { opacity: 1; }
.quick-action-btn { background: var(--surface); border: 1px solid var(--border); padding: 4px 8px; border-radius: 4px; font-size: 11px; cursor: pointer; color: var(--text-secondary); transition: all 0.15s; }
.quick-action-btn:hover { background: var(--bg); color: var(--text-primary); border-color: #aaa; }


/* ── CARDS ── */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 24px; }
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 6px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.stat-card .stat-label { font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); }
.stat-card .stat-value { font-size: 26px; font-weight: 700; letter-spacing: -1px; color: var(--text-primary); }
.stat-card .stat-sub { font-size: 12px; color: var(--text-muted); }

.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.section-title { font-size: 13px; font-weight: 600; }

/* ── ISSUE DETAIL ── */
.detail-layout { display: grid; grid-template-columns: 1fr 280px; gap: 16px; align-items: start; }
.detail-card { background: var(--surface); border: 1px solid var(--border); padding: 20px; }
.detail-card + .detail-card { margin-top: 12px; }
.detail-label { font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.detail-value { font-size: 14px; color: var(--text-primary); line-height: 1.6; }
.detail-title { font-size: 18px; font-weight: 600; letter-spacing: -0.3px; margin-bottom: 16px; line-height: 1.4; }
.detail-divider { border: none; border-top: 1px solid var(--border-light); margin: 16px 0; }
.meta-row { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--border-light); }
.meta-row:last-child { border-bottom: none; }
.meta-key { font-size: 12px; color: var(--text-muted); width: 90px; flex-shrink: 0; }
.meta-val { font-size: 13px; color: var(--text-primary); }

/* ── COMMENTS ── */
.comments-section { margin-top: 24px; }
.comments-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.comments-title { font-size: 15px; font-weight: 600; letter-spacing: -0.2px; }
.comment-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.comment-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.comment-item-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.comment-author { font-weight: 600; font-size: 13px; color: var(--text-primary); }
.comment-author.deleted { color: var(--text-muted); font-style: italic; }
.comment-time { font-size: 12px; color: var(--text-muted); }
.comment-content { font-size: 14px; line-height: 1.5; color: var(--text-primary); white-space: pre-wrap; }
.comment-attachment { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border-light); }
.comment-attach-file { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: var(--bg); border: 1px solid var(--border); border-radius: 4px; font-size: 12px; color: var(--text-secondary); transition: all 0.15s; }
.comment-attach-file:hover { background: #e5e7eb; color: var(--text-primary); }
.comment-attach-preview { max-width: 100%; max-height: 200px; border-radius: 4px; border: 1px solid var(--border); object-fit: contain; }

.comment-form-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.comment-form-header { font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.comment-textarea-wrap { position: relative; margin-bottom: 12px; }
.comment-textarea-wrap .char-count { position: absolute; bottom: 8px; right: 10px; font-size: 11px; color: var(--text-muted); pointer-events: none; }
.file-upload-hint { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* ── PROJECTS ── */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color var(--transition);
}
.project-card:hover { border-color: #ccc; }
.project-card-header { display: flex; align-items: flex-start; justify-content: space-between; }
.project-name { font-size: 14px; font-weight: 600; }
.project-meta { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }
.project-meta strong { color: var(--text-primary); font-weight: 600; }
.api-key-row { display: flex; align-items: center; gap: 6px; background: var(--bg); border: 1px solid var(--border-light); padding: 7px 10px; border-radius: 4px; }
.api-key-text { font-family: 'Courier New', monospace; font-size: 12px; color: var(--text-secondary); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy-btn {
  background: none; border: none; cursor: pointer; color: var(--text-muted); padding: 2px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s; border-radius: 4px;
}
.copy-btn:hover { color: var(--text-primary); background: #e5e7eb; transform: scale(1.05); }
.copy-btn svg { width: 14px; height: 14px; }
.copy-btn:active { transform: scale(0.95); }

/* ── MODAL ── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000;
  opacity: 0; pointer-events: none;
  transition: opacity 0.15s ease;
  backdrop-filter: blur(2px);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  width: 400px;
  max-width: 90vw;
  padding: 24px;
  transform: translateY(-10px) scale(0.98);
  transition: transform 0.15s ease;
  box-shadow: var(--shadow);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.modal-title { font-size: 15px; font-weight: 600; }
.modal-close { background: none; border: none; cursor: pointer; color: var(--text-muted); display: flex; align-items: center; transition: color var(--transition); }
.modal-close:hover { color: var(--text-primary); }
.modal-close svg { width: 18px; height: 18px; }
.modal-footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }

/* ── FORMS ── */
.form-group { margin-bottom: 14px; }
.form-label { display: block; font-size: 12px; font-weight: 500; color: var(--text-secondary); margin-bottom: 5px; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: #aaa; }
.form-textarea { resize: vertical; min-height: 80px; line-height: 1.5; }
.form-select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239b9b9b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; padding-right: 28px; }

/* ── TOAST ── */
.toast-container { position: fixed; bottom: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.toast {
  background: var(--text-primary); color: #fff;
  padding: 10px 16px; font-size: 13px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  animation: toastIn 0.2s ease;
  display: flex; align-items: center; gap: 8px;
  min-width: 200px; max-width: 320px;
}
.toast.toast-success { background: #16a34a; }
.toast.toast-error { background: #dc2626; }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ── EMPTY STATE ── */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state svg { width: 40px; height: 40px; margin: 0 auto 12px; opacity: 0.3; }
.empty-state h3 { font-size: 14px; font-weight: 600; color: var(--text-secondary); margin-bottom: 4px; }
.empty-state p { font-size: 13px; }

/* ── LOADING ── */
.skeleton { background: linear-gradient(90deg, #f0f0ee 25%, #e8e8e6 50%, #f0f0ee 75%); background-size: 400%; animation: shimmer 1.4s infinite; border-radius: var(--radius-sm); }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

/* ── AUTH ── */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg); }
.auth-card { background: var(--surface); border: 1px solid var(--border); padding: 36px; width: 360px; box-shadow: var(--shadow); }
.auth-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.auth-logo .logo-icon { width: 32px; height: 32px; background: var(--accent); display: flex; align-items: center; justify-content: center; border-radius: 7px; }
.auth-logo .logo-icon svg { width: 18px; height: 18px; }
.auth-logo span { font-size: 16px; font-weight: 700; letter-spacing: -0.3px; }
.auth-title { font-size: 18px; font-weight: 700; letter-spacing: -0.3px; margin-bottom: 4px; }
.auth-sub { font-size: 13px; color: var(--text-secondary); margin-bottom: 24px; }

/* ── MISC ── */
.back-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-secondary); cursor: pointer; margin-bottom: 16px; transition: color var(--transition); border: none; background: none; font-family: 'Inter', sans-serif; }
.back-btn:hover { color: var(--text-primary); }
.back-btn svg { width: 14px; height: 14px; }
.attach-preview { max-width: 100%; max-height: 200px; object-fit: contain; border: 1px solid var(--border); display: block; margin-top: 8px; }
.tag { display: inline-block; padding: 2px 7px; border: 1px solid var(--border); border-radius: 4px; font-size: 11px; color: var(--text-secondary); }

/* ── KANBAN BOARD ── */
.kanban-container {
  display: flex; gap: 16px; flex: 1; min-height: 0;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
}
.kanban-col {
  flex: 1; min-width: 280px; max-width: 400px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); display: flex; flex-direction: column;
  scroll-snap-align: start;
}
.kanban-col-header {
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  font-weight: 600; font-size: 13px; display: flex; justify-content: space-between; align-items: center;
}
.kanban-list {
  flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 10px; min-height: 150px;
}
.kanban-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px;
  box-shadow: var(--shadow-sm); cursor: grab; transition: transform 0.1s, box-shadow 0.1s, border-color 0.1s;
  outline: none;
}
.kanban-card:focus-visible { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(26,26,26,0.2); }
.kanban-card:active { cursor: grabbing; }
.kanban-card:hover { box-shadow: var(--shadow); border-color: #ccc; }
.kanban-card-title { font-weight: 600; font-size: 13px; line-height: 1.4; color: var(--text-primary); margin-bottom: 4px; }
.kanban-card-meta { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--text-muted); margin-top: 8px; }
.kanban-ghost { opacity: 0.4; background: #e5e7eb; border: 1px dashed #9ca3af; }
.kanban-drag { box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important; transform: rotate(2deg); z-index: 1000; }
.kanban-empty-state { text-align: center; padding: 20px 0; color: var(--text-muted); font-size: 12px; font-weight: 500; border: 1px dashed var(--border); border-radius: var(--radius-sm); }
.kanban-skeleton { background: linear-gradient(90deg, #f0f0ee 25%, #e8e8e6 50%, #f0f0ee 75%); background-size: 400%; animation: shimmer 1.4s infinite; border-radius: var(--radius-sm); height: 70px; }

.divider { border: none; border-top: 1px solid var(--border); margin: 20px 0; }
.text-sm { font-size: 13px; }
.text-xs { font-size: 11px; }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-danger { color: #dc2626; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.ml-auto { margin-left: auto; }
.w-full { width: 100%; }

@media (max-width: 768px) {
  .detail-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .main-area { margin-left: 0; padding-bottom: 65px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

.mobile-bottom-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  z-index: 100;
  height: 65px;
  padding: 0 4px;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
  padding-bottom: env(safe-area-inset-bottom);
}
@media (max-width: 768px) {
  .mobile-bottom-nav { display: flex; }
}

.bottom-nav-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; flex: 1; height: 100%;
  color: var(--text-secondary); text-decoration: none;
  transition: color var(--transition); cursor: pointer;
}
.bottom-nav-item svg { width: 20px; height: 20px; }
.bottom-nav-item span { font-size: 10px; font-weight: 500; }
.bottom-nav-item.active { color: var(--text-primary); font-weight: 600; }
.bottom-nav-item.active svg { stroke-width: 2.5px; }
.bottom-nav-item.text-danger { color: #dc2626; }

/* ── SWEETALERT2 OVERRIDES ── */
.fos-swal-popup {
  font-family: 'Inter', sans-serif !important;
  border-radius: 6px !important;
  border: 1px solid #e8e8e6 !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10) !important;
  padding: 28px 28px 24px !important;
}
.fos-swal-title {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
  letter-spacing: -0.2px !important;
}
.fos-swal-html {
  font-size: 13px !important;
  color: #6b6b6b !important;
  margin-top: 4px !important;
}
.fos-swal-confirm, .fos-swal-cancel {
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 7px 16px !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  border: 1px solid transparent !important;
  transition: all 0.15s ease !important;
}
.fos-swal-confirm {
  background: #1a1a1a !important;
  color: #fff !important;
  border-color: #1a1a1a !important;
}
.fos-swal-confirm:hover { background: #333 !important; border-color: #333 !important; }
.fos-swal-confirm.fos-swal-danger {
  background: #dc2626 !important;
  border-color: #dc2626 !important;
}
.fos-swal-confirm.fos-swal-danger:hover { background: #b91c1c !important; border-color: #b91c1c !important; }
.fos-swal-cancel {
  background: #fff !important;
  color: #1a1a1a !important;
  border-color: #e8e8e6 !important;
}
.fos-swal-cancel:hover { background: #f8f8f7 !important; }

/* Toast style override */
.fos-toast {
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  border-radius: 4px !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10) !important;
}

