/* ============================================
   Comment Automation Dashboard Styles
   Using provided design system - NO GRADIENTS
   ============================================ */

/* Design System Variables */
:root {
  --background: oklch(0.9730 0.0133 286.1503);
  --foreground: oklch(0.3015 0.0572 282.4176);
  --card: oklch(1.0000 0 0);
  --card-foreground: oklch(0.3015 0.0572 282.4176);
  --popover: oklch(1.0000 0 0);
  --popover-foreground: oklch(0.3015 0.0572 282.4176);
  --primary: oklch(0.5417 0.1790 288.0332);
  --primary-foreground: oklch(1.0000 0 0);
  --secondary: oklch(0.9174 0.0435 292.6901);
  --secondary-foreground: oklch(0.4143 0.1039 288.1742);
  --muted: oklch(0.9580 0.0133 286.1454);
  --muted-foreground: oklch(0.5426 0.0465 284.7435);
  --accent: oklch(0.9221 0.0373 262.1410);
  --accent-foreground: oklch(0.3015 0.0572 282.4176);
  --destructive: oklch(0.6861 0.2061 14.9941);
  --destructive-foreground: oklch(1.0000 0 0);
  --border: oklch(0.9115 0.0216 285.9625);
  --input: oklch(0.9115 0.0216 285.9625);
  --ring: oklch(0.5417 0.1790 288.0332);
  --font-sans: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --radius: 0.5rem;
  --shadow: 0px 4px 10px 0px hsl(240 30% 25% / 0.12), 0px 1px 2px -1px hsl(240 30% 25% / 0.12);
  --shadow-md: 0px 4px 10px 0px hsl(240 30% 25% / 0.12), 0px 2px 4px -1px hsl(240 30% 25% / 0.12);
  --shadow-lg: 0px 4px 10px 0px hsl(240 30% 25% / 0.12), 0px 4px 6px -1px hsl(240 30% 25% / 0.12);
  --spacing: 0.25rem;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Navigation */
.nav {
  background-color: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo {
  color: var(--primary);
}

.nav-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
}

.nav-menu {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
  margin-right: 2rem;
}

.nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link:hover {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.nav-link.active {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: 9999px;
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Main Content */
.main-content {
  min-height: calc(100vh - 64px);
  padding: 2rem 0;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  display: none;
}

.section.active-section {
  display: block;
}

/* Page Header */
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 2rem;
}

.page-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.page-subtitle {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.page-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-sans);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  opacity: 0.9;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.btn-secondary:hover {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.813rem;
}

.btn-icon {
  width: 16px;
  height: 16px;
}

/* Form Controls */
.select {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
  background-color: var(--card);
  color: var(--foreground);
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.2s;
}

.select:hover {
  border-color: var(--ring);
}

.select:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 2px oklch(0.5417 0.1790 288.0332 / 0.2);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.textarea {
  width: 100%;
  padding: 0.75rem;
  font-size: 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--card);
  color: var(--foreground);
  font-family: var(--font-sans);
  resize: vertical;
  transition: all 0.2s;
}

.textarea:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 2px oklch(0.5417 0.1790 288.0332 / 0.2);
}

/* Cards */
.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.card-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.card-subtitle {
  font-size: 0.813rem;
  color: var(--muted-foreground);
}

.card-body {
  padding: 1.5rem;
}

.card-body.p-0 {
  padding: 0;
}

/* Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.metric-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: all 0.2s;
}

.metric-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.metric-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.metric-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.metric-icon {
  color: var(--primary);
  opacity: 0.6;
}

.metric-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.metric-change {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.813rem;
  font-weight: 500;
}

.metric-change.positive {
  color: oklch(0.60 0.15 145);
}

.metric-change.negative {
  color: var(--destructive);
}

.metric-change.neutral {
  color: var(--muted-foreground);
}

/* Classification Grid */
.classification-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}

.classification-item {
  padding: 1rem;
  background-color: var(--muted);
  border-radius: calc(var(--radius) - 2px);
  text-align: center;
}

.classification-label {
  font-size: 0.813rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-transform: capitalize;
  margin-bottom: 0.5rem;
}

.classification-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
}

/* Pages List */
.pages-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.page-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background-color: var(--accent);
  border-radius: calc(var(--radius) - 2px);
  transition: all 0.2s;
}

.page-item:hover {
  background-color: var(--secondary);
}

.page-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.page-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.page-status {
  display: flex;
  gap: 0.5rem;
}

.toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.813rem;
  color: var(--muted-foreground);
}

.toggle input[type="checkbox"] {
  width: 2.5rem;
  height: 1.25rem;
  appearance: none;
  background-color: var(--border);
  border-radius: 9999px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
}

.toggle input[type="checkbox"]:checked {
  background-color: var(--primary);
}

.toggle input[type="checkbox"]::before {
  content: '';
  position: absolute;
  width: 1rem;
  height: 1rem;
  background-color: var(--card);
  border-radius: 50%;
  top: 0.125rem;
  left: 0.125rem;
  transition: all 0.2s;
}

.toggle input[type="checkbox"]:checked::before {
  left: 1.25rem;
}

/* Table */
.table-container {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.table thead {
  background-color: var(--muted);
}

.table th {
  padding: 0.75rem 1rem;
  font-size: 0.813rem;
  font-weight: 600;
  color: var(--foreground);
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.table td {
  padding: 1rem;
  font-size: 0.875rem;
  color: var(--foreground);
  border-bottom: 1px solid var(--border);
}

.table tbody tr:hover {
  background-color: var(--accent);
}

.table tbody tr:last-child td {
  border-bottom: none;
}

.table-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
}

.pagination-info {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Status Badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: calc(var(--radius) - 2px);
  text-transform: capitalize;
}

.status-badge.new {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.status-badge.classified {
  background-color: oklch(0.85 0.05 265);
  color: oklch(0.40 0.12 265);
}

.status-badge.replied {
  background-color: oklch(0.88 0.08 145);
  color: oklch(0.35 0.15 145);
}

.status-badge.ignored {
  background-color: var(--muted);
  color: var(--muted-foreground);
}

/* Classification Badge */
.classification-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: calc(var(--radius) - 2px);
  text-transform: capitalize;
}

.classification-badge.lead {
  background-color: oklch(0.88 0.08 265);
  color: oklch(0.40 0.15 265);
}

.classification-badge.support {
  background-color: oklch(0.88 0.08 50);
  color: oklch(0.40 0.15 50);
}

.classification-badge.positive {
  background-color: oklch(0.88 0.08 145);
  color: oklch(0.35 0.15 145);
}

.classification-badge.negative {
  background-color: oklch(0.92 0.05 15);
  color: oklch(0.50 0.15 15);
}

.classification-badge.spam {
  background-color: var(--muted);
  color: var(--muted-foreground);
}

.classification-badge.hate {
  background-color: oklch(0.92 0.08 15);
  color: var(--destructive);
}

/* Sentiment Indicator */
.sentiment {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.813rem;
}

.sentiment-bar {
  width: 60px;
  height: 4px;
  background-color: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.sentiment-fill {
  height: 100%;
  transition: width 0.3s;
}

.sentiment-fill.positive {
  background-color: oklch(0.60 0.15 145);
}

.sentiment-fill.negative {
  background-color: var(--destructive);
}

/* Rules Grid */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.rule-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: all 0.2s;
}

.rule-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.rule-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.rule-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
}

.rule-priority {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  border-radius: calc(var(--radius) - 2px);
}

.rule-conditions {
  margin-bottom: 1rem;
  padding: 0.75rem;
  background-color: var(--muted);
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.813rem;
}

.rule-actions {
  margin-bottom: 1rem;
}

.rule-action-badge {
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 500;
  background-color: var(--accent);
  color: var(--accent-foreground);
  border-radius: calc(var(--radius) - 2px);
}

.rule-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.rule-stats {
  font-size: 0.813rem;
  color: var(--muted-foreground);
}

/* Review Queue */
.review-queue {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-item {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.review-comment {
  padding: 1rem;
  background-color: var(--muted);
  border-radius: calc(var(--radius) - 2px);
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.review-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.813rem;
  color: var(--muted-foreground);
}

.review-reply {
  padding: 1rem;
  background-color: var(--accent);
  border-radius: calc(var(--radius) - 2px);
  margin-bottom: 1rem;
}

.review-reply-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.review-reply-text {
  font-size: 0.875rem;
  color: var(--foreground);
}

.review-actions {
  display: flex;
  gap: 0.75rem;
}

/* Settings Grid */
.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 1.5rem;
}

/* Queue Stats */
.queue-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.queue-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background-color: var(--muted);
  border-radius: calc(var(--radius) - 2px);
}

.queue-stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.queue-stat-value {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
}

/* Responsive */
@media (max-width: 768px) {
  .page-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    display: none;
  }

  .settings-grid {
    grid-template-columns: 1fr;
  }
}

/* Modal Styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

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

.modal-content {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1001;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.modal-header h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--muted-foreground);
  cursor: pointer;
  padding: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.25rem;
  transition: all 0.2s;
}

.modal-close:hover {
  background: var(--muted);
  color: var(--foreground);
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  font-size: 0.875rem;
  background: var(--background);
  color: var(--foreground);
  transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 3px oklch(from var(--ring) l c h / 0.1);
}

.form-group small {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.form-group input[type="checkbox"] {
  margin-right: 0.5rem;
}

/* ============================================
   PERMISSION BADGES - For Facebook App Review
   Shows which Facebook API permission is being used
   ============================================ */

.permission-info-container {
  background: linear-gradient(135deg, oklch(0.95 0.02 280) 0%, oklch(0.97 0.01 280) 100%);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.permission-info-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
}

.permission-info-header svg {
  width: 16px;
  height: 16px;
}

.permission-badges {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.permission-badge {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
  box-shadow: var(--shadow);
}

.permission-badge-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.permission-badge-content {
  flex: 1;
}

.permission-badge-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.permission-badge-name {
  font-family: 'Courier New', monospace;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  background-color: oklch(from var(--primary) l c h / 0.1);
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
}

.permission-badge-description {
  font-size: 0.875rem;
  color: var(--foreground);
  line-height: 1.5;
}

.permission-badge-usage {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
  font-style: italic;
}

/* Single inline permission badge (smaller version) */
.permission-inline-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  background-color: oklch(from var(--primary) l c h / 0.1);
  border: 1px solid oklch(from var(--primary) l c h / 0.3);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary);
}

.permission-inline-badge-icon {
  font-size: 0.875rem;
}

/* Permission explanation page styles */
.permissions-explainer {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
}

.permissions-explainer-header {
  text-align: center;
  margin-bottom: 3rem;
}

.permissions-explainer-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.permissions-explainer-header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.permissions-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.permission-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all 0.2s;
}

.permission-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.permission-card-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.permission-card-content {
  flex: 1;
}

.permission-card-title {
  font-family: 'Courier New', monospace;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.permission-card-description {
  font-size: 0.9375rem;
  color: var(--foreground);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.permission-card-usage {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  font-style: italic;
}

.permissions-cta {
  text-align: center;
  padding: 2rem 0;
}

.permissions-cta-button {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: all 0.2s;
}

.permissions-cta-button:hover {
  opacity: 0.9;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

/* API Status Indicators */
.api-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.api-status-indicator.active {
  background-color: oklch(from oklch(0.7 0.15 145) l c h / 0.15);
  color: oklch(0.4 0.15 145);
  border: 1px solid oklch(from oklch(0.7 0.15 145) l c h / 0.3);
}

.api-status-indicator.inactive {
  background-color: var(--muted);
  color: var(--muted-foreground);
  border: 1px solid var(--border);
}

.api-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
}
