/* Core & Design Tokens */
:root {
  --bg-dark: #0c0b0a;
  --bg-card: #151412;
  --bg-input: #1f1d1a;
  --gold-primary: #d4af37;
  --gold-light: #e5c453;
  --gold-dark: #aa8c2c;
  --text-primary: #f3efe9;
  --text-muted: #9e968a;
  --text-dark: #3a3630;
  
  --status-pending: #e2a03f;
  --status-confirmed: #4caf50;
  --status-seated: #2196f3;
  --status-noshow: #f44336;
  
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  --border: 1px solid rgba(212, 175, 55, 0.15);
  --border-focus: 1px solid rgba(212, 175, 55, 0.5);
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-input);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(212, 175, 55, 0.1);
}

/* Navigation */
.navbar {
  background: rgba(12, 11, 10, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 2rem;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
}

.brand-subtitle {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--gold-primary);
  text-transform: uppercase;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-primary);
}

.view-switchers {
  display: flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.switcher-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.switcher-btn svg {
  width: 16px;
  height: 16px;
}

.switcher-btn:hover {
  color: var(--text-primary);
}

.switcher-btn.active {
  background: var(--gold-primary);
  color: var(--bg-dark);
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* Main Container Layout */
.main-content {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1.5rem;
  min-height: calc(100vh - 180px);
}

.view-section {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

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

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================= CLIENT VIEW STYLES ================= */
.booking-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-card);
  border: var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.booking-intro {
  text-align: center;
  margin-bottom: 2.5rem;
}

.booking-intro h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.booking-intro p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Forms styling */
.form-group {
  margin-bottom: 1.8rem;
}

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

.form-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-primary);
  margin-bottom: 0.6rem;
}

.form-label svg {
  width: 15px;
  height: 15px;
  color: var(--gold-light);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea,
select {
  width: 100%;
  background: var(--bg-input);
  border: var(--border);
  color: var(--text-primary);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

textarea {
  min-height: 100px;
  resize: vertical;
}

/* Guest Selector Button Group */
.guest-selector {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
}

.guest-btn {
  background: var(--bg-input);
  border: var(--border);
  color: var(--text-primary);
  padding: 0.8rem 0;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
}

.guest-btn:hover {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.05);
}

.guest-btn.active {
  background: var(--gold-primary);
  color: var(--bg-dark);
  border-color: var(--gold-primary);
  font-weight: 600;
}

/* Turn Selector */
.turn-selector {
  display: flex;
  gap: 0.5rem;
  background: var(--bg-input);
  border: var(--border);
  padding: 4px;
  border-radius: var(--radius-md);
}

.turn-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
}

.turn-btn.active {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  font-weight: 600;
}

/* Hour Grid */
.hour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.hour-btn {
  background: var(--bg-input);
  border: var(--border);
  color: var(--text-primary);
  padding: 0.6rem 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
}

.hour-btn:hover:not(.disabled) {
  border-color: var(--gold-primary);
}

.hour-btn.active {
  background: var(--gold-primary);
  color: var(--bg-dark);
  border-color: var(--gold-primary);
  font-weight: 600;
}

.hour-btn.disabled {
  opacity: 0.25;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* Zone selector styling */
.zone-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.zone-card {
  background: var(--bg-input);
  border: var(--border);
  padding: 1.2rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.zone-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.zone-card.active {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.zone-info h3 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
  color: var(--text-primary);
}

.zone-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Badges */
.badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.badge-gold { background: rgba(212, 175, 55, 0.15); color: var(--gold-light); }
.badge-warning { background: rgba(226, 160, 63, 0.15); color: #e2a03f; }
.badge-danger { background: rgba(244, 67, 54, 0.15); color: #f44336; }

.submit-booking-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: var(--bg-dark);
  border: none;
  padding: 1.1rem;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.25);
  transition: var(--transition);
  margin-top: 1.5rem;
}

.submit-booking-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
}

.submit-booking-btn svg {
  width: 18px;
  height: 18px;
}

/* ================= ADMIN VIEW STYLES ================= */
.admin-dashboard-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

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

.dashboard-header h1 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
}

.dashboard-header p {
  color: var(--text-muted);
}

.dashboard-actions input[type="date"] {
  max-width: 200px;
}

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

.kpi-card {
  background: var(--bg-card);
  border: var(--border);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.kpi-content {
  display: flex;
  flex-direction: column;
}

.kpi-title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.kpi-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.kpi-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kpi-icon.gold { background: rgba(212, 175, 55, 0.1); color: var(--gold-primary); }
.kpi-icon.green { background: rgba(76, 175, 80, 0.1); color: var(--status-confirmed); }
.kpi-icon.blue { background: rgba(33, 150, 243, 0.1); color: var(--status-seated); }
.kpi-icon.red { background: rgba(244, 67, 54, 0.1); color: var(--status-noshow); }

/* Reservations Section */
.reservations-section {
  background: var(--bg-card);
  border: var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

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

.filters-left {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  padding: 0.45rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: rgba(212, 175, 55, 0.3);
  color: var(--text-primary);
}

.filter-btn.active {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.filter-indicator {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Table Design */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.reservations-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.reservations-table th {
  padding: 1rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.05);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-primary);
}

.reservations-table td {
  padding: 1.1rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 0.9rem;
}

.reservations-table tr:hover td {
  background: rgba(255, 255, 255, 0.01);
}

/* Table statuses & actions */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
}

.status-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-pill.pendiente { background: rgba(226, 160, 63, 0.15); color: var(--status-pending); }
.status-pill.pendiente::before { background: var(--status-pending); }

.status-pill.confirmada { background: rgba(76, 175, 80, 0.15); color: var(--status-confirmed); }
.status-pill.confirmada::before { background: var(--status-confirmed); }

.status-pill.sentado { background: rgba(33, 150, 243, 0.15); color: var(--status-seated); }
.status-pill.sentado::before { background: var(--status-seated); }

.status-pill.no-show { background: rgba(244, 67, 54, 0.15); color: var(--status-noshow); }
.status-pill.no-show::before { background: var(--status-noshow); }

.actions-cell {
  display: flex;
  gap: 0.35rem;
}

.action-btn-circle {
  background: var(--bg-input);
  border: var(--border);
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.action-btn-circle:hover {
  color: var(--text-primary);
  border-color: var(--gold-primary);
}

.action-btn-circle.action-confirm:hover { background: rgba(76, 175, 80, 0.2); color: var(--status-confirmed); border-color: var(--status-confirmed); }
.action-btn-circle.action-seat:hover { background: rgba(33, 150, 243, 0.2); color: var(--status-seated); border-color: var(--status-seated); }
.action-btn-circle.action-noshow:hover { background: rgba(244, 67, 54, 0.2); color: var(--status-noshow); border-color: var(--status-noshow); }

.wa-trigger-btn {
  background: rgba(37, 211, 102, 0.1);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.2);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.wa-trigger-btn:hover {
  background: #25d366;
  color: #0c0b0a;
  border-color: #25d366;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.25);
}

.wa-trigger-btn svg {
  width: 14px;
  height: 14px;
}

/* ================= WHATSAPP PHONE SIMULATOR MODAL ================= */
.phone-simulator {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 320px;
  height: 520px;
  background: #000;
  border-radius: 36px;
  padding: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 0 2px rgba(212, 175, 55, 0.3);
  z-index: 1000;
  display: none;
  animation: slideUp 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}

@keyframes slideUp {
  from { transform: translateY(100px) scale(0.9); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.phone-screen {
  background-color: #0b141a; /* WA dark mode background */
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.phone-status-bar {
  height: 24px;
  padding: 0 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  color: #fff;
  background: #111b21;
}

.phone-status-icons {
  display: flex;
  gap: 0.3rem;
  align-items: center;
}

.phone-wa-header {
  background: #111b21;
  padding: 0.5rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.wa-back-btn {
  background: transparent;
  border: none;
  color: #aebac1;
  cursor: pointer;
}

.wa-back-btn svg {
  width: 18px;
  height: 18px;
}

.wa-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-primary);
  color: var(--bg-dark);
  font-family: var(--font-serif);
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.wa-contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.wa-contact-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e9edef;
}

.wa-contact-status {
  font-size: 0.65rem;
  color: #8696a0;
}

.wa-header-icons {
  display: flex;
  gap: 0.8rem;
  color: #aebac1;
}

.wa-header-icons svg {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Chat Area Wallpaper & Bubble styles */
.phone-wa-chat {
  flex: 1;
  padding: 0.8rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background-image: radial-gradient(#1e2c34 1px, transparent 0);
  background-size: 16px 16px;
  background-color: #0b141a;
}

.wa-msg-bubble {
  max-width: 85%;
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  font-size: 0.8rem;
  position: relative;
  line-height: 1.4;
  word-break: break-word;
}

.wa-msg-bubble.incoming {
  background: #202c33;
  color: #e9edef;
  align-self: flex-start;
  border-top-left-radius: 0;
}

.wa-msg-bubble.outgoing {
  background: #005c4b; /* WA green bubble */
  color: #e9edef;
  align-self: flex-end;
  border-top-right-radius: 0;
}

.wa-msg-time {
  display: block;
  font-size: 0.6rem;
  color: #8696a0;
  text-align: right;
  margin-top: 2px;
}

/* WA Action Buttons in message */
.wa-interactive-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 0.4rem;
}

.wa-action-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}

.wa-action-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Input layout */
.phone-wa-input {
  background: #111b21;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.wa-input-box {
  flex: 1;
  background: #2a3942;
  border-radius: 20px;
  display: flex;
  align-items: center;
  padding: 0.3rem 0.6rem;
  color: #8696a0;
  gap: 0.4rem;
}

.wa-input-box svg {
  width: 18px;
  height: 18px;
}

.wa-input-box input {
  flex: 1;
  background: transparent;
  border: none;
  color: #e9edef;
  font-size: 0.8rem;
}

.wa-input-box input:focus {
  outline: none;
}

.wa-mic-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #00a884;
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-mic-btn svg {
  width: 16px;
  height: 16px;
}

/* Custom Guest Dialog */
.dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
}

.dialog-box {
  background: var(--bg-card);
  border: var(--border);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  width: 90%;
  max-width: 320px;
  text-align: center;
}

.dialog-box h3 {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.dialog-box input {
  margin-bottom: 1rem;
  text-align: center;
}

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

.dialog-btn {
  flex: 1;
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.dialog-btn.cancel {
  background: var(--bg-input);
  color: var(--text-muted);
}

.dialog-btn.confirm {
  background: var(--gold-primary);
  color: var(--bg-dark);
}

/* Admin Sub-tabs Navigation */
.admin-sub-tabs {
  display: flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 4px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.subtab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.subtab-btn:hover {
  color: var(--text-primary);
}

.subtab-btn.active {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

/* Sub-tab visibility */
.admin-subtab-content {
  display: none;
  animation: fadeIn 0.3s ease forwards;
}

.admin-subtab-content.active {
  display: block;
}

/* Integrations Tab Grid */
.integration-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}

.integration-card {
  background: var(--bg-card);
  border: var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.integration-card.full-width {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
}

.card-header-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.card-header-icon.gold { background: rgba(212, 175, 55, 0.1); color: var(--gold-primary); }
.card-header-icon.blue { background: rgba(33, 150, 243, 0.1); color: var(--status-seated); }
.card-header-icon.green { background: rgba(76, 175, 80, 0.1); color: var(--status-confirmed); }

.integration-card h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
}

.integration-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Copy Input / Box styles */
.copy-input-group {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

.copy-input-group.block-format {
  flex-direction: column;
}

.copy-input-group input,
.copy-input-group textarea {
  flex: 1;
  background: var(--bg-input);
  border: var(--border);
  color: var(--text-primary);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-size: 0.8rem;
  outline: none;
}

.copy-input-group textarea {
  min-height: 70px;
  resize: none;
}

.copy-btn {
  background: var(--gold-primary);
  color: var(--bg-dark);
  border: none;
  padding: 0.75rem 1.2rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  transition: var(--transition);
  white-space: nowrap;
}

.copy-btn:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.copy-btn.copied {
  background: var(--status-confirmed) !important;
  color: white !important;
}

/* Instructions List */
.integration-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.integration-steps li {
  font-size: 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--text-muted);
}

.integration-steps b {
  color: var(--text-primary);
}

.check-green {
  color: var(--status-confirmed);
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0;
  margin-top: 2px;
}

/* DNS settings table */
.dns-config-table {
  background: var(--bg-input);
  border: var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 450px;
}

.dns-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding-bottom: 0.4rem;
}

.dns-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.dns-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.dns-value {
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--gold-light);
  font-weight: 600;
}

/* Responsive grid changes */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .navbar-container {
    justify-content: center;
  }
  .view-switchers {
    width: 100%;
    justify-content: center;
  }
  .guest-selector {
    grid-template-columns: repeat(4, 1fr);
  }
  .integration-grid {
    grid-template-columns: 1fr;
  }
  .integration-card.full-width {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

