:root {
  --bg: #f5f7fa;
  --card: #ffffff;
  --primary: #4CAF50;
  --primary-hover: #43a047;
  --secondary: #1976d2;
  --text: #333333;
  --text-dim: #666666;
  --border: #e0e0e0;
  --green: #2e7d32;
  --amber: #f57c00;
  --red: #c62828;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  --radius: 8px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header & Navigation */
.header {
  background: var(--card);
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  z-index: 1000;
}

.header h1 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
  letter-spacing: -0.02em;
}

.nav-tabs {
  display: flex;
  gap: 4px;
  margin-left: 24px;
}

.nav-link {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  text-decoration: none;
  transition: all 0.2s;
}

.nav-link:hover {
  background: rgba(0, 0, 0, 0.03);
  color: var(--text);
}

.nav-link.active {
  background: var(--bg);
  color: var(--secondary);
  font-weight: 600;
}

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

.upload-btn,
.demo-btn {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
}

.upload-btn {
  background: #4CAF50;
  color: white;
  border: none;
}

.upload-btn:hover {
  background: #43a047;
}

.demo-btn {
  background: #fff;
  color: #666;
  border: 1px solid #ddd;
}

.demo-btn:hover {
  background: #f5f5f5;
}

.rule-link {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #2e7d32;
  text-decoration: none;
  border: 1px solid #c8e6c9;
  background: #e8f5e9;
  transition: all 0.15s;
}

.rule-link:hover {
  background: #c8e6c9;
}

/* Stats Bar */
.stats-bar {
  background: #fff;
  padding: 16px 24px;
  display: flex;
  gap: 32px;
  border-bottom: 1px solid #e0e0e0;
}

.stat {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.stat.approved .stat-icon {
  background: #e8f5e9;
  color: #2e7d32;
}

.stat.pending .stat-icon {
  background: #fff3e0;
  color: #f57c00;
}

.stat.rejected .stat-icon {
  background: #ffebee;
  color: #c62828;
}

.stat.total .stat-icon {
  background: #e3f2fd;
  color: #1565c0;
}

.stat-count {
  font-size: 20px;
  font-weight: 600;
}

.stat-label {
  font-size: 13px;
  color: #666;
}

/* Drop Zone */
.drop-zone {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 24px;
  border: 2px dashed #ccc;
  border-radius: 12px;
  background: #fff;
  transition: all 0.2s;
}

.drop-zone.dragover {
  border-color: #4CAF50;
  background: #f1f8e9;
}

.drop-content {
  text-align: center;
  color: #888;
}

.drop-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 12px;
}

.drop-hint {
  font-size: 13px;
  margin-top: 8px;
  color: #aaa;
}

/* Main Content - Side by Side Layout */
.main-content {
  flex: 1;
  display: flex;
  gap: 24px;
  padding: 24px;
  overflow: visible;
}

.table-section {
  flex: 1;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  overflow: auto;
}

/* Phone Preview Section */
.phone-preview-section {
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: sticky;
  top: 24px;
  height: fit-content;
}

.phone-frame {
  width: 280px;
  height: 560px;
  background: #1a1a1a;
  border-radius: 36px;
  padding: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.phone-notch {
  width: 100px;
  height: 24px;
  background: #1a1a1a;
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.phone-screen {
  background: #fff;
  border-radius: 28px;
  height: calc(100% - 20px);
  overflow: hidden;
  position: relative;
  margin-top: -12px;
}

.phone-home-bar {
  width: 100px;
  height: 4px;
  background: #666;
  border-radius: 2px;
  margin: 8px auto 0;
}

.preview-label {
  margin-top: 12px;
  font-size: 12px;
  color: #888;
}

/* Phone Placeholder */
.phone-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #aaa;
}

.placeholder-icon {
  font-size: 48px;
  opacity: 0.5;
  margin-bottom: 12px;
}

/* Phone Content */
.phone-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.preview-carousel {
  background: #f8f9fa;
  padding: 16px;
  text-align: center;
}

.preview-carousel img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
}

.carousel-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: #e0e0e0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 10px;
  transition: background 0.15s;
}

.carousel-btn:hover {
  background: #d0d0d0;
}

#img-counter {
  font-size: 12px;
  color: #666;
}

/* Preview Info */
.preview-info {
  padding: 16px;
  flex: 1;
  overflow-y: auto;
}

.preview-info h3 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
  margin-bottom: 8px;
}

.preview-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.preview-price {
  font-size: 20px;
  font-weight: 700;
  color: #333;
}

.preview-mrp {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
}

.preview-discount {
  font-size: 11px;
  background: #e8f5e9;
  color: #2e7d32;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.preview-veg {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #2e7d32;
  font-weight: 500;
  margin-bottom: 12px;
}

.veg-dot {
  width: 16px;
  height: 16px;
  border: 2px solid #2e7d32;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.veg-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  background: #2e7d32;
  border-radius: 50%;
}

.preview-veg.non-veg .veg-dot {
  border-color: #c62828;
}

.preview-veg.non-veg .veg-dot::after {
  background: #c62828;
}

.preview-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 8px;
}

.preview-readmore {
  background: none;
  border: none;
  color: #1976d2;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
}

/* Add to Cart Button */
.preview-cart-btn {
  width: calc(100% - 32px);
  margin: 0 16px 16px;
  padding: 12px;
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.preview-cart-btn:hover {
  background: #43a047;
}

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

.products-table th {
  background: #fafafa;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  color: #666;
  border-bottom: 1px solid #e0e0e0;
}

.products-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}

.products-table tbody tr {
  cursor: pointer;
  transition: background 0.1s;
}

.products-table tbody tr:hover {
  background: #f8f9fa;
}

.products-table tbody tr.selected {
  background: #e3f2fd;
}

.products-table tbody tr.expanded {
  background: #fafafa;
}

/* Status Pills */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.status-pill.green {
  background: #e8f5e9;
  color: #2e7d32;
}

.status-pill.amber {
  background: #fff3e0;
  color: #e65100;
}

.status-pill.red {
  background: #ffebee;
  color: #c62828;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 8px;
}

.action-btn {
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s;
}

.action-btn.approve {
  background: #e8f5e9;
  color: #2e7d32;
}

.action-btn.approve:hover {
  background: #c8e6c9;
}

.action-btn.reject {
  background: #ffebee;
  color: #c62828;
}

.action-btn.reject:hover {
  background: #ffcdd2;
}

.action-btn.share {
  background: #e3f2fd;
  color: #1565c0;
}

.action-btn.share:hover {
  background: #bbdefb;
}

.action-btn.flag {
  background: #fff3e0;
  color: #e65100;
}

/* Expanded Row - Audit Details */
.audit-details {
  padding: 20px 24px;
  background: #fafafa;
  border-bottom: 1px solid #e0e0e0;
}

.audit-details h4 {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
}

/* Product Context Section */
.product-context {
  margin-bottom: 20px;
  padding: 16px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.context-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

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

.context-label {
  font-size: 11px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
}

.context-value {
  font-size: 14px;
  color: #333;
  line-height: 1.4;
}

/* Issues Section */
.issues-section {
  margin-bottom: 20px;
}

/* Vendor Images Section */
.vendor-images-section {
  margin-bottom: 20px;
  padding: 16px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.image-gallery {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.gallery-img-container {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border: 1px solid #eee;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.15s;
}

.gallery-img-container:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gallery-img-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fdfdfd;
}

.img-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  text-align: center;
}

.issue-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.issue-card {
  background: #fff;
  border-radius: 8px;
  border-left: 4px solid #ccc;
  overflow: hidden;
}

.issue-card.red {
  border-left-color: #c62828;
}

.issue-card.amber {
  border-left-color: #f57c00;
}

.issue-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #f8f9fa;
  border-bottom: 1px solid #eee;
}

.issue-icon {
  font-size: 14px;
}

.issue-title {
  font-weight: 600;
  font-size: 14px;
  flex: 1;
}

.issue-agent {
  font-size: 11px;
  color: #888;
  background: #eee;
  padding: 2px 8px;
  border-radius: 10px;
}

.issue-body {
  padding: 12px 16px;
}

.issue-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  align-items: flex-start;
}

.issue-label {
  font-size: 12px;
  font-weight: 600;
  color: #666;
  min-width: 80px;
}

.issue-content {
  font-size: 13px;
  color: #333;
  flex: 1;
  line-height: 1.4;
}

.issue-row.problem .issue-content {
  color: #c62828;
  font-weight: 500;
}

.issue-row.fix .issue-content {
  color: #2e7d32;
  background: #e8f5e9;
  padding: 6px 10px;
  border-radius: 4px;
}

.apply-fix-btn {
  padding: 4px 12px;
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.15s;
}

.apply-fix-btn:hover {
  background: #43a047;
}

.issue-confidence {
  font-size: 11px;
  color: #888;
  margin-top: 8px;
}

/* Passed Checks Section */
.passed-section h4 {
  color: #2e7d32;
}

.passed-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.passed-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: #e8f5e9;
  color: #2e7d32;
  border-radius: 12px;
  font-size: 12px;
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 1;
  transition: opacity 0.2s;
}

.modal.hidden {
  display: none;
  opacity: 0;
}

.modal-content {
  background: #fff;
  border-radius: 12px;
  width: 600px;
  max-width: 90%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: modal-slide-in 0.3s ease-out;
}

@keyframes modal-slide-in {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

.modal-header h2 {
  font-size: 18px;
  font-weight: 600;
}

.close-modal {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #888;
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
}

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.15s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #5c2d91;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.cancel-btn {
  padding: 8px 20px;
  background: #eee;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
}

.send-email-btn {
  padding: 8px 20px;
  background: #5c2d91;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.send-email-btn:hover {
  background: #4a2475;
}

.review-email-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #fff;
  color: #5c2d91;
  border: 1px solid #5c2d91;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.review-email-btn:hover {
  background: #fdfaf0;
  border-color: #4a2475;
  color: #4a2475;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

kbd {
  background: #f0f0f0;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: monospace;
  font-size: 11px;
  margin-right: 4px;
}

/* Loading */
.loading {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 100;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #e0e0e0;
  border-top-color: #4CAF50;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 101;
  animation: fadeIn 0.2s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Utilities */
.hidden {
  display: none !important;
}

/* Activity Monitor */
/* Activity Monitor Flat */
.activity-monitor-flat {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 60%;
  overflow: hidden;
  font-family: 'Fira Code', 'Courier New', monospace;
}

.activity-monitor-flat .monitor-status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #4cd137;
  font-size: 0.65rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Removed old monitor sections */

.status-dot {
  width: 6px;
  height: 6px;
  background: #4cd137;
  border-radius: 50%;
  box-shadow: 0 0 8px #4cd137;
  animation: pulse 1.5s infinite;
}

.monitor-logs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
  max-height: 20px;
}

.log-entry {
  font-size: 0.7rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: fadeIn 0.3s ease;
}

.log-entry.system {
  color: #888;
}

.log-entry.agent-start {
  color: #fbc531;
}

.log-entry.agent-stop {
  color: #487eb0;
}

.log-entry.success {
  color: #4cd137;
}

.log-entry.warning {
  color: #e1b12c;
}

.log-entry.error {
  color: #e84118;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scrollbar for monitor */
.monitor-logs::-webkit-scrollbar {
  width: 6px;
}

.monitor-logs::-webkit-scrollbar-track {
  background: transparent;
}

.monitor-logs::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

/* Reset Button */
.reset-btn {
  background: transparent;
  border: 1px solid #ff4d4d;
  color: #ff4d4d;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin-left: 10px;
}

.reset-btn:hover {
  background: #ff4d4d;
  color: white;
  box-shadow: 0 0 15px rgba(255, 77, 77, 0.4);
}

/* AI Audit Button */
.ai-audit-btn {
  background: linear-gradient(135deg, #5c2d91 0%, #a259ff 100%);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(92, 45, 145, 0.3);
}

.ai-audit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(162, 89, 255, 0.4);
  filter: brightness(1.1);
}

.ai-audit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  filter: grayscale(0.5);
}

.sparkle {
  animation: shine 2s infinite;
}

@keyframes shine {
  0% {
    opacity: 0.5;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
  }

  100% {
    opacity: 0.5;
    transform: scale(1);
  }
}

.spinner {
  display: inline-block;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* 4-Section Validation Panel Styles */
.validation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.validation-section {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  transition: box-shadow 0.2s;
}

.validation-section:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.validation-header {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 3px solid transparent;
  /* Accent border */
}

/* Accent Borders instead of full backgrounds */
.validation-header.data-val {
  border-top-color: #1565C0;
}

.validation-header.img-edit {
  border-top-color: #7B1FA2;
}

.validation-header.qc {
  border-top-color: #2E7D32;
}

.validation-header.audit {
  border-top-color: #E65100;
}

/* Icon colors matching accents */
.validation-header.data-val span:first-child {
  color: #1565C0;
}

.validation-header.img-edit span:first-child {
  color: #7B1FA2;
}

.validation-header.qc span:first-child {
  color: #2E7D32;
}

.validation-header.audit span:first-child {
  color: #E65100;
}

.section-body {
  padding: 12px;
  flex: 1;
  background: #fff;
}

.empty-state {
  font-style: italic;
  color: #999;
  font-size: 12px;
  text-align: center;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

/* Compact issue card for grid view */
.issue-card-compact {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 10px;
  margin-bottom: 8px;
  border-left: 3px solid #ccc;
  font-size: 12px;
  transition: transform 0.1s;
}

.issue-card-compact:hover {
  transform: translateX(2px);
  border-color: #ddd;
}

.issue-card-compact.red {
  border-left-color: #d32f2f;
  background: #fff5f5;
}

.issue-card-compact.amber {
  border-left-color: #f57c00;
  background: #fff8e1;
}

.issue-card-compact.green {
  border-left-color: #388e3c;
  background: #f1f8e9;
}

.issue-card-compact .issue-title {
  font-weight: 600;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #333;
}

.issue-card-compact .issue-msg {
  color: #555;
  margin-bottom: 6px;
  line-height: 1.4;
}

.issue-card-compact .issue-fix {
  color: #2e7d32;
  font-weight: 500;
  font-size: 11px;
  background: #e8f5e9;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}