/* Content Script Styling - Updated Color Scheme */

/* Color Variables */
:root {
  --critical-color: #B91C1C;
  --critical-bg: rgba(185, 28, 28, 0.12);
  --high-color: #DC2626;
  --high-bg: rgba(220, 38, 38, 0.12);
  --medium-color: #F59E0B;
  --medium-bg: rgba(245, 158, 11, 0.12);
  --low-color: #3B82F6;
  --low-bg: rgba(59, 130, 246, 0.12);
  --success-color: #22C55E;
  --success-bg: rgba(34, 197, 94, 0.12);
  --text-primary: #F1F5F9;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --bg-dark: #1E293B;
  --bg-card: #334155;
}

.berean-audit-btn {
  padding: 8px 14px;
  margin-top: 8px;
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(185, 28, 28, 0.3);
}

.berean-audit-btn:hover {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  box-shadow: 0 4px 12px rgba(185, 28, 28, 0.4);
  transform: translateY(-1px);
}

.berean-audit-btn:active {
  transform: translateY(0);
}

.berean-loading {
  padding: 14px;
  margin-top: 8px;
  background: linear-gradient(135deg, #334155 0%, #1E293B 100%);
  color: #93C5FD;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  border-left: 3px solid #3B82F6;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.berean-audit-results {
  margin-top: 12px;
  padding: 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, #334155 0%, #1E293B 100%);
  border-left: 4px solid #DC2626;
  font-size: 13px;
  line-height: 1.6;
  color: #E2E8F0;
}

.berean-audit-results > div:first-child {
  font-weight: 600;
  margin-bottom: 12px;
  color: #F1F5F9;
  font-size: 15px;
}

.berean-flag {
  margin-bottom: 12px;
  padding: 14px;
  border-radius: 8px;
  font-size: 13px;
  border-left: 4px solid;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.berean-flag.critical {
  border-left-color: #B91C1C;
  background: rgba(185, 28, 28, 0.12);
}

.berean-flag.high {
  border-left-color: #DC2626;
  background: rgba(220, 38, 38, 0.12);
}

.berean-flag.moderate,
.berean-flag.medium {
  border-left-color: #F59E0B;
  background: rgba(245, 158, 11, 0.12);
}

.berean-flag.note,
.berean-flag.low {
  border-left-color: #3B82F6;
  background: rgba(59, 130, 246, 0.12);
}

.berean-severity-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 10px;
  margin-right: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.berean-severity-badge.critical {
  background-color: #B91C1C;
  color: white;
}

.berean-severity-badge.high {
  background-color: #DC2626;
  color: white;
}

.berean-severity-badge.moderate,
.berean-severity-badge.medium {
  background-color: #F59E0B;
  color: white;
}

.berean-severity-badge.note,
.berean-severity-badge.low {
  background-color: #3B82F6;
  color: white;
}

.berean-point {
  font-weight: 600;
  margin-bottom: 6px;
  color: #F1F5F9;
  font-size: 14px;
}

.berean-concern {
  margin-bottom: 6px;
  color: #CBD5E1;
  line-height: 1.5;
}

.berean-scripture {
  margin-bottom: 8px;
  padding: 10px;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 6px;
  border: 1px solid rgba(34, 197, 94, 0.2);
  font-style: italic;
  color: #86EFAC;
}

.berean-explanation {
  color: #94A3B8;
  line-height: 1.5;
  font-size: 12px;
}

.berean-error {
  margin-top: 12px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(185, 28, 28, 0.15);
  border-left: 4px solid #B91C1C;
  color: #FECACA;
  font-size: 13px;
}

.berean-success {
  margin-top: 12px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(34, 197, 94, 0.12);
  border-left: 4px solid #22C55E;
  color: #86EFAC;
  font-size: 13px;
  font-weight: 600;
}

/* Watchman Badge Animation */
@keyframes watchman-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
