/* Admin Panel Styles - Dark Theme (matches TV Delmarva admin) */

/* ============================================
   Dark Theme (default)
   ============================================ */
:root {
  --primary: #06b6d4;
  --primary-dark: #0891b2;
  --primary-light: #22d3ee;
  --secondary: #64748b;
  --success: #22c55e;
  --success-bg: rgba(34, 197, 94, 0.15);
  --danger: #ef4444;
  --danger-bg: rgba(239, 68, 68, 0.15);
  --warning: #f59e0b;
  --warning-bg: rgba(245, 158, 11, 0.15);
  --bg: #0f172a;
  --bg-card: #1e293b;
  --bg-card-hover: #1a2744;
  --bg-input: #0f172a;
  --text: #e2e8f0;
  --text-light: #94a3b8;
  --text-secondary: #64748b;
  --border: #334155;
  --border-light: #475569;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.4);
  --focus-ring: rgba(6, 182, 212, 0.3);
  --header-bg: #020617;
  --accent-purple: #a855f7;
}

/* ============================================
   Light Theme Override
   ============================================ */
[data-theme="light"] {
  --primary: #0891b2;
  --primary-dark: #0e7490;
  --primary-light: #06b6d4;
  --bg: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-input: #ffffff;
  --text: #1e293b;
  --text-light: #64748b;
  --text-secondary: #94a3b8;
  --border: #e2e8f0;
  --border-light: #cbd5e1;
  --shadow: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
  --focus-ring: rgba(8, 145, 178, 0.2);
  --header-bg: #0f172a;
  --success-bg: #f0fdf4;
  --danger-bg: #fef2f2;
  --warning-bg: #fffbeb;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

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

a:hover {
  color: var(--primary-light);
}

/* ============================================
   Header
   ============================================ */
.admin-header {
  background: var(--header-bg);
  color: white;
  padding: 0 1.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.header-content {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: var(--primary);
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 600;
}

.header-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.header-nav a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.header-nav a:hover {
  color: white;
}

.logout-btn {
  background: rgba(255,255,255,0.1);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
}

/* Theme Toggle */
.theme-toggle {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.2s;
}

.theme-toggle:hover {
  background: rgba(255,255,255,0.2);
  color: white;
}

/* ============================================
   Main & Footer
   ============================================ */
.admin-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  min-height: calc(100vh - 120px);
}

.admin-footer {
  text-align: center;
  padding: 1rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  color: white;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

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

.btn-secondary:hover {
  background: #475569;
}

.btn-success {
  background: var(--success);
  color: white;
}

.btn-danger {
  background: var(--danger);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-outline:hover {
  background: var(--bg-card);
  border-color: var(--border-light);
}

.btn-ai {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: white;
}

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

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* ============================================
   Login Page
   ============================================ */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

.login-container {
  width: 100%;
  max-width: 400px;
  padding: 1rem;
}

.login-box {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.login-box h1 {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.login-subtitle {
  color: var(--text-light);
  margin-bottom: 2rem;
}

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

/* ============================================
   Forms
   ============================================ */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.375rem;
  font-size: 0.9rem;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--bg-input);
  color: var(--text);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-secondary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.form-group small {
  display: block;
  margin-top: 0.25rem;
  color: var(--text-light);
  font-size: 0.8rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Alerts
   ============================================ */
.alert {
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.alert-error {
  background: var(--danger-bg);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.alert-success {
  background: var(--success-bg);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

[data-theme="light"] .alert-error {
  color: #991b1b;
}

[data-theme="light"] .alert-success {
  color: #166534;
}

/* ============================================
   Dashboard
   ============================================ */
.dashboard {
  max-width: 1200px;
  margin: 0 auto;
}

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

.dashboard-header h1 {
  font-size: 1.75rem;
}

.sites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

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

.site-card:hover {
  border-color: var(--border-light);
  transform: translateY(-1px);
}

.site-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.site-card-header h3 {
  font-size: 1.125rem;
  margin: 0;
  color: var(--text);
}

.status-badge {
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
}

.status-draft {
  background: var(--warning-bg);
  color: var(--warning);
}

.status-live {
  background: var(--success-bg);
  color: var(--success);
}

.status-premium {
  background: rgba(168, 85, 247, 0.15);
  color: var(--accent-purple);
}

.site-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.meta-item {
  color: var(--text-light);
}

.tier-premium {
  color: var(--accent-purple);
}

.site-card-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.site-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 2px dashed var(--border);
}

.empty-state h2 {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* ============================================
   Site Form
   ============================================ */
.site-form-page {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-header h1 {
  font-size: 1.5rem;
}

.header-actions {
  display: flex;
  gap: 0.5rem;
}

/* ============================================
   Tabs
   ============================================ */
.form-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.25rem;
}

.tab-btn {
  padding: 0.625rem 1rem;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius) var(--radius) 0 0;
  transition: all 0.2s;
}

.tab-btn:hover {
  color: var(--text);
  background: var(--bg-card);
}

.tab-btn.active {
  color: var(--primary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-bottom-color: var(--bg-card);
  margin-bottom: -1px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* ============================================
   Form Sections
   ============================================ */
.form-section {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.form-section h2 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

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

.section-header h2 {
  margin: 0;
  padding: 0;
  border: 0;
}

/* ============================================
   Hours Quick Fill
   ============================================ */
.hours-quick-fill {
  background: var(--bg);
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
}

.quick-fill-inputs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.quick-fill-inputs label {
  font-weight: 500;
  margin-right: 0.5rem;
}

.quick-fill-inputs input[type="time"] {
  width: 130px;
}

.quick-fill-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Hours */
.hours-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

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

.day-label {
  width: 100px;
  font-weight: 500;
}

.hours-inputs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hours-inputs input[type="time"] {
  width: 130px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: normal;
  cursor: pointer;
}

.checkbox-label input {
  width: auto;
}

/* ============================================
   Services / FAQs / Testimonials
   ============================================ */
.service-item,
.faq-item,
.testimonial-item {
  background: var(--bg);
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  position: relative;
  border: 1px solid var(--border);
}

.service-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.service-header h4 {
  margin: 0;
  flex: 1;
}

.drag-handle {
  cursor: grab;
  color: var(--text-secondary);
}

.faq-remove,
.testimonial-remove {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
}

/* ============================================
   Media uploads
   ============================================ */
.logo-preview {
  width: 200px;
  height: 100px;
  background: var(--bg);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  overflow: hidden;
}

.logo-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.logo-preview .placeholder {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.photo-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-remove {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  width: 24px;
  height: 24px;
  background: rgba(0,0,0,0.7);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
}

/* ============================================
   Colors & Design
   ============================================ */
.color-picker-wrapper {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.color-picker-wrapper input[type="color"] {
  width: 50px;
  height: 40px;
  padding: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--bg);
}

.color-hex {
  width: 100px;
  font-family: monospace;
}

/* Templates */
.template-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.template-option {
  display: block;
  padding: 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
}

.template-option:hover {
  border-color: var(--primary);
}

.template-option.selected {
  border-color: var(--primary);
  background: rgba(6, 182, 212, 0.1);
}

.template-option input {
  display: none;
}

.template-preview strong {
  display: block;
  margin-bottom: 0.25rem;
}

.template-preview small {
  color: var(--text-light);
}

/* Texture options */
.texture-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.75rem;
}

.texture-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.texture-option:hover {
  border-color: var(--primary);
}

.texture-option.selected {
  border-color: var(--primary);
  background: rgba(6, 182, 212, 0.1);
}

.texture-option input {
  display: none;
}

.texture-preview {
  display: block;
  width: 100%;
  height: 60px;
  border-radius: 4px;
  background: #1a1a2e;
}

.texture-name {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.texture-preview.texture-none {
  background: #1a1a2e;
}

.texture-preview.texture-dots-preview {
  background: #1a1a2e radial-gradient(circle, rgba(255,255,255,0.4) 2px, transparent 2px);
  background-size: 10px 10px;
}

.texture-preview.texture-lines-preview {
  background: #1a1a2e repeating-linear-gradient(45deg, transparent, transparent 4px, rgba(255,255,255,0.25) 4px, rgba(255,255,255,0.25) 8px);
}

.texture-preview.texture-grid-preview {
  background: #1a1a2e;
  background-image: linear-gradient(rgba(255,255,255,0.3) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.3) 1px, transparent 1px);
  background-size: 15px 15px;
}

.texture-preview.texture-waves-preview {
  background: #1a1a2e;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='rgba(255,255,255,0.35)' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  background-position: bottom;
}

.texture-preview.texture-circuit-preview {
  background: #1a1a2e url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54 22h-4v-4h-4v4h-4v4h4v4h-4v4h4v4h4v-4h4v-4h-4v-4h4v-4zM10 22h4v-4h4v4h4v4h-4v4h4v4h-4v4h-4v-4H6v-4h4v-4H6v-4h4v-4z' fill='rgba(255,255,255,0.35)' fill-rule='evenodd'/%3E%3C/svg%3E");
}

/* ============================================
   Form actions
   ============================================ */
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  margin-top: 1.5rem;
}

/* ============================================
   Loading overlay
   ============================================ */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.loading-content {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--border);
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  margin: 0 auto 1rem;
  animation: spin 0.8s linear infinite;
}

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

/* ============================================
   Site detail
   ============================================ */
.site-detail {
  max-width: 900px;
  margin: 0 auto;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.detail-section {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.detail-section h2 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.detail-section dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1rem;
}

.detail-section dt {
  color: var(--text-light);
  font-size: 0.875rem;
}

.detail-section dd {
  font-weight: 500;
}

.detail-section a {
  color: var(--primary);
  text-decoration: none;
}

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

/* ============================================
   Error page
   ============================================ */
.error-page {
  text-align: center;
  padding: 4rem 2rem;
}

.error-page h1 {
  font-size: 3rem;
  color: var(--danger);
}

.error-message {
  font-size: 1.25rem;
  color: var(--text-light);
  margin: 1rem 0 2rem;
}

.error-stack {
  text-align: left;
  background: var(--bg-card);
  padding: 1rem;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 0.8rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border);
  color: var(--text-light);
}

/* ============================================
   Domain Management
   ============================================ */

/* Status grid */
.domain-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.domain-status-item {
  background: var(--bg);
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
}

.domain-status-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.domain-status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-badge-good {
  background: var(--success-bg);
  color: var(--success);
}

.status-badge-pending {
  background: var(--warning-bg);
  color: var(--warning);
}

.status-badge-info {
  background: rgba(6, 182, 212, 0.15);
  color: var(--primary);
}

.status-badge-error {
  background: var(--danger-bg);
  color: var(--danger);
}

/* Domain actions */
.domain-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.btn-danger-text {
  color: var(--danger) !important;
  border-color: var(--danger) !important;
}

.btn-danger-text:hover {
  background: var(--danger-bg) !important;
}

/* DNS record display */
.dns-record {
  display: block;
  background: var(--bg);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-family: monospace;
  font-size: 0.9rem;
  color: var(--primary);
  margin-top: 0.5rem;
}

/* Domain suggestions */
.domain-suggestions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}

.domain-suggestion-card {
  background: var(--bg);
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.suggestion-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
}

.suggestion-reason {
  font-size: 0.8rem;
  color: var(--text-light);
  flex: 1;
}

/* Availability results */
.availability-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.availability-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
}

.availability-item.available {
  border-color: rgba(34, 197, 94, 0.3);
}

.availability-item.taken {
  opacity: 0.6;
}

.avail-domain {
  font-weight: 600;
  min-width: 200px;
}

.avail-badge {
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.avail-yes {
  background: var(--success-bg);
  color: var(--success);
}

.avail-no {
  background: var(--danger-bg);
  color: var(--danger);
}

.avail-price {
  color: var(--text-light);
  font-size: 0.85rem;
}

/* Domain instructions */
.domain-instructions {
  background: var(--bg);
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.domain-instructions p {
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

/* Dashboard domain badge */
.site-card-domain {
  font-size: 0.8rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.domain-active-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-left: 0.5rem;
  background: var(--success-bg);
  color: var(--success);
}

.domain-pending-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-left: 0.5rem;
  background: var(--warning-bg);
  color: var(--warning);
}

/* ============================================
   Google Tab
   ============================================ */

/* Setup Checklist */
.google-checklist {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checklist-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.checklist-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
}

.checklist-content {
  flex: 1;
}

.checklist-content strong {
  display: block;
  margin-bottom: 0.25rem;
}

.checklist-content p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* Business details card */
.google-biz-details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* Schema preview */
.schema-preview {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  overflow-x: auto;
  max-height: 400px;
  overflow-y: auto;
}

.schema-preview pre {
  margin: 0;
}

.schema-preview code {
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.8rem;
  color: var(--primary);
  white-space: pre;
}

/* ============================================
   Utilities
   ============================================ */
.text-muted {
  color: var(--text-light);
}
