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

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

body {
  font-family: var(--spt-font);
  font-size: 13px;
  line-height: 1.5;
  color: var(--spt-text);
  background-color: var(--spt-bg);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--spt-teal);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.hidden {
  display: none !important;
}

/* ============================================
   FLASH NOTICES
   ============================================ */

.flash-notice {
  padding: 12px 20px;
  margin: 0 20px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  animation: flash-slide-in 0.3s ease;
}

@keyframes flash-slide-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.flash-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.flash-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ============================================
   TOAST CONTAINER & SINGLE CHECK TOAST
   ============================================ */

.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  pointer-events: none;
}

.toast-container > * {
  pointer-events: auto;
}

.single-check-toast {
  position: relative;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  min-width: 320px;
  max-width: 400px;
  overflow: hidden;
  animation: toast-slide-in 0.3s ease;
}

@keyframes toast-slide-in {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes toast-slide-out {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100px);
  }
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}

.toast-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.toast-message {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  color: #333;
}

.toast-close {
  background: none;
  border: none;
  font-size: 18px;
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.toast-close:hover {
  background: #f0f0f0;
  color: #333;
}

.toast-progress {
  height: 3px;
  background: #e0e0e0;
}

.toast-progress-bar {
  height: 100%;
  width: 0%;
  background: #004c54;
  transition: width 0.3s ease;
}

.single-check-toast.toast-pending .toast-progress-bar {
  background: #004c54;
}

.single-check-toast.toast-success {
  border-left: 4px solid #10b981;
}

.single-check-toast.toast-success .toast-progress-bar {
  background: #10b981;
}

.single-check-toast.toast-success .toast-icon {
  color: #10b981;
}

.single-check-toast.toast-error {
  border-left: 4px solid #ef4444;
}

.single-check-toast.toast-error .toast-progress-bar {
  background: #ef4444;
}

.single-check-toast.toast-error .toast-icon {
  color: #ef4444;
}

.single-check-toast.toast-warning {
  border-left: 4px solid #f59e0b;
}

.single-check-toast.toast-warning .toast-progress-bar {
  background: #f59e0b;
}

.single-check-toast.toast-warning .toast-icon {
  color: #f59e0b;
}

/* ============================================
   SIDEBAR
   ============================================ */

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 56px;
  background: linear-gradient(180deg, #004C54 0%, #003840 100%);
  z-index: 300;
  overflow: hidden;
  transition: width 200ms ease;
  display: flex;
  flex-direction: column;
}

.sidebar:hover {
  width: 240px;
}

/* Push content when sidebar expands */
.sidebar:hover ~ .main-wrapper {
  margin-left: 240px;
}

/* App Switcher */
.app-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.app-switcher-item {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.app-switcher-item:hover {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.app-switcher-item.active {
  background: #1db99a;
  color: white;
  box-shadow: 0 0 0 3px rgba(29, 185, 154, 0.3);
}

/* Logo area at top of sidebar */
.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 16px;
  height: 48px;
  min-height: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sidebar-logo-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1db99a;
}

.sidebar-logo-text {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 150ms ease;
}

.sidebar:hover .sidebar-logo-text {
  opacity: 1;
}

/* Nav items */
.sidebar-nav {
  list-style: none;
  padding: 8px 0;
  margin: 0;
  flex: 1;
}

.sidebar-item {
  margin: 0;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.15s ease;
  border-radius: 8px;
  margin: 2px 8px;
  border-left: none;
}

.sidebar-link:hover {
  color: rgba(255, 255, 255, 0.9);
  background-color: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.sidebar-link.active {
  color: #FFFFFF;
  background-color: rgba(29, 185, 154, 0.15);
}

.sidebar-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
}

.sidebar-link:hover .sidebar-icon,
.sidebar-link.active .sidebar-icon {
  color: rgba(255, 255, 255, 0.9);
}

.sidebar-icon svg {
  display: block;
}

.sidebar-label {
  opacity: 0;
  transition: opacity 150ms ease;
}

.sidebar:hover .sidebar-label {
  opacity: 1;
}

/* Sign out item at bottom of sidebar */
.sidebar-item-signout {
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 8px 0;
}

.sidebar-item-signout button.sidebar-link {
  width: 100%;
  background: none;
  cursor: pointer;
}

/* User footer at bottom of sidebar */
.sidebar-user-footer {
  margin-top: auto;
  padding: 10px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
}

.sidebar-user-footer a {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: 1;
  min-width: 0;
}

.sidebar-user-footer a:hover {
  opacity: 0.8;
}

.sidebar-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.sidebar-user-avatar-initials {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1db99a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 11px;
  flex-shrink: 0;
}

.sidebar-user-info {
  margin-left: 10px;
  min-width: 0;
  opacity: 0;
  white-space: nowrap;
  transition: opacity 200ms ease;
}

.sidebar:hover .sidebar-user-info {
  opacity: 1;
}

.sidebar-user-name {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user-role {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.sidebar-user-signout {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.4);
  padding: 4px;
  margin-left: auto;
  opacity: 0;
  transition: opacity 200ms ease, color 150ms ease;
}

.sidebar:hover .sidebar-user-signout {
  opacity: 1;
}

.sidebar-user-signout:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   MAIN WRAPPER (everything right of sidebar)
   ============================================ */

.main-wrapper {
  margin-left: 56px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: margin-left 200ms ease;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--spt-text-secondary);
}

/* Notification bell & dropdown */
.notification-bell-wrap {
  position: relative;
  z-index: 250;
}

.notification-bell {
  cursor: pointer;
  border: 1px solid var(--spt-border);
  background: var(--spt-bg-white);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--spt-radius-button);
  box-shadow: var(--spt-shadow-card);
  color: var(--spt-teal);
  transition: all 150ms ease;
  font-family: inherit;
  font-size: 13px;
}

.notification-bell:hover {
  background: var(--spt-bg);
  border-color: var(--spt-teal);
}

.notification-bell svg {
  color: var(--spt-teal);
  flex-shrink: 0;
}

.notification-badge {
  background: #e74c3c;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
}

.bell-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 380px;
  background: #ffffff;
  border: 1px solid #ebecee;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  animation: dropdown-fade-in 0.15s ease;
}

@keyframes dropdown-fade-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.bell-dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #f0f2f5;
}

.bell-dropdown-title {
  font-size: 13px;
  font-weight: 600;
  color: #2d3436;
}

.bell-dropdown-link {
  font-size: 12px;
  font-weight: 500;
  color: #1db99a;
  text-decoration: none;
}

.bell-dropdown-link:hover {
  text-decoration: underline;
}

.bell-dropdown-list {
  max-height: 400px;
  overflow-y: auto;
}

.bell-dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 16px;
  border-bottom: 1px solid #f8f9fa;
  transition: background 100ms ease;
}

.bell-dropdown-item:hover {
  background: #f8f9fa;
}

.bell-dropdown-item:last-child {
  border-bottom: none;
}

.bell-item-badge {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #636e72;
}

.bell-item-desc {
  font-size: 13px;
  color: #2d3436;
  line-height: 1.4;
}

.bell-item-time {
  font-size: 11px;
  color: #b2bec3;
  margin-top: 2px;
}

.bell-dropdown-empty,
.bell-dropdown-loading {
  padding: 24px 16px;
  text-align: center;
  font-size: 13px;
  color: #636e72;
}

/* Content area */
.data-container {
  padding: 24px;
  flex-grow: 1;
  min-width: 0;
  background-color: var(--spt-bg);
}

/* ============================================
   FOOTER
   ============================================ */

/* Legacy footer - use .spt-footer instead */
.app-footer {
  text-align: center;
  padding: 16px 24px;
  color: var(--spt-text-muted);
  font-size: 12px;
  border-top: 1px solid var(--spt-border-light);
}

.app-footer p {
  margin: 0;
}

/* ============================================
   PAGE HEADERS
   ============================================ */

.page-header {
  margin-bottom: 20px;
}

.page-title {
  font-size: 20px;
  font-weight: 600;
  color: #2d3436;
  margin: 0;
}

/* ============================================
   FILTER BAR
   ============================================ */

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid #ebecee;
  border-radius: 8px;
}

.filter-bar-left,
.filter-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.filter-group label {
  font-size: 12px;
  font-weight: 500;
  color: #636e72;
}

.filter-group select {
  padding: 5px 10px;
  border: 1px solid #dfe6e9;
  border-radius: 6px;
  font-size: 12px;
  font-family: inherit;
  background: #ffffff;
  color: #2d3436;
  cursor: pointer;
  width: auto;
}

.filter-group select:focus {
  outline: none;
  border-color: #004c54;
  box-shadow: 0 0 0 2px rgba(0, 76, 84, 0.1);
}

.filter-count {
  font-size: 12px;
  color: #b2bec3;
  font-weight: 500;
}

/* Multi-select filter dropdown */
.filter-group-multi {
  position: relative;
}

.filter-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid #dfe6e9;
  border-radius: 6px;
  font-size: 12px;
  font-family: inherit;
  background: #ffffff;
  color: #2d3436;
  cursor: pointer;
  min-width: 100px;
}

.filter-dropdown-btn:hover {
  border-color: #004c54;
}

.filter-dropdown-btn svg {
  color: #636e72;
  flex-shrink: 0;
}

.filter-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  background: #ffffff;
  border: 1px solid #dfe6e9;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 100;
  min-width: 200px;
}

.filter-dropdown-section {
  padding: 8px 0;
  border-bottom: 1px solid #ebecee;
}

.filter-dropdown-section:last-of-type {
  border-bottom: none;
}

.filter-dropdown-header {
  padding: 4px 12px 6px;
  font-size: 10px;
  font-weight: 600;
  color: #636e72;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 12px;
  color: #2d3436;
  transition: background 150ms ease;
}

.filter-checkbox:hover {
  background: #f6f7fb;
}

.filter-checkbox input {
  width: 14px;
  height: 14px;
  cursor: pointer;
  accent-color: #004c54;
}

.filter-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
}

.filter-dropdown-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 8px 12px;
  border-top: 1px solid #ebecee;
  background: #f6f7fb;
  border-radius: 0 0 8px 8px;
}

.btn-sm {
  padding: 4px 10px;
  font-size: 11px;
}

/* Search input with icon */
.search-inline {
  display: flex;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid #dfe6e9;
  border-radius: 6px;
  background: #ffffff;
}

.search-input-wrap svg {
  color: #b2bec3;
  flex-shrink: 0;
}

.search-field {
  border: none;
  outline: none;
  font-size: 12px;
  font-family: inherit;
  color: #2d3436;
  width: 180px;
  padding: 0;
  background: transparent;
}

.search-field::placeholder {
  color: #b2bec3;
}

.search-clear-btn {
  color: #b2bec3;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
  padding: 0 4px;
  cursor: pointer;
  transition: color 0.15s;
}

.search-clear-btn:hover {
  color: #e74c3c;
}

/* Curator column */
.col-curator {
  max-width: 150px;
}

.curator-name {
  font-size: 12px;
  color: #636e72;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}

/* Check Both button */
.btn-both {
  background: linear-gradient(135deg, #1db99a 0%, #004c54 100%);
  color: white;
  border: none;
}

.btn-both:hover {
  background: linear-gradient(135deg, #17a085 0%, #003840 100%);
}

.btn-both .status-badge {
  background: rgba(255,255,255,0.2);
  margin-right: 2px;
}

/* ============================================
   BUTTONS (Chartmetric style)
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  border-radius: 6px;
  cursor: pointer;
  transition: all 150ms ease;
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: transparent;
  color: #004c54;
  border: 1px solid #004c54;
}

.btn-primary:hover {
  background: rgba(0, 76, 84, 0.08);
  color: #004c54;
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: #004c54;
  border: 1px solid #004c54;
}

.btn-ghost:hover {
  background: rgba(0, 76, 84, 0.08);
  color: #004c54;
  text-decoration: none;
}

.btn-success-sm {
  background: transparent;
  color: #004c54;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  border: 1px solid #004c54;
  border-radius: 6px;
  cursor: pointer;
}

.btn-success-sm:hover {
  background: rgba(0, 76, 84, 0.08);
}

.btn-find {
  font-size: 11px;
  color: #004c54;
  font-weight: 500;
  text-decoration: none;
}

.btn-find:hover {
  text-decoration: underline;
}

.inline-form {
  display: inline;
}

/* ============================================
   DATA TABLE (Chartmetric style)
   ============================================ */

.data-card {
  background: #ffffff;
  border: 1px solid #ebecee;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table thead {
  background: #ffffff;
  border-bottom: 1px solid #ebecee;
}

.data-table th {
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 600;
  color: #636e72;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: left;
  white-space: nowrap;
}

.data-table td {
  padding: 10px 16px;
  font-size: 13px;
  color: #2d3436;
  border-bottom: 1px solid #f0f2f5;
  vertical-align: middle;
}

.data-row:hover {
  background-color: #f9fafb;
}

.data-row.row-read {
  opacity: 0.55;
}

.data-row.row-read:hover {
  opacity: 0.8;
}

/* Column widths */
.col-checkbox { width: 40px; text-align: center; }
.col-playlist { min-width: 200px; }
.col-contact { min-width: 140px; }
.col-keyword { min-width: 100px; }
.col-followers { min-width: 80px; text-align: right; }
.col-status { min-width: 70px; text-align: center; }
.col-discovered { min-width: 80px; white-space: nowrap; }
.col-actions { width: 95px; text-align: center; }

/* Bulk selection checkbox */
.bulk-checkbox {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #004c54;
}

/* Bulk Actions Bar */
.bulk-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #004c54 0%, #006670 100%);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 76, 84, 0.25);
}

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

.bulk-actions-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bulk-count {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.bulk-actions-bar .btn {
  font-size: 12px;
}

.bulk-actions-bar .btn-ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.bulk-actions-bar .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-activity {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #86efac;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-activity:hover {
  background: #dcfce7;
}

.btn-bot {
  background: #f0f9ff;
  color: #0369a1;
  border: 1px solid #7dd3fc;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-bot:hover {
  background: #e0f2fe;
}

.btn-activity .status-badge,
.btn-bot .status-badge {
  width: 18px;
  height: 18px;
  font-size: 9px;
}

/* Status badges for Activity/Bot checks */
.status-badges {
  display: flex;
  gap: 4px;
  justify-content: center;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  font-size: 12px;
  cursor: default;
}

/* Activity status colors */
.status-activity-active {
  background: #d1fae5;
  color: #059669;
}

.status-activity-inactive {
  background: #fee2e2;
  color: #dc2626;
}

/* Bot status colors */
.status-bot-passed {
  background: #d1fae5;
  color: #059669;
}

.status-bot-botted {
  background: #fee2e2;
  color: #dc2626;
}

.status-bot-payola {
  background: #fef3c7;
  color: #d97706;
}

.status-bot-unsafe {
  background: #fef3c7;
  color: #d97706;
}

.status-bot-unverified {
  background: #e5e7eb;
  color: #6b7280;
}

.status-bot-unknown {
  background: #e5e7eb;
  color: #6b7280;
}

.status-bot-error {
  background: #fee2e2;
  color: #dc2626;
}

.status-bot-timeout {
  background: #fef3c7;
  color: #d97706;
}

/* Pending/Unchecked states */
.status-pending {
  background: #e0f2fe;
  color: #0284c7;
}

.status-unchecked {
  background: #f3f4f6;
  color: #9ca3af;
}

/* Clickable status badges (button styling) */
button.status-badge {
  border: none;
  cursor: pointer;
  transition: all 150ms ease;
}

button.status-badge:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.status-clickable {
  font-size: 10px;
  font-weight: 600;
}

.status-clickable:hover {
  background: #e5e7eb;
  color: #374151;
}

/* Status popover (manual override on long press) */
.status-popover {
  z-index: 9999;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  min-width: 140px;
  animation: popover-in 0.15s ease;
}

@keyframes popover-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.popover-header {
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 12px 4px;
  border-bottom: 1px solid #f3f4f6;
}

.popover-options {
  display: flex;
  flex-direction: column;
  padding: 4px 0;
}

.popover-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  text-align: left;
  transition: background 100ms;
}

.popover-option:hover {
  background: #f3f4f6;
}

.popover-active:hover { background: #ecfdf5; color: #059669; }
.popover-inactive:hover { background: #fef2f2; color: #dc2626; }
.popover-passed:hover { background: #ecfdf5; color: #059669; }
.popover-botted:hover { background: #fef2f2; color: #dc2626; }
.popover-payola:hover { background: #fef2f2; color: #dc2626; }
.popover-unsafe:hover { background: #fffbeb; color: #d97706; }
.popover-unknown:hover { background: #f5f5f5; color: #616161; }
.popover-clear:hover { background: #f5f5f5; color: #9ca3af; }

/* Playlist cell (name + copy button) */
.playlist-cell {
  display: flex;
  align-items: center;
  gap: 6px;
}

.playlist-name-link {
  font-weight: 500;
  color: #2d3436;
  text-decoration: none;
}

.playlist-name-link:hover {
  color: #004c54;
  text-decoration: underline;
}

.copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #b2bec3;
  padding: 2px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  transition: all 150ms;
  opacity: 0;
}

.data-row:hover .copy-btn {
  opacity: 1;
}

.copy-btn:hover {
  color: #004c54;
  background: rgba(0, 76, 84, 0.1);
}

.copy-btn.copied {
  color: #27ae60;
}

/* Contact badges */
.contact-badge {
  display: block;
  font-size: 12px;
  line-height: 1.6;
}

.contact-badge a {
  color: #004c54;
}

/* Keyword tag */
.keyword-tag {
  display: inline-block;
  padding: 2px 8px;
  background: #f0f2f5;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  color: #636e72;
  text-decoration: none;
}

.keyword-tag:hover {
  background: #e2e8f0;
  text-decoration: none;
}

/* Read/Unread button */
.btn-read {
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 500;
  font-family: inherit;
  border: 1px solid #004c54;
  background: transparent;
  color: #004c54;
  border-radius: 4px;
  cursor: pointer;
  transition: all 150ms;
}

.btn-read:hover {
  background: rgba(0, 76, 84, 0.08);
}

.btn-read-unread {
  background: transparent;
  color: #004c54;
  border-color: #004c54;
}

.btn-read-unread:hover {
  background: rgba(0, 76, 84, 0.08);
}

/* Pagination */
.pagination-wrap {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

/* ============================================
   SETTINGS PAGE
   ============================================ */

.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.settings-card {
  background-color: #ffffff;
  border: 1px solid #ebecee;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.settings-card h3 {
  margin: 0 0 8px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2d3436;
}

.settings-card p {
  margin: 0 0 16px 0;
  font-size: 0.875rem;
  color: #636e72;
}

.settings-link-btn {
  display: inline-block;
  padding: 8px 16px;
  background-color: transparent;
  color: #004c54;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid #004c54;
  transition: all 0.2s ease;
}

.settings-link-btn:hover {
  background-color: rgba(0, 76, 84, 0.08);
  color: #004c54;
}

/* ============================================
   OLD STYLES (kept for backward compatibility)
   ============================================ */

/* Old filter styles - still used by playlists.html.erb */
.playlist-filters {
  margin-bottom: 16px;
  padding: 12px 16px;
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #ebecee;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.search-form-inline {
  display: flex;
  gap: 8px;
}

.search-input-small {
  padding: 5px 10px;
  border: 1px solid #dfe6e9;
  border-radius: 6px;
  font-size: 12px;
  width: 180px;
  font-family: inherit;
}

.search-input-small:focus {
  outline: none;
  border-color: #004c54;
  box-shadow: 0 0 0 2px rgba(0, 76, 84, 0.1);
}

.search-button-small {
  padding: 5px 12px;
  background-color: transparent;
  color: #004c54;
  border: 1px solid #004c54;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.search-button-small:hover {
  background-color: rgba(0, 76, 84, 0.08);
}

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

.playlist-count {
  font-size: 12px;
  color: #b2bec3;
}

/* Action buttons */
.action-btn {
  padding: 5px 12px;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 150ms ease;
  font-family: inherit;
}

.action-btn-primary {
  background-color: transparent;
  color: #004c54;
  border: 1px solid #004c54;
}

.action-btn-primary:hover {
  background-color: rgba(0, 76, 84, 0.08);
  color: #004c54;
}

.action-btn-secondary {
  background-color: #ffffff;
  color: #636e72;
  border: 1px solid #dfe6e9;
}

.action-btn-secondary:hover {
  background-color: #f9fafb;
  color: #2d3436;
}

.action-btn-success {
  background-color: transparent;
  color: #004c54;
  border: 1px solid #004c54;
}

.action-btn-success:hover {
  background-color: rgba(0, 76, 84, 0.08);
}

/* Copy link button (old style) */
.copy-link-btn {
  padding: 2px 8px;
  font-size: 11px;
  background-color: #f0f2f5;
  border: 1px solid #dfe6e9;
  border-radius: 4px;
  cursor: pointer;
  color: #636e72;
  transition: all 0.15s ease;
  margin-left: 8px;
}

.copy-link-btn:hover {
  background-color: #e2e8f0;
}

.copy-link-btn.copied {
  background-color: #004c54;
  border-color: #004c54;
  color: #ffffff;
}

/* ============================================
   MOBILE STYLES
   ============================================ */

@media (max-width: 767px) {
  .mobile-menu-btn {
    display: flex;
    align-items: center;
  }

  .sidebar {
    width: 0;
    transform: translateX(-100%);
  }

  .sidebar:hover {
    width: 0;
  }

  .sidebar:hover ~ .main-wrapper {
    margin-left: 0;
  }

  .sidebar.sidebar-mobile-open {
    width: 240px;
    transform: translateX(0);
  }

  .sidebar.sidebar-mobile-open .sidebar-label,
  .sidebar.sidebar-mobile-open .sidebar-logo-text {
    opacity: 1;
  }

  .main-wrapper {
    margin-left: 0;
  }

  .data-container {
    padding: 16px;
  }

  /* Responsive table */
  .data-table {
    display: block;
    overflow-x: auto;
  }

  .filter-bar,
  .playlist-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-bar-left,
  .filter-bar-right,
  .filter-row,
  .filter-actions {
    justify-content: flex-start;
  }

  .notification-bell {
    padding: 6px 10px;
  }

  .bell-dropdown {
    width: 300px;
    right: -10px;
  }
}

/* ============================================
   SUBMITHUB VERIFICATION MODAL
   ============================================ */

.sh-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.sh-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.sh-modal-content {
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-width: 420px;
  width: 100%;
  padding: 32px;
  text-align: center;
  animation: sh-modal-appear 0.3s ease;
}

@keyframes sh-modal-appear {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.sh-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: #9ca3af;
  padding: 4px;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.sh-modal-close:hover {
  background: #f3f4f6;
  color: #4b5563;
}

.sh-modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #004c54 0%, #006d77 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.sh-modal-title {
  font-size: 20px;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 12px;
}

.sh-modal-message {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 24px;
  line-height: 1.6;
}

.sh-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sh-modal-actions .btn {
  width: 100%;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.sh-modal-actions .btn-primary {
  background: linear-gradient(135deg, #004c54 0%, #006d77 100%);
  color: #fff;
  border: none;
}

.sh-modal-actions .btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 76, 84, 0.3);
}

.sh-modal-actions .btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.sh-modal-actions .btn-ghost {
  background: transparent;
  color: #6b7280;
  border: 1px solid #e5e7eb;
}

.sh-modal-actions .btn-ghost:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.sh-code-input-wrap {
  margin-bottom: 24px;
}

.sh-code-input {
  width: 100%;
  max-width: 200px;
  padding: 16px;
  font-size: 24px;
  font-weight: 600;
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
  text-align: center;
  letter-spacing: 8px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  transition: all 0.15s ease;
}

.sh-code-input:focus {
  outline: none;
  border-color: #004c54;
  box-shadow: 0 0 0 3px rgba(0, 76, 84, 0.1);
}

.sh-code-input::placeholder {
  color: #d1d5db;
  letter-spacing: 8px;
}

.sh-success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  animation: sh-success-pop 0.4s ease;
}

@keyframes sh-success-pop {
  0% { transform: scale(0); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.sh-success-message {
  color: #059669;
  font-weight: 500;
}

.sh-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
}

.sh-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e5e7eb;
  border-top-color: #004c54;
  border-radius: 50%;
  animation: sh-spin 0.8s linear infinite;
}

@keyframes sh-spin {
  to { transform: rotate(360deg); }
}

.sh-loading p {
  color: #6b7280;
  font-size: 14px;
  margin: 0;
}

.sh-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 16px;
}

.sh-error p {
  color: #dc2626;
  font-size: 13px;
  margin: 0;
}

.sh-modal-footer {
  font-size: 12px;
  color: #9ca3af;
  margin: 24px 0 0;
  padding-top: 16px;
  border-top: 1px solid #f3f4f6;
}

.sh-modal-footer a {
  color: #004c54;
  font-weight: 500;
}

/* Mobile adjustments for modal */
@media (max-width: 480px) {
  .sh-modal-content {
    padding: 24px;
    border-radius: 12px;
  }

  .sh-modal-title {
    font-size: 18px;
  }

  .sh-code-input {
    font-size: 20px;
    letter-spacing: 6px;
  }
}

/* ============================================
   SUBMITHUB SETTINGS CARD
   ============================================ */

.settings-card-submithub {
  grid-column: 1 / -1;
}

.settings-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.settings-card-header h3 {
  margin: 0;
}

/* App Access Grid (User form) */
.app-access-grid { display: flex; flex-direction: column; gap: 8px; }
.app-access-row { display: flex; align-items: center; gap: 16px; padding: 8px 12px; background: var(--spt-bg-light); border-radius: var(--spt-radius-input); }
.app-access-toggle { min-width: 100px; }
.app-access-toggle .spt-label { margin: 0; font-weight: 600; }
.app-access-role { flex: 1; max-width: 200px; }
.app-access-role select:disabled { opacity: 0.4; cursor: not-allowed; }
.spt-input-sm { padding: 4px 8px; font-size: 13px; }

/* Job Queue */
.jq-section { margin-top: 16px; }
.jq-section-title { font-size: 13px; font-weight: 600; margin: 0 0 8px; color: var(--spt-text-secondary); }
.jq-table { font-size: 13px; }
.jq-table th { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--spt-text-muted); }
.jq-table td { padding: 8px 12px; }
.jq-job-name { font-weight: 600; font-family: monospace; font-size: 12px; }
.jq-empty { color: var(--spt-text-muted); font-style: italic; text-align: center; padding: 12px; }
.jq-stuck { color: var(--spt-error); font-weight: 600; font-size: 12px; }
.jq-ok { color: var(--spt-success, #22c55e); font-size: 12px; }

.sh-status-badge {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sh-status-active {
  background: #d1fae5;
  color: #059669;
}

.sh-status-needs-verification {
  background: #fef3c7;
  color: #d97706;
}

.sh-status-unconfigured {
  background: #f3f4f6;
  color: #6b7280;
}

.sh-status-error {
  background: #fee2e2;
  color: #dc2626;
}

.sh-settings-status {
  padding: 12px 16px;
  background: #f9fafb;
  border-radius: 8px;
  color: #4b5563;
  font-size: 13px;
  margin-bottom: 16px;
}

.sh-settings-form {
  margin-top: 16px;
}

.sh-settings-hint {
  font-size: 12px;
  color: #9ca3af;
  margin: 8px 0 0;
}

.sh-settings-code-wrap {
  display: flex;
  gap: 12px;
  align-items: center;
}

.sh-settings-code-input {
  flex: 1;
  max-width: 160px;
  padding: 10px 14px;
  font-size: 18px;
  font-weight: 600;
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
  text-align: center;
  letter-spacing: 6px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.sh-settings-code-input:focus {
  outline: none;
  border-color: #004c54;
  box-shadow: 0 0 0 3px rgba(0, 76, 84, 0.1);
}

.sh-settings-code-input::placeholder {
  color: #d1d5db;
}

.sh-settings-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  color: #6b7280;
  font-size: 13px;
}

.sh-spinner-sm {
  width: 18px;
  height: 18px;
  border: 2px solid #e5e7eb;
  border-top-color: #004c54;
  border-radius: 50%;
  animation: sh-spin 0.8s linear infinite;
}

.sh-settings-error {
  padding: 10px 14px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #dc2626;
  font-size: 13px;
  margin-top: 12px;
}

.btn-link {
  background: none;
  border: none;
  color: #6b7280;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  margin-top: 12px;
}

.btn-link:hover {
  color: #004c54;
  text-decoration: underline;
}

/* ============================================
   BULK PROGRESS MODAL
   ============================================ */

.progress-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.progress-modal-content {
  background: #ffffff;
  border-radius: 16px;
  width: 90%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: sh-modal-appear 0.3s ease;
}

.progress-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid #e5e7eb;
}

.progress-modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
}

.progress-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: #9ca3af;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.progress-close-btn:hover {
  color: #6b7280;
}

.progress-modal-body {
  padding: 24px;
}

.progress-section {
  margin-bottom: 20px;
}

.progress-section:last-child {
  margin-bottom: 0;
}

.progress-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-weight: 500;
  color: #374151;
}

.progress-bar-wrap {
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 6px;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #1db99a, #004c54);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.progress-text {
  font-size: 12px;
  color: #6b7280;
}

.progress-results {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.progress-results h4 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

.results-section {
  margin-bottom: 8px;
  font-size: 13px;
}

.progress-modal-footer {
  padding: 16px 24px 20px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: flex-end;
}

/* ============================================
   CONTACT FINDER LIST VIEW
   ============================================ */

.cf-list-container {
  max-width: 100%;
}

.cf-header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cf-view-toggle {
  display: flex;
  gap: 4px;
  background: #f3f4f6;
  border-radius: 8px;
  padding: 4px;
}

.cf-view-btn {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.cf-view-btn:hover {
  color: #374151;
  background: rgba(0, 0, 0, 0.05);
  text-decoration: none;
}

.cf-view-btn.active {
  background: #ffffff;
  color: #004c54;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.cf-list-table {
  width: 100%;
}

.cf-list-table .col-curator {
  width: 200px;
}

.cf-list-table .col-difficulty {
  width: 100px;
}

.cf-list-table .col-ai-search {
  width: 140px;
}

.cf-list-table .col-actions {
  width: 100px;
}

.cf-curator-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cf-list-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.cf-list-avatar-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #6b7280;
  font-size: 14px;
}

.cf-curator-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cf-curator-name {
  font-weight: 500;
  color: #1f2937;
  font-size: 13px;
}

.cf-spotify-link-small {
  font-size: 11px;
  color: #6b7280;
}

.cf-spotify-link-small:hover {
  color: #004c54;
}

.cf-search-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cf-search-row-btn {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  color: #ffffff;
  background: linear-gradient(135deg, #E1306C 0%, #C13584 100%);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cf-search-row-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(225, 48, 108, 0.3);
}

.cf-search-row-btn.cf-error-btn {
  background: #ef4444;
}

.cf-search-loading {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 12px;
}

.cf-spinner-small {
  width: 16px;
  height: 16px;
  border: 2px solid #e5e7eb;
  border-top-color: #E1306C;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.cf-no-results {
  color: #9ca3af;
  font-size: 12px;
  font-style: italic;
}

.cf-results-toggle {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  color: #004c54;
  background: #ecfdf5;
  border: 1px solid #10b981;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cf-results-toggle:hover {
  background: #d1fae5;
}

.cf-toggle-arrow {
  font-size: 10px;
  margin-left: 4px;
}

.cf-row-actions {
  display: flex;
  gap: 8px;
}

/* Results Row Expansion */
.cf-results-row {
  background: #f9fafb;
}

.cf-results-row > td {
  padding: 16px 20px;
  border-top: 1px dashed #e5e7eb;
}

.cf-inline-results {
  background: #ffffff;
  border-radius: 8px;
  padding: 16px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.cf-results-grid-inline {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.cf-result-card-inline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.cf-result-card-inline:hover {
  border-color: #004c54;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.cf-result-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.cf-result-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cf-result-username {
  font-weight: 600;
  color: #E1306C;
  font-size: 13px;
  text-decoration: none;
}

.cf-result-username:hover {
  text-decoration: underline;
}

.cf-result-fullname {
  font-size: 12px;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cf-result-followers {
  font-size: 11px;
  color: #9ca3af;
}

.cf-match-score {
  font-size: 11px;
  font-weight: 600;
  color: #10b981;
  background: #ecfdf5;
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 2px;
  display: inline-block;
}

.cf-select-btn {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  background: #004c54;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.cf-select-btn:hover {
  background: #003d44;
  transform: translateY(-1px);
}

/* Toast notification */
.cf-toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 12px 24px;
  background: #1f2937;
  color: #ffffff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  opacity: 0;
  transition: all 0.3s ease;
}

.cf-toast-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Small danger button */
.btn-danger-sm {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  color: #ffffff;
  background: #ef4444;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-danger-sm:hover {
  background: #dc2626;
}

/* ============================================
   ACTIVITY LOG / LOG HISTORY PAGE
   ============================================ */

.activity-log-table .col-time {
  width: 140px;
  white-space: nowrap;
}

.activity-log-table .col-action {
  width: 140px;
}

.log-time {
  font-size: 12px;
  color: #636e72;
}

.log-action-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.badge-check {
  background: #e8f5e9;
  color: #2e7d32;
}

.badge-contact {
  background: #e3f2fd;
  color: #1565c0;
}

.badge-archive {
  background: #fce4ec;
  color: #c62828;
}

.badge-import {
  background: #fff3e0;
  color: #e65100;
}

.badge-verified {
  background: #e0f2f1;
  color: #00695c;
}

.badge-read {
  background: #f3e5f5;
  color: #6a1b9a;
}

.badge-manual {
  background: #fff3e0;
  color: #e65100;
}

.badge-default {
  background: #f5f5f5;
  color: #616161;
}

.log-description {
  font-size: 13px;
  color: #2d3436;
}

.log-playlist-link {
  display: inline-block;
  margin-left: 8px;
  font-size: 12px;
  color: #1db99a;
  text-decoration: none;
}

.log-playlist-link:hover {
  text-decoration: underline;
}

.page-subtitle {
  font-size: 13px;
  color: #636e72;
  font-weight: 400;
  margin-left: 12px;
}

.empty-state {
  text-align: center;
  padding: 48px 20px;
  color: #636e72;
  font-size: 14px;
}

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

.dash-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.dash-stat-card {
  text-align: center;
}

.dash-stat-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--spt-teal);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.dash-stat-label {
  font-size: 13px;
  color: var(--spt-text-secondary);
  margin-top: 4px;
  font-weight: 500;
}

.dash-stat-sub {
  font-size: 11px;
  color: var(--spt-text-muted);
  margin-top: 2px;
}

.dash-stat-stale .dash-stat-number {
  color: var(--spt-warning);
}

.dash-recheck-btn {
  margin-top: 10px;
}

.dash-recheck-result {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 6px;
}

.dash-recheck-success {
  background: #d1fae5;
  color: #065f46;
}

.dash-recheck-empty {
  background: #fef3c7;
  color: #92400e;
}

.dash-recheck-error {
  background: #fee2e2;
  color: #991b1b;
}

.dash-breakdown-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.dash-breakdown-card {
  /* inherits from .spt-card-padded in the view */
}

.dash-breakdown-title {
  font-size: 14px;
  font-weight: 600;
  color: #2d3436;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dash-view-all-link {
  font-size: 12px;
  font-weight: 400;
  color: #004c54;
}

.dash-status-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash-status-row {
  display: grid;
  grid-template-columns: 24px 80px 50px 1fr 50px;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.dash-status-icon {
  font-size: 12px;
  text-align: center;
}

.dash-status-name {
  color: var(--spt-text);
}

.dash-status-count {
  font-weight: 600;
  color: var(--spt-text);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.dash-status-bar-wrap {
  height: 8px;
  background: var(--spt-bg);
  border-radius: 4px;
  overflow: hidden;
}

.dash-status-bar {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s ease;
}

.dash-bar-active, .dash-bar-passed { background: var(--spt-mint); }
.dash-bar-inactive { background: var(--spt-error); }
.dash-bar-botted { background: #d63031; }
.dash-bar-payola { background: var(--spt-warning); }
.dash-bar-unsafe { background: #fdcb6e; }
.dash-bar-unchecked { background: var(--spt-text-muted); }
.dash-bar-error { background: var(--spt-error); }

.dash-status-pct {
  font-size: 12px;
  color: var(--spt-text-secondary);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.dash-contact-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dash-contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--spt-border-light);
}

.dash-contact-row:last-child {
  border-bottom: none;
}

.dash-contact-label {
  font-size: 13px;
  color: var(--spt-text-secondary);
}

.dash-contact-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--spt-text);
  font-variant-numeric: tabular-nums;
}

.dash-activity-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-activity-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--spt-border-light);
  font-size: 12px;
}

.dash-activity-item:last-child {
  border-bottom: none;
}

.dash-activity-desc {
  flex: 1;
  color: var(--spt-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-activity-time {
  color: var(--spt-text-muted);
  font-size: 11px;
  white-space: nowrap;
}

.dash-activity-empty {
  text-align: center;
  color: var(--spt-text-muted);
  padding: 20px;
  font-size: 13px;
}

.master-form-hint {
  display: block;
  font-size: 11px;
  color: #b2bec3;
  margin-top: 4px;
}

.status-stale {
  color: #d35400;
}

/* Dashboard responsive */
@media (max-width: 768px) {
  .dash-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .dash-breakdown-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   REAL-TIME BELL (ActionCable)
   ============================================ */

.bell-live-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  background: #00b894;
  border-radius: 50%;
  display: none;
  animation: bell-pulse 1.5s ease-in-out infinite;
}

@keyframes bell-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.bell-dropdown-item-new {
  animation: bell-item-flash 1s ease;
  background: #f0fdf4;
}

@keyframes bell-item-flash {
  0% { background: #d1fae5; }
  100% { background: #f0fdf4; }
}

.bell-toast {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  min-width: 260px;
  max-width: 380px;
  animation: toast-slide-in 0.3s ease;
  pointer-events: auto;
}

.bell-toast-desc {
  flex: 1;
  color: #2d3436;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bell-toast-out {
  animation: toast-fade-out 0.3s ease forwards;
}

@keyframes toast-fade-out {
  to { opacity: 0; transform: translateX(20px); }
}

/* ============================================
   CONTACT FINDER READ FILTER
   ============================================ */

.cf-filter-divider {
  color: #b2bec3;
  margin: 0 4px;
  align-self: center;
}

.cf-read-select {
  padding: 6px 12px;
  border: 1px solid var(--spt-border);
  border-radius: var(--spt-radius-input);
  font-size: 12px;
  color: var(--spt-text);
  background: var(--spt-bg-white);
  cursor: pointer;
  font-family: var(--spt-font);
}

.cf-read-select:focus {
  outline: none;
  border-color: var(--spt-teal);
  box-shadow: 0 0 0 3px rgba(0, 76, 84, 0.08);
}

.cf-auto-status {
  font-size: 11px;
  color: #00b894;
  font-weight: 500;
}

.badge-auto {
  background: #6c5ce7;
  color: white;
}

/* Pending Review rows */
/* Right-align numeric columns */
.spt-table th.col-followers,
.spt-table td.col-followers,
.spt-table th.col-ai-score,
.spt-table td.col-ai-score { text-align: right; }

.cf-pending-row {
  background: #fdf6e3;
}
.cf-pending-row:hover {
  background: #fdf0d0;
}
/* Tier C No Match rows */
.cf-tier-c-row {
  background: #f0f4f8;
}
.cf-tier-c-row:hover {
  background: #e3eaf2;
}
/* No-Results Banner */
.cf-no-results-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  margin-bottom: 12px;
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 8px;
  font-size: 13px;
  color: #664d03;
}
.cf-no-results-banner-text {
  flex: 1;
}
.col-ai-score { width: 70px; text-align: center; }
.cf-score-badge {
  display: inline-block;
  background: #00b894;
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
}
.cf-score-badge small {
  font-weight: 400;
  opacity: 0.9;
}
/* Score type colors */
.cf-score-badge.cf-score-image { background: #00b894; }
.cf-score-badge.cf-score-name { background: #0984e3; }
.cf-match-score.cf-score-image { background: #00b894; color: #fff; padding: 1px 6px; border-radius: 8px; font-size: 11px; }
.cf-match-score.cf-score-name { background: #0984e3; color: #fff; padding: 1px 6px; border-radius: 8px; font-size: 11px; }
.cf-score-na {
  color: #aaa;
  font-size: 12px;
}
.cf-match-score-inline {
  display: inline-block;
  background: #00b894;
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 10px;
  margin-right: 4px;
}
.cf-has-results {
  font-weight: 600;
}
.btn-ghost-sm {
  background: none;
  border: 1px solid #ccc;
  color: #666;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  cursor: pointer;
  margin-right: 4px;
}
.btn-ghost-sm:hover {
  background: #f0f0f0;
  color: #333;
}

/* ============================================
   TASKS & DEPARTMENT BADGES
   ============================================ */

.data-space {
  max-width: 100%;
}

.task-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.task-page-title {
  font-size: 20px;
  font-weight: 600;
  color: #2d3436;
  margin: 0;
}

.task-filters {
  margin-bottom: 16px;
}

.task-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.task-filter-btn {
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--spt-border);
  border-radius: var(--spt-radius-pill);
  background: var(--spt-bg-white);
  color: var(--spt-text-secondary);
  cursor: pointer;
  transition: all 150ms ease;
  text-decoration: none;
}

.task-filter-btn:hover {
  border-color: var(--spt-teal);
  color: var(--spt-teal);
  text-decoration: none;
}

.task-filter-btn.active {
  background: var(--spt-teal);
  color: #ffffff;
  border-color: var(--spt-teal);
}

/* Task list */
.task-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.task-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--spt-bg-white);
  border: 1px solid var(--spt-border);
  border-radius: var(--spt-radius-card);
  transition: all 150ms ease;
}

.task-card:hover {
  border-color: var(--spt-teal);
  box-shadow: var(--spt-shadow-hover);
}

.task-card-left {
  flex-shrink: 0;
  padding-top: 2px;
}

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

.task-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.task-title-link {
  font-weight: 500;
  color: var(--spt-text);
  text-decoration: none;
  font-size: 14px;
}

.task-title-link:hover {
  color: var(--spt-teal);
  text-decoration: underline;
}

.task-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--spt-text-secondary);
}

.task-card-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Task check button */
.task-check-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--spt-border);
  background: var(--spt-bg-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 150ms ease;
  padding: 0;
}

.task-check-btn:hover {
  border-color: var(--spt-mint);
  background: var(--spt-mint-light);
}

.task-check-done {
  border-color: var(--spt-mint);
  background: var(--spt-mint);
  color: #ffffff;
}

.task-completed {
  opacity: 0.55;
}

.task-completed .task-title-link {
  text-decoration: line-through;
  color: var(--spt-text-secondary);
}

.task-overdue {
  border-left: 3px solid var(--spt-error);
}

/* Department badges */
.dept-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.dept-pr {
  background: #dbeafe;
  color: #1e40af;
}

.dept-brand_management {
  background: #ede9fe;
  color: #6d28d9;
}

.dept-playlisting {
  background: #d1fae5;
  color: #065f46;
}

.dept-artist_development {
  background: #ffedd5;
  color: #c2410c;
}

/* Priority badges */
.priority-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

.priority-high {
  background: #fee2e2;
  color: #991b1b;
}

.priority-overdue {
  background: #fee2e2;
  color: #991b1b;
}

.priority-medium {
  background: #fef3c7;
  color: #92400e;
}

.priority-low {
  background: #e5e7eb;
  color: #374151;
}

.priority-normal {
  background: #e5e7eb;
  color: #374151;
}

/* Task status badges */
.task-status-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

.task-status-pending {
  background: #fef3c7;
  color: #92400e;
}

.task-status-in_progress {
  background: #dbeafe;
  color: #1e40af;
}

.task-status-completed {
  background: #d1fae5;
  color: #065f46;
}

/* Task detail grid */
.task-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #f0f2f5;
}

.task-detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.task-detail-label {
  font-size: 11px;
  font-weight: 600;
  color: #636e72;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Task form */
.task-form {
  max-width: 600px;
}

.task-form-field {
  margin-bottom: 16px;
}

.task-form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #2d3436;
  margin-bottom: 4px;
}

.task-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.task-form-actions {
  margin-top: 20px;
  display: flex;
  gap: 8px;
}

.task-form-errors {
  background: #fee2e2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
  color: #991b1b;
  font-size: 13px;
}

/* Task notes */
.task-notes-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.task-note {
  padding: 10px 0;
  border-bottom: 1px solid #f0f2f5;
}

.task-note:last-child {
  border-bottom: none;
}

.task-note-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 13px;
}

.task-note-time {
  font-size: 12px;
  color: #b2bec3;
}

.task-note-content {
  font-size: 13px;
  color: #2d3436;
  margin: 0;
  line-height: 1.5;
}

/* Task empty state */
.task-empty {
  text-align: center;
  padding: 48px 20px;
  color: #636e72;
  font-size: 14px;
}

/* Contact finder input (reused in task notes) */
.cf-input {
  padding: 8px 12px;
  border: 1px solid #dfe6e9;
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
  color: #2d3436;
  background: #ffffff;
}

.cf-input:focus {
  outline: none;
  border-color: #004c54;
  box-shadow: 0 0 0 2px rgba(0, 76, 84, 0.1);
}

/* Danger button (small) for task delete */
.btn-danger {
  background: #ef4444;
  color: #ffffff;
  border: none;
}

.btn-danger:hover {
  background: #dc2626;
  color: #ffffff;
  text-decoration: none;
}

/* Users table styles */
.user-role-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.role-admin {
  background: #fee2e2;
  color: #991b1b;
}

.role-senior_staff {
  background: #dbeafe;
  color: #1e40af;
}

.role-intern {
  background: #fef3c7;
  color: #92400e;
}

.user-status-active {
  color: #059669;
  font-weight: 500;
}

.user-status-inactive {
  color: #dc2626;
  font-weight: 500;
}

.user-access-badges {
  display: flex;
  gap: 4px;
}

.access-badge {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 600;
  background: #d1fae5;
  color: #065f46;
}

/* ============================================
   GLOBAL SMART SEARCH BANNER
   ============================================ */

.gs-banner {
  margin: 0 20px 12px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: 8px;
  overflow: hidden;
}

.gs-banner-done {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.gs-banner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  gap: 12px;
}

.gs-banner-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #1e1b4b;
  flex-wrap: wrap;
  min-width: 0;
}

.gs-banner-done .gs-banner-info {
  color: #6b7280;
}

.gs-banner-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: gs-pulse 1.5s ease-in-out infinite;
}

.gs-banner-done .gs-banner-pulse {
  background: #9ca3af;
  animation: none;
}

@keyframes gs-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.gs-banner-stats {
  color: #4338ca;
  font-weight: 500;
}

.gs-banner-done .gs-banner-stats {
  color: #6b7280;
}

.gs-banner-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.gs-toggle-btn {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  color: #4338ca;
  background: transparent;
  border: 1px solid #a5b4fc;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.gs-toggle-btn:hover {
  background: #e0e7ff;
}

.gs-stop-btn {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: #dc2626;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.gs-stop-btn:hover {
  background: #b91c1c;
}

.gs-progress-bar-wrap {
  height: 3px;
  background: #c7d2fe;
}

.gs-progress-bar {
  height: 100%;
  background: #4f46e5;
  transition: width 0.5s ease;
}

.gs-banner-done .gs-progress-bar-wrap {
  background: #e5e7eb;
}

.gs-banner-done .gs-progress-bar {
  background: #9ca3af;
}

.gs-feed {
  border-top: 1px solid #c7d2fe;
  padding: 12px 16px;
  background: #f5f7ff;
}

.gs-banner-done .gs-feed {
  border-top-color: #d1d5db;
  background: #f9fafb;
}

.gs-feed-status {
  font-size: 12px;
  color: #636e72;
  margin-bottom: 8px;
}

.gs-feed-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.gs-feed-table th {
  text-align: left;
  font-weight: 600;
  color: #636e72;
  padding: 4px 8px;
  border-bottom: 1px solid #d1d5db;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.gs-feed-table td {
  padding: 6px 8px;
  border-bottom: 1px solid #e5e7eb;
  color: #2d3436;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gs-score {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 11px;
}

.gs-score-high {
  background: #d1fae5;
  color: #065f46;
}

.gs-score-mid {
  background: #fef3c7;
  color: #92400e;
}

.gs-score-low {
  background: #fee2e2;
  color: #991b1b;
}

.gs-badge {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 600;
}

.gs-badge-good {
  background: #d1fae5;
  color: #065f46;
}

.gs-badge-bad {
  background: #fee2e2;
  color: #991b1b;
}

.gs-badge-pending {
  background: #f3f4f6;
  color: #6b7280;
}

@media (max-width: 768px) {
  .gs-banner-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .gs-feed-table th:nth-child(n+4),
  .gs-feed-table td:nth-child(n+4) {
    display: none;
  }
}
