/* =========================================================
   RESET & BASE
========================================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f1f5f9;
  color: #1e293b;
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}


/* =========================================================
   AUTH (LOGIN / RESET)
========================================================= */
.auth-header {
  background: #1f2937;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.auth-header .header-inner {
  display: flex;
  align-items: center;
  gap: 15px;
}

.auth-header img {
  height: 45px;
}

.auth-header h1 {
  color: #ffffff;
  font-size: 22px;
  font-weight: 600;
}

.auth-container {
  min-height: calc(100vh - 140px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.auth-card {
  background: #ffffff;
  width: 360px;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.auth-card h2 {
  margin-bottom: 20px;
  font-size: 22px;
  color: #111827;
}

.auth-card input {
  width: 100%;
  padding: 12px;
  margin-bottom: 14px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
}

.auth-card input:focus {
  outline: none;
  border-color: #2563eb;
}

.auth-card button[type="submit"] {
  width: 100%;
  padding: 12px;
  background: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.auth-card button[type="submit"]:hover {
  background: #1d4ed8;
}

/* Social login section */
.auth-social {
  margin-top: 18px;
}

.auth-social-divider {
  margin: 0 0 12px 0;
  font-size: 13px;
  color: #64748b;
}

.auth-social-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #d1d5db;
  box-sizing: border-box;
  text-decoration: none;
  position: relative;
}

.btn-social .btn-social-icon,
.btn-social .btn-social-icon-svg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.btn-social:hover {
  background: #f9fafb;
}

.btn-google {
  background: #ffffff;
  color: #1f2937;
}

.btn-google:hover {
  background: #f9fafb;
}

.btn-microsoft {
  background: #ffffff;
  color: #1f2937;
  border-color: #d1d5db;
}

.btn-microsoft:hover {
  background: #f9fafb;
}

.btn-social-icon {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
  object-position: center;
}

.btn-social-icon-svg {
  flex-shrink: 0;
}

/* Password field with eye toggle on login forms */
.password-field {
  position: relative;
  margin-bottom: 14px;
}

.password-field input {
  padding-right: 40px;
  margin-bottom: 0;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 0;
  color: #6b7280;
  user-select: none;
}
.password-toggle:hover {
  color: #374151;
}

.auth-card a {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  color: #2563eb;
  text-decoration: none;
}

.auth-card a:hover {
  text-decoration: underline;
}

.auth-footer {
  background: #1f2937;
  color: #ffffff;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
}

/* =========================================================
   MAIN HEADER (APP)
========================================================= */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #0f172a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.header-left img {
  height: 36px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 14px;
}

.header-right a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.header-right a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

.header-notif {
  display: inline-flex;
  align-items: center;
  position: relative;
}
.header-notif .notif-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  color: #fff;
  background: #dc2626;
  border-radius: 9px;
}

/* =========================================================
   SIDEBAR
========================================================= */
.sidebar {
  position: fixed;
  top: 60px;
  left: 0;
  width: 220px;
  height: calc(100vh - 100px);
  background: #0f172a;
  padding-top: 16px;
  padding-bottom: 16px;
  overflow-y: auto;
  overflow-x: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 100;
}

.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-track {
  background: #1f2937;
}

.sidebar::-webkit-scrollbar-thumb {
  background: #4b5563;
  border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: #6b7280;
}

.sidebar ul {
  list-style: none;
}

.sidebar li {
  margin-bottom: 4px;
}

.sidebar .menu-title {
  padding: 12px 20px 8px 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #9ca3af;
  margin-top: 8px;
  margin-bottom: 4px;
}

.sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}

.sidebar a:hover,
.sidebar a.active {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-left: 3px solid #3b82f6;
}

/* =========================================================
   CONTENT AREA
========================================================= */
.content {
  margin-left: 220px;
  margin-top: 60px;
  padding: 28px 32px;
  padding-bottom: 48px;
  min-height: calc(100vh - 100px);
}

.content h2 {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.content .muted {
  color: #64748b;
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.5;
}

/* =========================================================
   FORMS
========================================================= */
input,
select,
textarea {
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  color: #1e293b;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

input::placeholder,
textarea::placeholder {
  color: #94a3b8;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  color: #1e293b;
  background: #ffffff;
  box-sizing: border-box;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
}

.form-hint {
  font-size: 13px;
  color: #64748b;
  margin-top: 6px;
  line-height: 1.4;
}

button {
  padding: 10px 18px;
  background: #2563eb;
  border: none;
  color: #ffffff;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s, transform 0.1s;
}

button:hover {
  background: #1d4ed8;
}

button:active {
  transform: scale(0.98);
}

.form-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-actions {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.form-actions a {
  text-decoration: none;
  font-size: 14px;
}

/* =========================================================
   PAGE ALERTS (SUCCESS / ERROR / INFO)
========================================================= */
.alert {
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.5;
  border: 1px solid transparent;
}
.alert-success {
  background: #dcfce7;
  color: #166534;
  border-color: #bbf7d0;
}
.alert-error {
  background: #fee2e2;
  color: #991b1b;
  border-color: #fecaca;
}
.alert-info {
  background: #e0f2fe;
  color: #0369a1;
  border-color: #bae6fd;
}
.alert-warning {
  background: #fef3c7;
  color: #92400e;
  border-color: #fde68a;
}

/* Card container */
.card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  padding: 24px;
}

/* Cancel Button Style */
.btn-cancel,
a.btn-cancel {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  background: #ffffff;
  color: #dc2626;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-cancel:hover,
a.btn-cancel:hover {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
  text-decoration: none;
}

.btn-cancel:active,
a.btn-cancel:active {
  background: #fee2e2;
  color: #991b1b;
}

.form-card {
  background: #ffffff;
  max-width: 600px;
  padding: 28px 32px;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
}

/* =========================================================
   TABLES
========================================================= */
.table-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  overflow: visible;   /* ✅ IMPORTANT */
}

.table-card-inner {
  width: 100%;
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  font-size: 14px;
  overflow: visible;
}

.table tbody {
  overflow: visible;
}

.table th {
  background: #f8fafc;
  padding: 14px 16px;
  font-size: 12px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.02em;
  color: #64748b;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.table td {
  padding: 14px 16px;
  font-size: 14px;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
}

.table td.col-actions,
.table th.col-actions {
  white-space: nowrap;
  width: 1%;
  overflow: visible;
  position: relative;
}

.table tbody tr {
  transition: background 0.15s ease;
}

.table tbody tr:hover {
  background: #f8fafc;
}

.table tbody tr:last-child td {
  border-bottom: none;
}

/* =========================================================
   BADGES
========================================================= */
.badge,
.badge-success,
.badge-warning,
.badge-danger,
.badge-info,
.badge-neutral,
.badge-secondary {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.badge-success {
  background: #dcfce7;
  color: #166534;
}

.badge-warning {
  background: #fef3c7;
  color: #92400e;
}

.badge-danger {
  background: #fee2e2;
  color: #991b1b;
}

.badge-secondary {
  background: #f1f5f9;
  color: #475569;
}

/* =========================================================
   FOOTER
========================================================= */
footer,
.main-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: #0f172a;
  color: #94a3b8;
  text-align: center;
  line-height: 40px;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 9999;
}

/* =========================================================
   UTILITIES
========================================================= */
.hidden {
  display: none;
}

.text-right {
  text-align: right;
}

.link-btn {
  background: none;
  border: none;
  padding: 0;
  color: #2563eb;
  cursor: pointer;
  font-size: 14px;
}

.link-btn:hover {
  text-decoration: underline;
}

/* =========================================================
   BUTTON SYSTEM (FUTURE-PROOF)
========================================================= */

/* Primary button */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #2563eb;
  color: #ffffff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.1s;
}

.btn:hover {
  background: #1d4ed8;
}

.btn:active {
  transform: scale(0.98);
}

/* Secondary button */
.btn-secondary {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
  background: #e2e8f0;
  color: #1e293b;
}

/* Primary button (explicit) */
.btn-primary {
  background: #2563eb;
  color: #ffffff;
}

.btn-primary:hover {
  background: #1d4ed8;
}

/* Success button (e.g. Verify, Confirm) */
.btn-success {
  background: #28a745;
  color: #ffffff;
}

.btn-success:hover {
  background: #218838;
}

/* Danger button */
.btn-danger {
  background: #dc2626;
}

.btn-danger:hover {
  background: #b91c1c;
}

/* Small button */
.btn-sm {
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 6px;
}

/* =========================================================
   LINK BUTTONS (TABLE ACTIONS)
========================================================= */
.action-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.action-links a,
.action-links button {
  font-size: 13px;
  color: #2563eb;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.action-links a:hover,
.action-links button:hover {
  text-decoration: underline;
}

.action-links .danger {
  color: #dc2626;
}

/* =========================================================
   ACTION MENU (3 DOTS)
========================================================= */
.action-menu-wrapper {
  position: relative;
  display: inline-block;
}

.btn-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 18px;
  font-weight: 600;
}

.btn-icon:hover {
  background: #f3f4f6;
  color: #374151;
  transform: scale(1.05);
}

.btn-icon:active {
  transform: scale(0.95);
}

.action-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 180px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  padding: 4px 0;
  z-index: 1000;
  display: none;
  animation: fadeIn 0.15s ease-out;
  border: 1px solid #e5e7eb;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.action-menu.open {
  display: block;
}

.action-menu a,
.action-menu button {
  width: 100%;
  display: flex;
  align-items: center;
  text-align: left;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  background: none;
  border: none;
  color: #374151;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  border-left: 3px solid transparent;
  position: relative;
}

.action-menu a:hover,
.action-menu button:hover {
  background: linear-gradient(to right, #eff6ff 0%, #f9fafb 100%);
  color: #1e40af;
  border-left-color: #2563eb;
  padding-left: 18px;
}

.action-menu a:active,
.action-menu button:active {
  background: #f3f4f6;
  transform: scale(0.98);
}

.action-menu .danger,
.action-menu button.danger {
  color: #dc2626;
}

.action-menu .danger:hover,
.action-menu button.danger:hover {
  background: linear-gradient(to right, #fef2f2 0%, #f9fafb 100%);
  color: #b91c1c;
  border-left-color: #dc2626;
}

/* Add separator between regular and danger actions */
.action-menu .danger:not(:first-child) {
  border-top: 1px solid #e5e7eb;
  margin-top: 4px;
  padding-top: 10px;
}

.action-menu form {
  margin: 0;
  padding: 0;
}

.action-menu form button {
  width: 100%;
  text-align: left;
}

/* =========================================================
   SCHEDULE TRAINING UI
========================================================= */
.day-checkbox:checked + span,
.time-radio:checked + span {
  color: #2563eb;
}

.day-checkbox:checked ~ *,
.time-radio:checked ~ * {
  color: #2563eb;
}

/* =========================================================
   TABLE ENHANCEMENTS (SORTING READY)
========================================================= */
.table thead th {
  position: relative;
  user-select: none;
}

.table thead th.sortable {
  cursor: pointer;
}

.table thead th.sortable::after {
  content: "↕";
  font-size: 11px;
  margin-left: 6px;
  color: #9ca3af;
}

.table thead th.sorted-asc::after {
  content: "↑";
  color: #2563eb;
}

.table thead th.sorted-desc::after {
  content: "↓";
  color: #2563eb;
}

/* Zebra rows (optional future use) */
.table.zebra tbody tr:nth-child(even) {
  background: #f8fafc;
}

/* =========================================================
   DROPDOWNS (FOR FILTERS & ACTIONS)
========================================================= */
.select {
  appearance: none;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 14px;
  padding-right: 34px;
}

/* =========================================================
   LIST STYLES (SIDEBAR / INLINE LISTS)
========================================================= */
.list {
  list-style: none;
  padding-left: 0;
}

.list li {
  padding: 8px 0;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
}

.list li:last-child {
  border-bottom: none;
}

/* Inline list */
.list-inline {
  display: flex;
  gap: 12px;
  list-style: none;
}

/* =========================================================
   STATUS CHIPS (FUTURE STATES)
========================================================= */
.badge-info {
  background: #e0f2fe;
  color: #075985;
}

.badge-neutral {
  background: #e2e8f0;
  color: #475569;
}

/* =========================================================
   PAGE HEADER ACTION BAR
========================================================= */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.page-header > div:first-child {
  flex: 1;
  min-width: 0;
}

.page-header .actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* =========================================================
   SEARCH & FILTER INPUTS (LIST PAGES)
========================================================= */
.content input[type="text"][placeholder*="earch"],
.content input[type="search"] {
  max-width: 100%;
  padding: 10px 14px 10px 36px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.content input[type="text"][placeholder*="earch"]:focus,
.content input[type="search"]:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* =========================================================
   EMPTY STATE (NO DATA)
========================================================= */
.empty-state {
  padding: 48px 24px;
  text-align: center;
  color: #64748b;
  font-size: 14px;
}
.empty-state-cell {
  padding: 24px 16px;
  vertical-align: middle;
  text-align: center;
  color: #64748b;
}
.empty-state-icon {
  font-size: 48px;
  margin-bottom: 12px;
  line-height: 1;
  opacity: 0.6;
}
.empty-state-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #334155;
}
.empty-state-message {
  font-size: 14px;
  color: #64748b;
}

/* =========================================================
   TOOLTIPS (CSS ONLY)
========================================================= */
.tooltip {
  position: relative;
}

.tooltip:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background: #111827;
  color: #ffffff;
  padding: 6px 8px;
  font-size: 12px;
  border-radius: 4px;
  white-space: nowrap;
  z-index: 100;
}

/* Candidate Count Badge */
.candidate-count-badge {
  display: inline-block;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 4px;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.3);
  vertical-align: middle;
}

/* =========================================================
   DASHBOARD CARDS & METRICS
========================================================= */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.dashboard-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.dashboard-card-header {
  background: #f8fafc;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 15px;
  color: #1e293b;
  border-bottom: 1px solid #e2e8f0;
}

.dashboard-card-body {
  padding: 20px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
}

.metric-item {
  text-align: center;
}

.metric-value {
  font-size: 28px;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 6px;
  line-height: 1.2;
}

.metric-value.success {
  color: #16a34a;
}

.metric-value.danger {
  color: #dc2626;
}

.metric-value.warning {
  color: #d97706;
}

.metric-label {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.4;
}

.alert-card .dashboard-card-body {
  padding: 16px 20px;
}

.alert-item {
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.alert-item:last-child {
  margin-bottom: 0;
}

.alert-item.warning {
  background: #fef3c7;
  color: #92400e;
  border-left: 4px solid #f59e0b;
}

.alert-item.danger {
  background: #fee2e2;
  color: #991b1b;
  border-left: 4px solid #dc2626;
}

.alert-item.success {
  background: #dcfce7;
  color: #166534;
  border-left: 4px solid #16a34a;
}

.alert-item.info {
  background: #dbeafe;
  color: #1e40af;
  border-left: 4px solid #2563eb;
}

.alert-list {
  margin-top: 10px;
}

.alert-list-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.alert-list-items li {
  padding: 8px 12px;
  margin-bottom: 6px;
  border-radius: 4px;
  background: #f9fafb;
  font-size: 14px;
}

.funnel-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.funnel-step {
  flex: 1;
  min-width: 120px;
  text-align: center;
  padding: 15px;
  background: #f9fafb;
  border-radius: 6px;
}

.funnel-number {
  font-size: 32px;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 6px;
}

.funnel-label {
  font-size: 12px;
  color: #6b7280;
}

.funnel-arrow {
  font-size: 24px;
  color: #9ca3af;
  font-weight: 600;
}

/* Toggle Candidates Button */
.btn-toggle-candidates {
  margin-left: 8px;
  background: none;
  border: none;
  color: #2563eb;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-toggle-candidates:hover {
  background: #eff6ff;
  color: #1d4ed8;
  text-decoration: none;
}

.btn-toggle-candidates:active {
  background: #dbeafe;
  transform: scale(0.98);
}
