/* Oralink Core Lead Mailer Styling */
:root {
  --bg-main: #0b1220;
  --bg-card: #121a2b;
  --border: #243049;
  --text-main: #e8eefc;
  --text-muted: #9aa8c7;
  --accent: #3b82f6;
  --accent-cyan: #06b6d4;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
}

.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.875rem;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
}

.sidebar-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 0.5rem;
  transition: all 0.15s ease;
  text-align: left;
}

.sidebar-btn:hover {
  background-color: #1a253a;
  color: var(--text-main);
}

.sidebar-btn.active {
  background-color: rgba(6, 182, 212, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.25);
  font-weight: 600;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: #1a253a;
  color: var(--text-main);
  border: 1px solid var(--border);
  padding: 0.5rem 0.875rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: all 0.15s;
}

.btn-secondary:hover {
  background-color: #24324d;
}

.input-text {
  background-color: #0b1220;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  color: var(--text-main);
  padding: 0.5rem 0.75rem;
  outline: none;
  transition: border-color 0.15s;
}

.input-text:focus {
  border-color: var(--accent-cyan);
}

.label-text {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.badge-active {
  background-color: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge-disabled {
  background-color: rgba(244, 63, 94, 0.12);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.25);
}

.badge-exhausted {
  background-color: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 1rem;
}

.modal-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  width: 100%;
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.6);
}
