/* =============================================
   MikTools — Design System & Layout
   ============================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables (Light) --- */
:root {
  /* Colors */
  --primary: #4f46e5;
  --primary-light: #6366f1;
  --primary-dark: #3730a3;
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --accent: #06b6d4;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  /* Surfaces */
  --bg-body: #f0f2f5;
  --bg-sidebar: rgba(255, 255, 255, 0.85);
  --bg-card: #ffffff;
  --bg-input: #f8f9fb;
  --bg-output: #1e1e2e;
  --bg-header: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

  /* Text */
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --text-inverse: #ffffff;
  --text-output: #a6e3a1;

  /* Borders */
  --border: #e2e8f0;
  --border-focus: var(--primary);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-sidebar: 2px 0 20px rgba(0, 0, 0, 0.06);

  /* Layout */
  --sidebar-width: 260px;
  --header-height: 56px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transitions */
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Dark Mode --- */
[data-theme="dark"] {
  --bg-body: #0f172a;
  --bg-sidebar: rgba(30, 41, 59, 0.92);
  --bg-card: #1e293b;
  --bg-input: #334155;
  --bg-output: #0f172a;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: #334155;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.3);
  --shadow-sidebar: 2px 0 20px rgba(0, 0, 0, 0.3);
}

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

html {
  font-size: 15px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* --- Layout --- */
.app-wrapper {
  display: flex;
  min-height: 100vh;
}

/* --- Sidebar --- */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--bg-sidebar);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--border);
  box-shadow: var(--shadow-sidebar);
  display: flex;
  flex-direction: column;
  z-index: 100;
  transition: var(--transition);
  overflow: hidden;
}

.sidebar-brand {
  padding: 20px 20px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.sidebar-brand .brand-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.sidebar-brand h1 {
  font-size: 1.15rem;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 12px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.sidebar-nav::-webkit-scrollbar {
  width: 4px;
}

.sidebar-nav::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.nav-section {
  padding: 8px 16px 4px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 8px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 450;
  transition: var(--transition);
  border-left: 3px solid transparent;
  position: relative;
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(79, 70, 229, 0.06);
}

.nav-link.active {
  color: var(--primary);
  background: rgba(79, 70, 229, 0.08);
  border-left-color: var(--primary);
  font-weight: 600;
}

.nav-link .nav-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  opacity: 0.7;
}

.nav-link.active .nav-icon,
.nav-link:hover .nav-icon {
  opacity: 1;
}

/* --- Main Content --- */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: var(--transition);
}

/* --- Header --- */
.app-header {
  background: var(--primary-gradient);
  padding: 0 32px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(102, 126, 234, 0.3);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-inverse);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
}

.header-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-inverse);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--text-inverse);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.header-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

/* --- Page Content --- */
.page-content {
  flex: 1;
  padding: 28px 32px;
}

/* --- Tool Card --- */
.tool-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 32px;
  animation: fadeSlideUp 0.4s ease;
}

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

.tool-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
  position: relative;
}

.tool-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--primary-gradient);
  border-radius: 1px;
}

/* --- Form Elements --- */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

/* Flex row: các form-group tự co theo nội dung, field còn lại dãn fill */
.form-grid.flex-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px;
}

.form-grid.flex-row .form-group {
  flex: 1 1 180px;
  min-width: 0;
}

/* Field thu hẹp: không dãn, co theo width đã set */
.form-grid.flex-row .form-group.shrink {
  flex: 0 0 auto;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.form-input,
.form-select {
  padding: 10px 14px;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: var(--transition);
  outline: none;
}

.form-input:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
  background: var(--bg-card);
}

.form-input::placeholder {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.form-textarea {
  padding: 12px 14px;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', monospace;
  font-size: 0.85rem;
  color: var(--text-primary);
  resize: vertical;
  min-height: 120px;
  transition: var(--transition);
  outline: none;
  line-height: 1.5;
}

.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-textarea::placeholder {
  color: var(--text-muted);
  font-size: 0.83rem;
}

.form-checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
}

.form-checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-checkbox-group label {
  font-size: 0.9rem;
  color: var(--text-primary);
  cursor: pointer;
}

/* --- Output Area --- */
.output-section {
  margin-top: 28px;
}

.output-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.output-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-copy:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.btn-copy.copied {
  background: var(--success);
}

.output-textarea {
  width: 100%;
  min-height: 200px;
  padding: 16px;
  background: var(--bg-output);
  color: var(--text-output);
  border: none;
  border-radius: var(--radius-md);
  font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
  font-size: 0.82rem;
  line-height: 1.7;
  resize: vertical;
  outline: none;
  box-shadow: var(--shadow-lg);
  scrollbar-width: thin;
  scrollbar-color: #475569 transparent;
}

.output-textarea::-webkit-scrollbar {
  width: 6px;
}

.output-textarea::-webkit-scrollbar-thumb {
  background: #475569;
  border-radius: 3px;
}

/* --- Split Output (for Hairpin NAT etc.) --- */
.output-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}

/* --- Hairpin NAT: 2-column layout (input textarea + output textarea cạnh nhau) --- */
.hairpin-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 4px;
}

.hairpin-col {
  display: flex;
  flex-direction: column;
}

.hairpin-col .output-section {
  margin-top: 12px;
}

.hairpin-col .output-textarea {
  min-height: 260px;
}

/* --- Form Grid Variants --- */
.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

/* --- Info Box --- */
.info-box {
  background: rgba(79, 70, 229, 0.06);
  border-left: 3px solid var(--primary);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.info-box code {
  background: rgba(79, 70, 229, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.82rem;
  color: var(--primary);
}

/* --- Footer --- */
.app-footer {
  padding: 20px 32px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

/* --- Dashboard --- */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.dashboard-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.dashboard-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.dashboard-card .card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  flex-shrink: 0;
}

.dashboard-card .card-info h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.dashboard-card .card-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* --- Toast Notification --- */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-card);
  color: var(--text-primary);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  border-left: 4px solid var(--success);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* --- Overlay (mobile sidebar) --- */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 90;
  backdrop-filter: blur(2px);
}

/* --- Responsive --- */

/* iPad landscape (≥ 1024px): giữ nguyên sidebar, thu nhỏ form-grid minmax */
@media (max-width: 1024px) {
  .form-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

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

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

  .form-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* iPad portrait (≤ 900px): sidebar dùng overlay, nội dung full width */
@media (max-width: 900px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-overlay.show {
    display: block;
  }

  .main-content {
    margin-left: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .page-content {
    padding: 24px 20px;
  }

  .tool-card {
    padding: 24px;
  }

  .app-header {
    padding: 0 20px;
  }

  .form-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .form-grid.flex-row {
    gap: 12px;
  }
}

/* Mobile (≤ 600px): single column */
@media (max-width: 600px) {
  .page-content {
    padding: 16px 12px;
  }

  .tool-card {
    padding: 16px;
  }

  .app-header {
    padding: 0 12px;
  }

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

  .form-grid-2,
  .form-grid-3 {
    grid-template-columns: 1fr;
  }

  .form-grid.flex-row {
    flex-direction: column;
    align-items: stretch;
  }

  .form-grid.flex-row .form-group.shrink {
    flex: 0 0 auto;
    width: 100%;
  }

  .form-grid.flex-row .form-group.shrink .form-input,
  .form-grid.flex-row .form-group.shrink .form-select {
    width: 100% !important;
  }

  .app-footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 16px;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* --- Guide Section (collapsible instructions) --- */
.guide-section {
  margin-bottom: 24px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.guide-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(79, 70, 229, 0.05);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: var(--transition);
}

.guide-toggle:hover {
  background: rgba(79, 70, 229, 0.1);
}

.guide-toggle::-webkit-details-marker {
  display: none;
}

.guide-toggle::before {
  content: '▶';
  font-size: 0.65rem;
  transition: transform 0.2s ease;
  display: inline-block;
}

details[open] > .guide-toggle::before {
  transform: rotate(90deg);
}

.guide-body {
  padding: 20px 20px 8px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-top: 1.5px solid var(--border);
}

.guide-step {
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--border);
}

.guide-step:last-child {
  border-bottom: none;
  padding-bottom: 4px;
}

.guide-step-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.guide-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--primary-gradient);
  color: white;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}

.guide-step-header strong {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.guide-step p,
.guide-step ol {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 6px;
}

.guide-step ol {
  padding-left: 20px;
}

.guide-step ol li {
  margin-bottom: 4px;
}

.guide-step a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.guide-step a:hover {
  text-decoration: underline;
}

.guide-step code {
  background: rgba(79, 70, 229, 0.08);
  color: var(--primary);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.82rem;
}

.guide-note {
  margin-top: 10px;
  padding: 8px 12px;
  background: rgba(245, 158, 11, 0.08);
  border-left: 3px solid #f59e0b;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.guide-code-wrap {
  margin-top: 10px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}

.guide-code-label {
  background: rgba(79, 70, 229, 0.06);
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--border);
}

.guide-code {
  background: var(--bg-output);
  color: #a6e3a1;
  padding: 12px 16px;
  font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 0.78rem;
  line-height: 1.6;
  margin: 0;
  white-space: pre-wrap;
  word-break: break-all;
}

/* --- OS Tab Switcher --- */
.os-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.os-tab {
  padding: 6px 14px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.os-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.os-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 600;
}

.os-panel {
  display: none;
}

.os-panel.active {
  display: block;
}

.os-step-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

/* guide-code-wrap topbar with copy button */
.guide-code-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(79, 70, 229, 0.06);
  padding: 5px 10px 5px 12px;
  border-bottom: 1px solid var(--border);
}

.guide-copy-btn {
  padding: 3px 10px;
  font-size: 0.73rem;
  font-weight: 600;
  font-family: inherit;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

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

.guide-copy-btn.copied {
  background: var(--success);
}


