/* Светлая современная тема для страницы аккаунтов */
:root {
  --color-bg-page: #f8fafc;
  --color-surface: #ffffff;
  --color-surface-2: #f1f5f9;
  --color-surface-3: #e2e8f0;
  --color-border: #e5e7eb;
  --color-text-primary: #0f172a;
  --color-text-secondary: #475569;
  --color-text-muted: #94a3b8;
  --color-accent: #2563eb;
  --color-accent-hover: #1d4ed8;
  --color-success: #16a34a;
  --color-success-bg: rgba(34, 197, 94, 0.15);
  --color-danger: #dc2626;
  --color-danger-bg: rgba(239, 68, 68, 0.15);
  --color-warning: #eab308;
  --color-warning-bg: rgba(234, 179, 8, 0.15);
  --color-info: #3b82f6;
  --color-info-bg: rgba(59, 130, 246, 0.15);
  --radius-sm: 6px;
  --radius-md: 10px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 6px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 25px rgba(15, 23, 42, 0.12);
  
  /* Цвета для специфических элементов */
  --color-tip-bg: #f0f8ff;
  --color-tip-border: var(--color-accent);
  --color-code-bg: #e2e8f0;
  --color-example-bg: #f8fafc;
  --color-example-border: #e2e8f0;
  --color-recommendation-good-bg: #f0fdf4;
  --color-recommendation-good-border: #bbf7d0;
  --color-recommendation-caution-bg: #fefce8;
  --color-recommendation-caution-border: #fde047;
  --color-warning-box-bg: #fff3cd;
  --color-warning-box-border: #ffeaa7;
  --color-warning-box-text: #856404;
  --color-info-box-bg: #d1ecf1;
  --color-info-box-border: #bee5eb;
  --color-info-box-text: #0c5460;
  --color-monospace-bg: #ffffff;
  --color-monospace-border: #ddd;
  --color-monospace-text: #333;
  --color-cart-tracking-bg: #f0f8ff;
  --color-cart-tracking-border: #bfdbfe;
  
  /* Bulma совместимость */
  --bulma-input-bg: var(--color-surface);
  --bulma-input-border: var(--color-border);
  --bulma-input-color: var(--color-text-primary);
}

/* ===== ТЕМНАЯ ТЕМА ===== */
[data-theme="dark"] {
  --color-bg-page: #0f172a;
  --color-surface: #1e293b;
  --color-surface-2: #334155;
  --color-surface-3: #475569;
  --color-border: #475569;
  --color-text-primary: #f1f5f9;
  --color-text-secondary: #cbd5e1;
  --color-text-muted: #64748b;
  --color-accent: #3b82f6;
  --color-accent-hover: #60a5fa;
  --color-success: #22c55e;
  --color-success-bg: rgba(34, 197, 94, 0.2);
  --color-danger: #ef4444;
  --color-danger-bg: rgba(239, 68, 68, 0.2);
  --color-warning: #facc15;
  --color-warning-bg: rgba(250, 204, 21, 0.2);
  --color-info: #60a5fa;
  --color-info-bg: rgba(96, 165, 250, 0.2);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.2);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.4);
  
  /* Цвета для специфических элементов */
  --color-tip-bg: rgba(59, 130, 246, 0.15);
  --color-tip-border: var(--color-accent);
  --color-code-bg: #334155;
  --color-example-bg: #1e293b;
  --color-example-border: #475569;
  --color-recommendation-good-bg: rgba(34, 197, 94, 0.15);
  --color-recommendation-good-border: rgba(34, 197, 94, 0.4);
  --color-recommendation-caution-bg: rgba(250, 204, 21, 0.15);
  --color-recommendation-caution-border: rgba(250, 204, 21, 0.4);
  --color-warning-box-bg: rgba(250, 204, 21, 0.15);
  --color-warning-box-border: rgba(250, 204, 21, 0.4);
  --color-warning-box-text: #facc15;
  --color-info-box-bg: rgba(96, 165, 250, 0.15);
  --color-info-box-border: rgba(96, 165, 250, 0.4);
  --color-info-box-text: #93c5fd;
  --color-monospace-bg: #1e293b;
  --color-monospace-border: #475569;
  --color-monospace-text: #e2e8f0;
  --color-cart-tracking-bg: rgba(59, 130, 246, 0.15);
  --color-cart-tracking-border: rgba(59, 130, 246, 0.4);
  
  /* Bulma совместимость */
  --bulma-input-bg: var(--color-surface-2);
  --bulma-input-border: var(--color-border);
  --bulma-input-color: var(--color-text-primary);
}


* { 
  box-sizing: border-box; 
}

/* Глобальное отключение всех псевдоэлементов в таблице */
table *::before,
table *::after,
.table *::before,
.table *::after {
  display: none !important;
  content: none !important;
  visibility: hidden !important;
}


html, body { height: 100%; }
html {
  background: var(--color-bg-page);
}
body { 
  margin: 0; 
  color: var(--color-text-primary); 
  background: var(--color-bg-page);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Фиксированный хедер */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  min-height: 64px; /* Унифицированная минимальная высота для всех страниц */
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 64px; /* Соответствует минимальной высоте хедера */
}

.header .title { font-size: 22px; font-weight: 700; }

/* Стили для страниц без дополнительных элементов в хедере */
.header-right:empty {
  min-height: 32px; /* Минимальная высота для выравнивания */
}
.header .hint { color: var(--color-text-secondary); }
.header .row { display:flex; align-items:center; gap: 10px; }
.header .header-right { 
  display: flex; 
  align-items: center; 
  gap: 16px; 
}

/* Десктопная версия хедера */
.header-right .row {
  display: flex;
  align-items: center;
  gap: 16px;
}



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



/* Стили для селектора количества элементов */
.header-actions select {
  height: 32px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0 8px;
  font-size: 14px;
  background: var(--color-surface);
  color: var(--color-text-primary);
}

.header-actions select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}
.cart { display:flex; align-items:center; gap: 8px; font-weight:600; color: var(--color-text-primary); }
.cart .cart-icon { display:inline-flex; color: var(--color-accent); }
.cart .divider { color: var(--color-text-secondary); margin: 0 4px; }

/* Стили для кнопки поддержки */
.button.is-info { 
  background: #06b6d4; 
  border-color: #06b6d4; 
  color: white;
  display: flex;
  align-items: center;
}
.button.is-info:hover { 
  background: #0891b2; 
  border-color: #0891b2; 
}

.container { max-width: 1280px; margin: 0 auto; padding: 16px 20px; }

/* Единый футер на страницах */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  margin-top: auto;
  padding: 16px 0;
  position: static !important; /* Явно отключаем фиксирование футера */
  z-index: auto !important;    /* Исключаем наложение над контентом */
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  display: flex;
  align-items: center;
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--color-accent);
}

.footer-copyright {
  text-align: center;
}

.footer-copyright p {
  color: var(--color-text-secondary);
  font-size: 11px;
  margin: 0;
  line-height: 1.2;
}

/* Адаптивные стили для футера */
@media (max-width: 768px) {
  .footer {
    padding: 12px 0;
  }
  
  .footer-links {
    gap: 12px;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-link {
    font-size: 12px;
  }
  
  .footer-copyright {
    margin-top: 0;
  }
}

/* Обеспечиваем прижатие футера к низу */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Специальные стили для страниц с контентом */
.content-section {
  flex: 1;
}

/* Специальные стили для checkout страницы */
.checkout-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.checkout-page .container {
  flex: 1;
  overflow: visible;
}

/* Стили для счетчика аккаунтов */
.accounts-count {
  color: var(--color-text-secondary);
  font-size: 14px;
  font-weight: 400;
  margin-left: 8px;
}

/* Стили для ссылки скачивания JSON */
.download-json-link {
  transition: all 0.2s ease;
  border-radius: 4px;
  padding: 2px 6px;
}

.download-json-link:hover {
  background-color: rgba(50, 115, 220, 0.1);
  color: #1d4ed8 !important;
  text-decoration: none !important;
}

/* Стили для хлебных крошек в хедере */
.breadcrumb-separator {
  color: var(--color-text-secondary);
  font-weight: 400;
}

.breadcrumb-current {
  color: var(--color-text-primary);
  font-weight: 500;
  font-size: 20px;
}

/* Стили для хлебных крошек */
.breadcrumb-container {
  display: flex;
  align-items: center;
}

.breadcrumb {
  font-size: 14px;
  margin: 0;
}

.breadcrumb ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li:not(:last-child)::after {
  content: ">";
  margin: 0 8px;
  color: var(--color-text-secondary);
}

.breadcrumb a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: #1d4ed8;
}

.breadcrumb .is-active a {
  color: var(--color-text-primary);
  font-weight: 500;
}

/* Переопределение стилей Bulma breadcrumb */
.breadcrumb.is-centered {
  justify-content: center;
}

.breadcrumb.is-right {
  justify-content: flex-end;
}

.breadcrumb.is-small {
  font-size: 0.75rem;
}

.breadcrumb.is-medium {
  font-size: 1.25rem;
}

.breadcrumb.is-large {
  font-size: 1.5rem;
}

.breadcrumb.has-arrow-separator li + li::before {
  content: "›";
}

.breadcrumb.has-bullet-separator li + li::before {
  content: "•";
}

.breadcrumb.has-dot-separator li + li::before {
  content: "·";
}

.breadcrumb.has-succeeds-separator li + li::before {
  content: "≻";
}



/* Адаптивные стили для хедера */
@media (max-width: 768px) {
  .header-container {
    padding: 8px 16px;
    flex-direction: column;
    gap: 12px;
  }
  
  .header-right .row {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .header-actions {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  
  .breadcrumb {
    font-size: 12px;
  }
  
  .accounts-count {
    font-size: 12px;
  }
}

/* Стили для guide страницы */
.guide-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.guide-header {
  text-align: center;
  margin-bottom: 40px;
}

.guide-header h1 {
  color: var(--color-text-primary);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.guide-subtitle {
  color: var(--color-text-secondary);
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.guide-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  flex: 1;
}

.guide-video-section {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.guide-video-section h2 {
  color: var(--color-text-primary);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.guide-text-section {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.guide-text-section h2 {
  color: var(--color-text-primary);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
}

.guide-step {
  margin-bottom: 32px;
}

.guide-step:last-child {
  margin-bottom: 0;
}

.guide-step h3 {
  color: var(--color-accent);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}

.step-content {
  color: var(--color-text-primary);
  line-height: 1.6;
}

.step-content p {
  margin-bottom: 16px;
}

.step-content ul {
  margin: 16px 0;
  padding-left: 24px;
}

.step-content li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.tip {
  background: #f0f8ff;
  border-left: 4px solid var(--color-accent);
  padding: 16px;
  margin: 16px 0;
  border-radius: 4px;
}

.parameters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.parameter {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.parameter h4 {
  color: var(--color-text-primary);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.parameter p {
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}

.status-yes {
  color: #22c55e;
  font-weight: 600;
}

.status-no {
  color: #ef4444;
  font-weight: 600;
}

.status-valid {
  color: #22c55e;
  font-weight: 600;
}

.status-captcha {
  color: #eab308;
  font-weight: 600;
}

.status-logout {
  color: #3b82f6;
  font-weight: 600;
}

.badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tag {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 500;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
}

.link {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.link-muted {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.link-muted:hover {
  color: var(--color-text-primary);
}

.username-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.username-link {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.username-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.search-icon {
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.search-icon:hover {
  opacity: 1;
}

.col-username {
  min-width: 150px;
  max-width: 200px;
}

tr.selected {
  background: rgba(37, 99, 235, 0.05) !important;
}

tr.selected:hover {
  background: rgba(37, 99, 235, 0.08) !important;
}

.price-minor {
  opacity: 0.7;
  font-size: 0.85em;
}

.hint {
  color: var(--color-text-secondary);
  font-size: 13px;
}

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

.title {
  color: var(--color-text-primary);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

.subtitle {
  color: var(--color-text-primary);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

strong {
  font-weight: 600;
  color: var(--color-text-primary);
}

.recommendations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.recommendation {
  border-radius: var(--radius-sm);
  padding: 20px;
}

.recommendation.good {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.recommendation.caution {
  background: #fefce8;
  border: 1px solid #fde047;
}

.recommendation h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.recommendation.good h4 {
  color: #16a34a;
}

.recommendation.caution h4 {
  color: #ca8a04;
}

.recommendation ul {
  margin: 12px 0;
  padding-left: 20px;
}

.recommendation li {
  margin-bottom: 6px;
  line-height: 1.4;
}

/* Новые стили для переработанного руководства */
.filter-category {
  margin-bottom: 24px;
  padding: 20px;
  background: var(--color-surface-2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.filter-category h4 {
  color: var(--color-text-primary);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-details {
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.filter-details p {
  margin-bottom: 12px;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
}

.option {
  padding: 12px;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.checkbox-label {
  font-weight: 600;
  color: var(--color-text-primary);
  display: block;
  margin-bottom: 4px;
}

.description {
  color: var(--color-text-secondary);
  font-size: 14px;
  margin-bottom: 6px;
}

.example {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 12px;
  margin: 12px 0;
}

.example strong {
  color: var(--color-text-primary);
  display: block;
  margin-bottom: 8px;
}

.example ul {
  margin: 8px 0;
  padding-left: 20px;
}

.example li {
  margin-bottom: 4px;
  font-size: 14px;
}

.example code {
  background: #e2e8f0;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 13px;
}

.status-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.status-option {
  padding: 16px;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.status-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.status-badge.valid {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.status-badge.captcha {
  background: rgba(234, 179, 8, 0.15);
  color: #eab308;
}

.status-badge.logout {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

.sb-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.sb-option {
  padding: 16px;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.sb-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.sb-badge.no {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.sb-badge.yes {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.price-note {
  font-size: 12px;
  color: var(--color-accent);
  font-weight: 500;
  margin-top: 8px;
  padding: 4px 8px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 3px;
}

.phone-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.phone-option {
  padding: 16px;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.phone-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.phone-badge.yes {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.phone-badge.no {
  background: rgba(107, 114, 128, 0.15);
  color: #6b7280;
}

.selection-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0;
}

.method {
  padding: 20px;
  background: var(--color-surface-2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.method h4 {
  color: var(--color-text-primary);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.method p {
  color: var(--color-text-secondary);
  margin-bottom: 12px;
}

.random-sample-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 12px 0;
}

.random-option {
  padding: 12px;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.limit-note {
  font-size: 12px;
  color: var(--color-danger);
  font-weight: 500;
  margin-top: 4px;
}

.cart-tracking {
  margin-top: 24px;
  padding: 20px;
  background: #f0f8ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-sm);
}

.cart-tracking h4 {
  color: var(--color-accent);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.cart-item .label {
  font-weight: 500;
  color: var(--color-text-primary);
}

.cart-item .value {
  color: var(--color-text-secondary);
  font-size: 14px;
}

.checkout-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0;
}

.checkout-step {
  padding: 20px;
  background: var(--color-surface-2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.checkout-step h4 {
  color: var(--color-text-primary);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkout-step p {
  color: var(--color-text-secondary);
  margin-bottom: 12px;
}

.action {
  padding: 12px;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.action strong {
  color: var(--color-accent);
}

.payment-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.payment-option {
  padding: 8px 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
}

.payment-option.disabled {
  opacity: 0.4;
  color: var(--color-text-secondary);
  background: var(--color-surface-2);
  border-color: #d1d5db;
  cursor: not-allowed;
}

.delivery-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
}

.delivery-time,
.delivery-format,
.delivery-content {
  padding: 8px 12px;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
}

.purchase-examples {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 20px 0;
}

.example-scenario {
  padding: 24px;
  background: var(--color-surface-2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.example-scenario h4 {
  color: var(--color-text-primary);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.scenario-filters {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
}

.filter-setting {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.filter-name {
  font-weight: 600;
  color: var(--color-text-primary);
  min-width: 80px;
}

.filter-value {
  font-weight: 500;
  color: var(--color-accent);
  background: rgba(37, 99, 235, 0.1);
  padding: 4px 8px;
  border-radius: 3px;
}

.filter-reason {
  color: var(--color-text-secondary);
  font-size: 14px;
  flex: 1;
}

.scenario-result {
  margin-top: 16px;
  padding: 16px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-sm);
}

.scenario-result strong {
  color: #16a34a;
}

.recommendation li {
  margin-bottom: 6px;
  line-height: 1.4;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.faq-item h4 {
  color: var(--color-text-primary);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.faq-item p {
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin: 0;
}

.cta-section {
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-top: 40px;
  box-shadow: var(--shadow-md);
}

.cta-section h3 {
  color: var(--color-text-primary);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
}

.cta-section p {
  color: var(--color-text-secondary);
  font-size: 16px;
  margin-bottom: 24px;
}

.cta-section .button {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  padding: 12px 24px;
  min-height: 48px;
}

.guide-footer {
  margin-top: 40px;
}

/* Стили для body guide страницы */
.guide-page-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.guide-page-body .container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Адаптивные стили для guide страницы */
@media (max-width: 768px) {
  .guide-page {
    padding: 16px 0;
  }
  
  .guide-header h1 {
    font-size: 24px;
  }
  
  .guide-subtitle {
    font-size: 16px;
  }
  
  .guide-video-section,
  .guide-text-section,
  .cta-section {
    padding: 16px;
  }
  
  .guide-footer {
    margin-top: 24px;
  }
  
  .guide-video-section h2,
  .guide-text-section h2,
  .cta-section h3 {
    font-size: 20px;
  }
  
  .guide-step h3 {
    font-size: 18px;
  }
  
  .button.is-large {
    font-size: 16px;
    padding: 14px 24px;
    min-height: 48px;
  }
  
  .parameters-grid {
    grid-template-columns: 1fr;
  }
  
  .recommendations {
    grid-template-columns: 1fr;
  }
}

.layout { 
  display: flex; 
  gap: 16px; 
  flex: 1;
}
.aside { flex: 0 0 280px; width: 280px; min-width: 280px; max-width: 280px; }
.content { flex: 1; display: flex; flex-direction: column; }
.aside .form .row { width: 100%; }
.aside .form .row .form-control { width: 100%; }
.aside .form .row input[type="number"] { width: 100%; }
.content { flex: 1; min-width: 0; }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.form { display:flex; flex-direction: column; gap: 12px; }
.form-group { display:flex; flex-direction: column; gap: 6px; }
.form-control {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
}
/* Адаптация Bulma под палитру проекта */
.button.is-primary { background: var(--color-accent); border-color: var(--color-accent); }
.button.is-danger { background: #ef4444; border-color: #ef4444; }
.button.is-light { background: var(--color-surface-2); border: 1px solid var(--color-border); color: var(--color-text-primary); }

.button.is-large {
  font-size: 18px;
  padding: 16px 32px;
  min-height: 56px;
}
.button.is-light:hover { filter: brightness(0.98); }

.table-wrap { 
  overflow: auto; 
  margin: 0 -12px;
  padding: 0 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

table { 
  width: 100%; 
  border-collapse: collapse; 
  background: var(--color-surface);
  table-layout: fixed;
  flex: 1;
}
th, td { 
  padding: 10px 8px; 
  border-bottom: 1px solid var(--color-border); 
  text-align: left; 
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Убираем точки и псевдоэлементы у чекбоксов */
input[type="checkbox"]::before,
input[type="checkbox"]::after {
  display: none !important;
  content: none !important;
}

/* Убираем стили Bulma для чекбоксов */
.checkbox::after,
.checkbox::before,
.radio::after,
.radio::before {
  display: none !important;
  content: none !important;
}

/* Агрессивное удаление точек от Bulma CSS */
.is-checkradio[type="checkbox"] + label::before,
.is-checkradio[type="checkbox"] + label::after,
.is-checkradio[type="radio"] + label::before,
.is-checkradio[type="radio"] + label::after {
  display: none !important;
  content: none !important;
}

/* Убираем точки от всех возможных checkbox стилей */
input[type="checkbox"] + label::before,
input[type="checkbox"] + label::after,
input[type="radio"] + label::before,
input[type="radio"] + label::after {
  display: none !important;
  content: none !important;
}

/* Отключаем все custom checkbox стили */
.custom-checkbox::before,
.custom-checkbox::after,
.custom-radio::before,
.custom-radio::after {
  display: none !important;
  content: none !important;
}

/* Убираем все возможные псевдоэлементы в ячейках таблицы */
td::after,
td::before {
  display: none !important;
  content: none !important;
}

/* Дополнительная очистка от Bulma и других CSS framework */
.table td::after,
.table td::before,
.table th::after,
.table th::before {
  display: none !important;
  content: none !important;
}

/* Убираем точки и другие артефакты */
input[type="checkbox"] + *::after,
input[type="checkbox"] + *::before,
label::after,
label::before {
  display: none !important;
  content: none !important;
}

/* Принудительная очистка всех псевдоэлементов в таблице */
#accounts-table *::before,
#accounts-table *::after {
  display: none !important;
  content: none !important;
}



/* Дополнительная агрессивная очистка точек */
td:first-child::after,
td:first-child::before,
th:first-child::after,
th:first-child::before {
  display: none !important;
  content: none !important;
  visibility: hidden !important;
}

/* Убираем все возможные точки от Bulma */
.table td:first-child::after,
.table td:first-child::before,
.table th:first-child::after,
.table th:first-child::before {
  display: none !important;
  content: none !important;
  visibility: hidden !important;
}

/* Убираем точки от любых CSS frameworks */
*[class*="table"] td:first-child::after,
*[class*="table"] td:first-child::before,
*[class*="table"] th:first-child::after,
*[class*="table"] th:first-child::before {
  display: none !important;
  content: none !important;
  visibility: hidden !important;
}

/* Принудительное удаление всех псевдоэлементов в первой колонке */
tbody tr td:first-child::after,
tbody tr td:first-child::before,
thead tr th:first-child::after,
thead tr th:first-child::before {
  display: none !important;
  content: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
}

th[data-sort] { cursor: pointer; }

/* Десктопные размеры колонок */
.col-username { 
  width: 25%; 
}

/* Специальные стили для колонки username с иконкой поиска */
.col-username,
th:nth-child(2), td:nth-child(2) {
  position: relative;
  overflow: visible !important;
  text-overflow: clip !important;
}

/* Контейнер для username и иконки поиска */
.username-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
}

/* Ссылка username с ellipsis */
.username-link {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Иконка поиска всегда справа */
.search-icon {
  flex: 0 0 auto;
  margin-left: auto;
  display: inline-flex !important;
  align-items: center;
}

th:nth-child(1), td:nth-child(1) { 
  width: 50px !important; 
  min-width: 50px !important;
  max-width: 50px !important;
  position: relative;
  flex-shrink: 0 !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
} /* чекбокс */

/* Специально убираем псевдоэлементы в первой колонке */
th:nth-child(1)::before,
th:nth-child(1)::after,
td:nth-child(1)::before,
td:nth-child(1)::after {
  display: none !important;
  content: none !important;
}

/* Убираем псевдоэлементы у чекбокса в первой колонке */
td:nth-child(1) input[type="checkbox"]::before,
td:nth-child(1) input[type="checkbox"]::after,
th:nth-child(1) input[type="checkbox"]::before,
th:nth-child(1) input[type="checkbox"]::after {
  display: none !important;
  content: none !important;
}
th:nth-child(3), td:nth-child(3) { width: 15%; } /* дата */
th:nth-child(4), td:nth-child(4) { 
  width: 60px !important; 
  min-width: 60px !important;
  max-width: 60px !important;
  text-align: center; 
  flex-shrink: 0 !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
} /* дни */
th:nth-child(5), td:nth-child(5) { width: 8%; text-align: center; } /* SB */
th:nth-child(6), td:nth-child(6) { width: 8%; text-align: center; } /* телефон */
th:nth-child(7), td:nth-child(7) { width: 12%; } /* статус */
th:nth-child(8), td:nth-child(8) { width: 12%; text-align: right; } /* фолловеры */
th:nth-child(9), td:nth-child(9) { 
  width: 12%; 
  text-align: right; 
  min-width: 80px; /* Минимальная ширина для цены */
  white-space: nowrap; /* Запрещаем перенос */
} /* цена */
.hint { color: var(--color-text-secondary); font-size: 12px; }
.badge { padding: 1px 5px; border-radius: 12px; display:inline-block; font-size: 11px; }
.link { color: var(--color-accent); font-weight: 600; text-decoration: none; }
.link-muted { color: var(--color-text-secondary); text-decoration: none; }

/* Отображение цены: мелкие последние два знака */
.price-minor { 
  opacity: 0.4; 
  font-size: 0.75em; 
  font-weight: normal; 
}

/* Улучшаем отображение цен на мобильных */
@media (max-width: 768px) {
  th:nth-child(9), td:nth-child(9) { /* цена */
    font-weight: 600;
    color: var(--color-accent);
  }
  
  .price-minor {
    opacity: 0.6;
    font-size: 0.8em;
  }
}

/* Дополнительная защита цены от обрезания */
th:nth-child(9), td:nth-child(9) {
  overflow: visible !important; /* Запрещаем обрезание */
  text-overflow: clip !important; /* Запрещаем многоточие */
}

/* Принудительное отображение цены */
@media (max-width: 1400px) {
  th:nth-child(9), td:nth-child(9) {
    min-width: 80px !important;
  }
}

@media (max-width: 1200px) {
  th:nth-child(9), td:nth-child(9) {
    min-width: 70px !important;
  }
}

@media (max-width: 768px) {
  th:nth-child(9), td:nth-child(9) {
    min-width: 80px !important;
  }
}

@media (max-width: 480px) {
  th:nth-child(9), td:nth-child(9) {
    min-width: 70px !important;
  }
}

/* Выделение выбранной строки */
tr.selected { background: #eef2ff; }
tr:hover { background: #f8fafc; }

/* Пагинация */
#pagination .form-control { background: var(--color-surface-2); }

/* Стили для неактивных кнопок пагинации */
#pagination .button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--color-surface-2);
  color: var(--color-text-secondary);
}

#pagination .button:disabled:hover {
  background: var(--color-surface-2);
  color: var(--color-text-secondary);
}

/* Визуальное разделение секций фильтров */
.filters .filter-section { padding: 10px 0; border-bottom: 1px dashed var(--color-border); }
.filters .filter-section:last-child { border-bottom: 0; }
.filter-section-title { font-size: 14px; font-weight: 700; color: var(--color-text-primary); text-transform: uppercase; letter-spacing: .04em; }

/* Filter labels visibility */
.filter-section label span,
.filter-section .hint {
  color: var(--color-text-primary);
}

/* Range control styling */
input[type="range"] {
  width: 100%;
}

/* Soft minimal theme for noUiSlider (вписывается в текущую палитру) */
.noUi-target { border: 0; box-shadow: none; background: transparent; }
.noUi-horizontal .noUi-connects {
  background: var(--color-border);
  height: 4px;
  border-radius: 999px;
}
.noUi-horizontal .noUi-connect {
  background: var(--color-accent);
  border-radius: 999px;
}
.noUi-horizontal .noUi-handle {
  width: 18px; height: 12px; right: -9px; top: -4px;
  border-radius: 4px;
  background: #fff;
  border: 2px solid var(--color-accent);
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.12);
  cursor: pointer;
}
.noUi-handle:before { display: none; }
/* внутренняя вертикальная риска */
.noUi-horizontal .noUi-handle::after {
  content: '';
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 2px; height: 8px; border-radius: 1px;
  background: var(--color-accent);
}
.noUi-handle:hover { transform: scale(1.03); }
.noUi-active { transform: scale(1.05); }
.noUi-touch-area { background: transparent; }
.noUi-connect, .noUi-handle { transition: transform .15s ease, box-shadow .15s ease; }
.noUi-handle:focus-visible { outline: 3px solid rgba(37,99,235,.25); outline-offset: 2px; }

/* Мобильное меню фильтров */
.mobile-filters-toggle {
  display: none;
  width: 100%;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: var(--color-accent);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mobile-filters-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.mobile-filters-toggle.active svg {
  transform: rotate(180deg);
}

/* Адаптивные стили для планшетов */
@media (max-width: 1024px) {
  .layout { flex-direction: column; }
  .aside { flex-basis: auto; width: 100%; max-width: none; }
  .header-container { padding: 12px 16px; }
  .container { padding: 12px 16px; }
}

/* Адаптивные стили для средних экранов */
@media (max-width: 1200px) {
  /* Скрываем дату регистрации */
  th:nth-child(3), td:nth-child(3) {
    display: none;
  }
  
  /* Оптимизируем ширину колонок для средних экранов */
  th:nth-child(1), td:nth-child(1) { /* чекбокс */
    width: 45px !important;
    min-width: 45px !important;
    max-width: 45px !important;
    flex-shrink: 0 !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  
  th:nth-child(2), td:nth-child(2) { /* юзернейм */
    width: 25%;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  
  th:nth-child(4), td:nth-child(4) { /* дни */
    width: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    text-align: center;
    flex-shrink: 0 !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
  }
  
  th:nth-child(5), td:nth-child(5) { /* SB */
    width: 10%;
    text-align: center;
  }
  
  th:nth-child(6), td:nth-child(6) { /* телефон */
    width: 10%;
    text-align: center;
  }
  
  th:nth-child(7), td:nth-child(7) { /* статус */
    width: 12%;
  }
  
  th:nth-child(8), td:nth-child(8) { /* фолловеры */
    width: 15%;
    text-align: right;
  }
  
  th:nth-child(9), td:nth-child(9) { /* цена */
    width: 15%;
    text-align: right;
    min-width: 70px; /* Минимальная ширина для цены */
    white-space: nowrap; /* Запрещаем перенос */
  }
}

/* Адаптивные стили для маленьких планшетов */
@media (max-width: 900px) {
  /* Скрываем статус */
  th:nth-child(7), td:nth-child(7) {
    display: none;
  }
  
  /* Дополнительная оптимизация для маленьких экранов */
  th:nth-child(1), td:nth-child(1) { /* чекбокс */
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    flex-shrink: 0 !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  
  th:nth-child(2), td:nth-child(2) { /* юзернейм */
    width: 30%;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  
  th:nth-child(4), td:nth-child(4) { /* дни */
    width: 45px !important;
    min-width: 45px !important;
    max-width: 45px !important;
    text-align: center;
    flex-shrink: 0 !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
  }
  
  th:nth-child(5), td:nth-child(5) { /* SB */
    width: 12%;
    text-align: center;
  }
  
  th:nth-child(6), td:nth-child(6) { /* телефон */
    width: 12%;
    text-align: center;
  }
  
  th:nth-child(8), td:nth-child(8) { /* фолловеры */
    width: 15%;
    text-align: right;
  }
  
  th:nth-child(9), td:nth-child(9) { /* цена */
    width: 15%;
    text-align: right;
    min-width: 70px; /* Минимальная ширина для цены */
    white-space: nowrap; /* Запрещаем перенос */
  }
}



/* Адаптивные стили для мобильных устройств */
@media (max-width: 768px) {
  /* Хедер */
  .header {
    min-height: auto; /* Убираем фиксированную высоту на мобильных */
  }
  
  .header-container {
    padding: 8px 12px;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    min-height: auto; /* Убираем фиксированную высоту на мобильных */
  }
  
  .header-left {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .header .title {
    font-size: 18px;
  }
  
  .header-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  
  /* Первая строка: корзина и основные кнопки */
  .header-right .row:first-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }
  
  /* Вторая строка: настройки и дополнительные кнопки */
  .header-right .row:last-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }
  
  .cart {
    font-size: 14px;
    justify-content: center;
    padding: 10px 12px;
    background: var(--color-surface-2);
    border-radius: var(--radius-sm);
    flex: 1;
    max-width: 120px;
  }
  
  /* Кнопки в хедере */
  .header-right .button {
    flex: 1;
    min-height: 40px;
    font-size: 14px;
    padding: 8px 12px;
    max-width: 120px;
    border-radius: 12px !important;
  }
  
  /* Селект per page */
  #per-page {
    min-width: 80px;
    max-width: 100px;
    border-radius: 12px !important;
  }
  
  /* Группировка кнопок */
  .header-actions {
    display: flex;
    gap: 8px;
    flex: 1;
    justify-content: flex-end;
  }
  
  /* Контейнер */
  .container {
    padding: 8px 12px;
  }
  
  /* Карточки */
  .card {
    padding: 12px;
    border-radius: var(--radius-sm);
  }
  
  /* Кнопки */
  .button {
    padding: 10px 16px;
    font-size: 14px;
    min-height: 44px; /* Минимальная высота для touch */
  }
  
  /* Формы */
  .form-control {
    padding: 12px 14px;
    font-size: 16px; /* Предотвращает zoom на iOS */
    min-height: 44px;
  }
  
  /* Таблицы */
  .table-wrap {
    margin: 0 -12px;
    padding: 0 12px;
  }
  
  table {
    font-size: 14px;
  }
  
  th, td {
    padding: 8px 6px;
  }
  
  /* Мобильное меню фильтров */
  .mobile-filters-toggle {
    display: flex;
  }
  
  .aside {
    display: none;
    margin-bottom: 16px;
  }
  
  .aside.active {
    display: block;
  }
  
  /* Фильтры на мобильных */
  .filters .filter-section {
    padding: 12px 0;
  }
  
  .filter-section-title {
    font-size: 13px;
    margin-bottom: 8px;
  }
  
  /* Слайдеры на мобильных */
  .noUi-horizontal .noUi-handle {
    width: 24px;
    height: 16px;
    right: -12px;
    top: -6px;
  }
  
  /* Пагинация */
  #pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }
  
  #pagination .button {
    min-width: 44px;
    min-height: 44px;
  }
  
  /* Футер */
  .footer {
    padding: 12px 16px;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* Адаптивные стили для очень маленьких экранов */
@media (max-width: 480px) {
  .header {
    min-height: auto; /* Убираем фиксированную высоту на очень маленьких экранах */
  }
  
  .header-container {
    padding: 6px 8px;
    min-height: auto; /* Убираем фиксированную высоту на очень маленьких экранах */
  }
  
  .header .title {
    font-size: 16px;
  }
  
  .header-right {
    gap: 6px;
  }
  
  .cart {
    font-size: 13px;
    gap: 4px;
  }
  
  .container {
    padding: 6px 8px;
  }
  
  .card {
    padding: 10px;
  }
  
  .button {
    padding: 8px 12px;
    font-size: 13px;
  }
  
  .form-control {
    padding: 10px 12px;
    font-size: 16px;
  }
  
  table {
    font-size: 13px;
  }
  
  th, td {
    padding: 6px 4px;
  }
  

  
  /* Оставляем: чекбокс, юзернейм, дни, SB, фолловеры, цена */
  .col-username {
    width: 35%;
  }
  
  /* Дополнительная оптимизация таблицы на очень маленьких экранах */
  table {
    font-size: 12px;
  }
  
  th:nth-child(1), td:nth-child(1) { /* чекбокс */
    width: 35px !important;
    min-width: 35px !important;
    max-width: 35px !important;
    flex-shrink: 0 !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  
  th:nth-child(2), td:nth-child(2) { /* юзернейм */
    width: 35%;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  
  th:nth-child(4), td:nth-child(4) { /* дни */
    width: 35px !important;
    min-width: 35px !important;
    max-width: 35px !important;
    text-align: center;
    flex-shrink: 0 !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
  }
  
  th:nth-child(5), td:nth-child(5) { /* SB */
    width: 15%;
  }
  
  th:nth-child(8), td:nth-child(8) { /* фолловеры */
    width: 10%;
  }
  
  th:nth-child(9), td:nth-child(9) { /* цена */
    width: 20%;
    min-width: 70px; /* Минимальная ширина для цены */
    white-space: nowrap; /* Запрещаем перенос */
  }
  
  /* Уменьшаем отступы в фильтрах */
  .filters .filter-section {
    padding: 8px 0;
  }
  
  .filter-section-title {
    font-size: 12px;
  }
}

/* Адаптация username контейнера для мобильных */
@media (max-width: 768px) {
  .username-container {
    gap: 4px;
  }
  
  .search-icon {
    margin-left: 4px;
  }
  

}

@media (max-width: 480px) {
  .username-container {
    gap: 2px;
  }
  
  .search-icon {
    margin-left: 2px;
  }
  
  .search-icon svg {
    width: 12px;
    height: 12px;
  }
  

}

/* Улучшения для touch-устройств */
@media (hover: none) and (pointer: coarse) {
  /* Увеличиваем области нажатия */
  .button {
    min-height: 48px;
  }
  
  .form-control {
    min-height: 48px;
  }
  
  /* Убираем hover эффекты */
  tr:hover {
    background: inherit;
  }
  
  .button.is-light:hover {
    filter: none;
  }
  
  /* Увеличиваем слайдеры */
  .noUi-horizontal .noUi-handle {
    width: 28px;
    height: 20px;
    right: -14px;
    top: -8px;
  }
  
  /* Улучшаем скролл таблиц */
  .table-wrap {
    -webkit-overflow-scrolling: touch;
  }
}

/* Темная тема для устройств с темным режимом - отключена */
/* @media (prefers-color-scheme: dark) {
  :root {
    --color-bg-page: #0f172a;
    --color-surface: #1e293b;
    --color-surface-2: #334155;
    --color-border: #475569;
    --color-text-primary: #f1f5f9;
    --color-text-secondary: #cbd5e1;
  }
  
  body {
    background: var(--color-bg-page);
    color: var(--color-text-primary);
  }
  
  .form-control {
    background: var(--color-surface-2);
    border-color: var(--color-border);
    color: var(--color-text-primary);
  }
  
  .button.is-light {
    background: var(--color-surface-2);
    border-color: var(--color-border);
    color: var(--color-text-primary);
  }
  
  tr:hover {
    background: var(--color-surface-2);
  }
  
  tr.selected {
    background: rgba(37, 99, 235, 0.2);
  }
} */

/* Дополнительные улучшения для мобильных устройств */
@media (max-width: 768px) {
  /* Улучшаем доступность для touch-устройств */
  input[type="checkbox"], input[type="radio"] {
    min-width: 20px;
    min-height: 20px;
  }
  
  /* Улучшаем скролл на iOS */
  .table-wrap {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  
  /* Скрываем скроллбар на мобильных для чистоты */
  .table-wrap::-webkit-scrollbar {
    height: 4px;
  }
  
  .table-wrap::-webkit-scrollbar-track {
    background: var(--color-surface-2);
  }
  
  .table-wrap::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 2px;
  }
  
  /* Адаптивная таблица без горизонтального скролла */
  .table-wrap {
    overflow: visible;
    margin: 0;
    padding: 0;
  }
  
  table {
    width: 100%;
    min-width: auto;
    table-layout: fixed;
  }
  
  /* Оптимизируем отображение длинных имен пользователей */
  .col-username {
    max-width: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  
  /* Адаптивные колонки для мобильных (768px и меньше) */
  th:nth-child(1), td:nth-child(1) { /* чекбокс */
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    flex-shrink: 0 !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  
  th:nth-child(2), td:nth-child(2) { /* юзернейм */
    width: 40%;
    min-width: auto;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  
  th:nth-child(4), td:nth-child(4) { /* дни */
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    text-align: center;
    flex-shrink: 0 !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
  }
  
  th:nth-child(5), td:nth-child(5) { /* SB */
    width: 12%;
    min-width: auto;
    text-align: center;
  }
  
  th:nth-child(8), td:nth-child(8) { /* фолловеры */
    width: 12%;
    min-width: auto;
    text-align: right;
  }
  
  th:nth-child(9), td:nth-child(9) { /* цена */
    width: 20%;
    min-width: 80px; /* Минимальная ширина для цены */
    text-align: right;
    white-space: nowrap; /* Запрещаем перенос */
  }
  
  /* Скрываем телефон на мобильных */
  th:nth-child(6), td:nth-child(6) {
    display: none;
  }
  
  /* Улучшаем отображение статусов */
  .badge {
    font-size: 10px;
    padding: 1px 3px;
    border-radius: 10px;
  }
  
  /* Оптимизируем пагинацию */
  #pagination {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  #pagination .button {
    margin: 2px;
  }
}

/* Улучшения для очень маленьких экранов */
@media (max-width: 480px) {
  /* Уменьшаем отступы еще больше */
  .card {
    margin-bottom: 8px;
  }
  
  /* Оптимизируем отображение цен */
  .price-minor {
    font-size: 0.7em;
  }
  
  /* Улучшаем отображение кнопок в хедере */
  .header-right .button {
    padding: 6px 8px;
    font-size: 12px;
    min-height: 36px;
    border-radius: 10px !important;
  }
  
  /* Оптимизируем отображение корзины */
  .cart {
    font-size: 12px;
    padding: 6px;
  }
  
  .cart-icon svg {
    width: 16px;
    height: 16px;
  }
  
  /* Уменьшаем отступы в хедере */
  .header-right .row:first-child,
  .header-right .row:last-child {
    gap: 6px;
  }
  
  /* Селект per page на маленьких экранах */
  #per-page {
    min-width: 60px;
    max-width: 80px;
    border-radius: 8px !important;
  }
  
  /* Оптимизация кнопок на маленьких экранах */
  .header-right .button {
    max-width: 100px;
    font-size: 12px;
    padding: 6px 8px;
    border-radius: 8px !important;
  }
  
  .cart {
    max-width: 100px;
    font-size: 12px;
    padding: 8px 10px;
  }
}

/* Улучшения для ландшафтной ориентации на мобильных */
@media (max-width: 768px) and (orientation: landscape) {
  .header-container {
    padding: 6px 12px;
  }
  
  .header .title {
    font-size: 16px;
  }
  
  .container {
    padding: 6px 12px;
  }
  
  .card {
    padding: 8px;
  }
  
  /* Показываем фильтры в ландшафтной ориентации */
  .aside {
    display: block !important;
  }
  
  .mobile-filters-toggle {
    display: none !important;
  }
}

/* Стили для guide страницы */
.guide-page-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.guide-page-body .container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.guide-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.guide-header {
  text-align: center;
  margin-bottom: 40px;
}

.guide-header h1 {
  color: var(--color-text-primary);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}

.guide-subtitle {
  color: var(--color-text-secondary);
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
}

.guide-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  flex: 1;
}

.guide-video-section {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.guide-video-section h2 {
  color: var(--color-text-primary);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.guide-text-section {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.guide-text-section h2 {
  color: var(--color-text-primary);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
}

.guide-step {
  margin-bottom: 32px;
}

.guide-step:last-child {
  margin-bottom: 0;
}

.guide-step h3 {
  color: var(--color-accent);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}

.step-content {
  color: var(--color-text-primary);
  line-height: 1.6;
}

.step-content p {
  margin-bottom: 16px;
}

.step-content ul {
  margin: 16px 0;
  padding-left: 24px;
}

.step-content li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.tip {
  background: #f0f8ff;
  border-left: 4px solid var(--color-accent);
  padding: 16px;
  margin: 16px 0;
  border-radius: 4px;
}

.parameters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.parameter {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.parameter h4 {
  color: var(--color-text-primary);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.parameter p {
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}

.status-yes {
  color: #22c55e;
  font-weight: 600;
}

.status-no {
  color: #ef4444;
  font-weight: 600;
}

.status-valid {
  color: #22c55e;
  font-weight: 600;
}

.status-captcha {
  color: #eab308;
  font-weight: 600;
}

.status-logout {
  color: #3b82f6;
  font-weight: 600;
}

.recommendations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.recommendation {
  border-radius: var(--radius-sm);
  padding: 20px;
}

.recommendation.good {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.recommendation.caution {
  background: #fefce8;
  border: 1px solid #fde047;
}

.recommendation h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.recommendation.good h4 {
  color: #16a34a;
}

.recommendation.caution h4 {
  color: #ca8a04;
}

.recommendation ul {
  margin: 0;
  padding-left: 20px;
}

.recommendation li {
  margin-bottom: 6px;
  line-height: 1.4;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.faq-item h4 {
  color: var(--color-text-primary);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.faq-item p {
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin: 0;
}

.cta-section {
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-top: 40px;
  box-shadow: var(--shadow-md);
}

.cta-section h3 {
  color: var(--color-text-primary);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
}

.cta-section p {
  color: var(--color-text-secondary);
  font-size: 16px;
  margin-bottom: 24px;
}

.cta-section .button {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  padding: 12px 24px;
  min-height: 48px;
}

.guide-footer {
  margin-top: 40px;
}

.badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tag {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 500;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
}

.link {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.link-muted {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.link-muted:hover {
  color: var(--color-text-primary);
}

.username-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.username-link {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.username-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.search-icon {
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.search-icon:hover {
  opacity: 1;
}

.col-username {
  min-width: 150px;
  max-width: 200px;
}

tr.selected {
  background: rgba(37, 99, 235, 0.05) !important;
}

tr.selected:hover {
  background: rgba(37, 99, 235, 0.08) !important;
}

.price-minor {
  opacity: 0.7;
  font-size: 0.85em;
}

.hint {
  color: var(--color-text-secondary);
  font-size: 13px;
}

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

.title {
  color: var(--color-text-primary);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

.subtitle {
  color: var(--color-text-primary);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

strong {
  font-weight: 600;
  color: var(--color-text-primary);
}

/* Адаптивные стили для guide страницы */
@media (max-width: 768px) {
  .guide-page {
    padding: 16px 0;
  }
  
  .guide-header h1 {
    font-size: 24px;
  }
  
  .guide-subtitle {
    font-size: 16px;
  }
  
  .guide-video-section,
  .guide-text-section,
  .cta-section {
    padding: 16px;
  }
  
  .guide-footer {
    margin-top: 24px;
  }
  
  .guide-video-section h2,
  .guide-text-section h2,
  .cta-section h3 {
    font-size: 20px;
  }
  
  .guide-step h3 {
    font-size: 18px;
  }
  
  .button.is-large {
    font-size: 16px;
    padding: 14px 24px;
    min-height: 48px;
  }
  
  .parameters-grid {
    grid-template-columns: 1fr;
  }
  
  .recommendations {
    grid-template-columns: 1fr;
  }
}

/* Стили для уведомления о техническом обслуживании */
.maintenance-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.maintenance-modal {
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  max-width: 500px;
  margin: 20px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: maintenance-fade-in 0.3s ease-out;
}

@keyframes maintenance-fade-in {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.maintenance-icon {
  font-size: 48px;
  margin-bottom: 16px;
  color: #f59e0b;
}

.maintenance-title {
  color: var(--color-text-primary);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.maintenance-message {
  color: var(--color-text-secondary);
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 24px;
}

.maintenance-urgent {
  color: var(--color-text-primary);
  font-size: 15px;
  line-height: 1.4;
  margin: 20px 0 16px 0;
  padding: 16px;
  background: #fef3c7;
  border: 1px solid #f59e0b;
  border-radius: var(--radius-sm);
}

.maintenance-urgent strong {
  color: #d97706;
  font-weight: 700;
}

.maintenance-contact {
  margin: 20px 0;
}

.maintenance-support {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: #0088cc;
  color: white !important;
  text-decoration: none !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 136, 204, 0.3);
}

.maintenance-support:hover {
  background: #006699;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 136, 204, 0.4);
  color: white !important;
  text-decoration: none !important;
}

.maintenance-footer {
  color: var(--color-text-secondary);
  font-size: 14px;
  font-style: italic;
}

/* Адаптивные стили для мобильных устройств */
@media (max-width: 768px) {
  .maintenance-modal {
    margin: 16px;
    padding: 24px;
  }
  
  .maintenance-icon {
    font-size: 40px;
    margin-bottom: 12px;
  }
  
  .maintenance-title {
    font-size: 20px;
    margin-bottom: 12px;
  }
  
  .maintenance-message {
    font-size: 14px;
    margin-bottom: 20px;
  }
  
  .maintenance-urgent {
    font-size: 14px;
    margin: 16px 0 12px 0;
    padding: 12px;
  }
  
  .maintenance-support {
    font-size: 14px;
    padding: 10px 16px;
  }
  
  .maintenance-footer {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .maintenance-modal {
    margin: 12px;
    padding: 20px;
  }
  
  .maintenance-icon {
    font-size: 36px;
  }
  
  .maintenance-title {
    font-size: 18px;
  }
  
  .maintenance-message {
    font-size: 13px;
  }
  
  .maintenance-urgent {
    font-size: 13px;
    margin: 14px 0 10px 0;
    padding: 10px;
  }
  
  .maintenance-support {
    font-size: 13px;
    padding: 8px 14px;
  }
  
  .maintenance-footer {
    font-size: 12px;
  }
}

/* Глобальные стили для кнопок в хедере - переопределяют Bulma */
.header-right .button {
  border-radius: 8px !important;
}

.header-right #per-page {
  border-radius: 8px !important;
}

/* Мобильные стили для кнопок в хедере */
@media (max-width: 768px) {
  .header-right .button {
    border-radius: 6px !important;
  }
  
  .header-right #per-page {
    border-radius: 6px !important;
  }
}

@media (max-width: 480px) {
  .header-right .button {
    border-radius: 4px !important;
  }
  
  .header-right #per-page {
    border-radius: 4px !important;
  }
}

/* ===== СТИЛИ ДЛЯ БЛОКА НОВОСТЕЙ ===== */

.news-banner {
  width: 100%;
  margin-bottom: 16px;
  animation: newsSlideDown 0.3s ease-out;
}

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

.news-banner-content {
  position: relative;
  background: linear-gradient(135deg, #ee5a6f 0%, #ff6b6b 100%);
  border-radius: var(--radius-md);
  padding: 16px 50px 16px 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.5s ease;
}

.news-close-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  font-weight: normal;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  line-height: 1;
  opacity: 0.8;
}

.news-close-btn:hover {
  opacity: 1;
  transform: scale(1.2);
}

.news-carousel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 1;
  transform: translateY(0);
}

.news-item {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.news-item.news-main {
  font-size: 16px;
  font-weight: 600;
  color: white;
}

.news-item.news-secondary {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  padding-left: 32px;
}

.news-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.news-text {
  flex: 1;
  line-height: 1.4;
}

/* Адаптивные стили для новостного блока */
@media (max-width: 768px) {
  .news-banner-content {
    padding: 14px 45px 14px 16px;
  }
  
  .news-item.news-main {
    font-size: 14px;
  }
  
  .news-item.news-secondary {
    font-size: 12px;
    padding-left: 28px;
  }
  
  .news-icon {
    font-size: 18px;
  }
  
  .news-close-btn {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .news-banner-content {
    padding: 12px 40px 12px 12px;
  }
  
  .news-item.news-main {
    font-size: 13px;
  }
  
  .news-item.news-secondary {
    font-size: 11px;
    padding-left: 24px;
  }
  
  .news-icon {
    font-size: 16px;
  }
  
  .news-close-btn {
    font-size: 16px;
    top: 6px;
    right: 6px;
  }
}

/* ===== СТИЛИ ДЛЯ СТРАНИЦЫ HOW-TO-USE.PHP ===== */

.how-to-use-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-top: 20px;
  margin-bottom: 40px;
}

.how-to-use-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--color-border);
}

.how-to-use-header h1 {
  color: var(--color-text-primary);
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.how-to-use-header p {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  margin: 0;
}

/* Стили для быстрой навигации */
.quick-navigation {
  background: var(--color-surface-2);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 30px;
  border: 1px solid var(--color-border);
}

.quick-navigation h3 {
  color: var(--color-text-primary);
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-links a {
  color: var(--color-accent);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  font-weight: 500;
}

.nav-links a:hover {
  background: var(--color-accent);
  color: white;
  transform: translateX(5px);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .nav-links {
    gap: 3px;
  }
  
  .nav-links a {
    padding: 10px 12px;
    font-size: 0.95rem;
  }
}

.step-section {
  margin-bottom: 40px;
  padding: 25px;
  background: var(--color-surface-2);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-accent);
}

.step-title {
  color: var(--color-accent);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.step-number {
  background: var(--color-accent);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 15px;
  font-size: 1rem;
}

.step-content {
  line-height: 1.6;
  color: var(--color-text-primary);
}

.step-content ul {
  margin: 15px 0;
  padding-left: 20px;
}

.step-content li {
  margin-bottom: 8px;
}

.code-block {
  background: #2d3748;
  color: #e2e8f0;
  padding: 15px;
  border-radius: var(--radius-sm);
  font-family: 'Courier New', monospace;
  margin: 15px 0;
  overflow-x: auto;
  font-size: 0.9rem;
  white-space: pre-wrap;
  word-wrap: break-word;
  word-break: break-all;
  line-height: 1.4;
}

.warning-box {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  color: #856404;
  padding: 15px;
  border-radius: var(--radius-sm);
  margin: 20px 0;
}

.warning-box strong {
  display: block;
  margin-bottom: 8px;
}

.info-box {
  background: #d1ecf1;
  border: 1px solid #bee5eb;
  color: #0c5460;
  padding: 15px;
  border-radius: var(--radius-sm);
  margin: 20px 0;
}

.format-example {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  padding: 15px;
  border-radius: var(--radius-sm);
  margin: 15px 0;
}

.back-button {
  text-align: center;
  margin-top: 40px;
}

.back-button .button {
  background: #6c757d;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.back-button .button:hover {
  background: #5a6268;
}

/* Мобильные стили для how-to-use */
@media (max-width: 768px) {
  .how-to-use-container {
    margin: 10px;
    padding: 15px;
  }

  .how-to-use-header h1 {
    font-size: 2rem;
  }

  .step-section {
    padding: 20px 15px;
  }

  .step-title {
    font-size: 1.3rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .step-number {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .code-block {
    font-size: 0.8rem;
    padding: 12px;
    margin: 10px 0;
  }

  .format-example {
    padding: 12px;
    margin: 10px 0;
  }
}

@media (max-width: 480px) {
  .code-block {
    font-size: 0.75rem;
    padding: 10px;
    margin: 8px 0;
  }

  .format-example {
    padding: 10px;
    margin: 8px 0;
  }

  .step-section {
    padding: 15px 10px;
  }

  .how-to-use-container {
    margin: 5px;
    padding: 10px;
  }
}

/* Стили для страницы поддержки */
.support-page-body {
  background: var(--color-bg-page);
  min-height: 100vh;
}

.support-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.support-header {
  text-align: center;
  margin-bottom: 50px;
}

.support-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 16px;
}

.support-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.support-content {
  display: flex;
  flex-direction: column;
  gap: 50px;
}



.support-form-section {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.support-form-section h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 12px;
  text-align: center;
}

.form-description {
  text-align: center;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
  font-size: 1.1rem;
}

.support-form .field {
  margin-bottom: 24px;
}

.support-form .label {
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 8px;
  display: block;
}

.support-form .input,
.support-form .textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.support-form .input:focus,
.support-form .textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.support-form .textarea {
  resize: vertical;
  min-height: 120px;
}

.support-form .help {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-top: 6px;
  margin-bottom: 0;
}

.support-form .button {
  background: var(--color-accent);
  color: white;
  border: none;
  padding: 14px 28px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.support-form .button:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.support-form .button:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.support-form .button .icon {
  font-size: 1rem;
}



/* Блок документации */
.support-docs {
  margin-top: 50px;
  text-align: center;
}

.support-docs h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 30px;
}

.docs-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.doc-link {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  display: block;
}

.doc-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
  text-decoration: none;
}

.doc-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.doc-link h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}

.doc-link p {
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Уведомления */
.notification {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin: 20px 0;
  border: 1px solid transparent;
}

.notification.is-success {
  background: #d1fae5;
  border-color: #a7f3d0;
  color: #065f46;
}

.notification.is-danger {
  background: #fee2e2;
  border-color: #fecaca;
  color: #991b1b;
}

/* Мобильные стили для страницы поддержки */
@media (max-width: 768px) {
  .support-page {
    padding: 20px 15px;
  }

  .support-header h1 {
    font-size: 2rem;
  }

  .support-subtitle {
    font-size: 1.1rem;
  }



  .support-form-section {
    padding: 24px 20px;
  }

  .support-form-section h2 {
    font-size: 1.6rem;
  }



  .support-content {
    gap: 40px;
  }

  .docs-links {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .support-page {
    padding: 15px 10px;
  }

  .support-header h1 {
    font-size: 1.8rem;
  }

  .support-subtitle {
    font-size: 1rem;
  }

  .support-form-section {
    padding: 20px 15px;
  }

  .support-form .button {
    padding: 12px 20px;
    font-size: 1rem;
  }


}

/* ===== СТИЛИ ДЛЯ ТЕМНОЙ ТЕМЫ - ДОПОЛНИТЕЛЬНЫЕ ЭЛЕМЕНТЫ ===== */

/* Переопределение стилей Bulma для темной темы */
[data-theme="dark"] .input,
[data-theme="dark"] .textarea,
[data-theme="dark"] .select select {
  background-color: var(--color-surface-2);
  border-color: var(--color-border);
  color: var(--color-text-primary);
}

[data-theme="dark"] .input:focus,
[data-theme="dark"] .textarea:focus,
[data-theme="dark"] .select select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

[data-theme="dark"] .input::placeholder,
[data-theme="dark"] .textarea::placeholder {
  color: var(--color-text-muted);
}

/* Bulma кнопки в темной теме */
[data-theme="dark"] .button.is-light {
  background: var(--color-surface-2);
  border-color: var(--color-border);
  color: var(--color-text-primary);
}

[data-theme="dark"] .button.is-light:hover {
  background: var(--color-surface-3);
  border-color: var(--color-border);
}

[data-theme="dark"] .button.is-primary {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

[data-theme="dark"] .button.is-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

[data-theme="dark"] .button.is-success {
  background: var(--color-success);
  border-color: var(--color-success);
}

[data-theme="dark"] .button.is-danger {
  background: var(--color-danger);
  border-color: var(--color-danger);
}

[data-theme="dark"] .button.is-info {
  background: var(--color-info);
  border-color: var(--color-info);
}

/* Таблицы в темной теме */
[data-theme="dark"] tr:hover {
  background: var(--color-surface-2);
}

[data-theme="dark"] tr.selected {
  background: rgba(59, 130, 246, 0.15) !important;
}

[data-theme="dark"] tr.selected:hover {
  background: rgba(59, 130, 246, 0.2) !important;
}

/* Уведомления в темной теме */
[data-theme="dark"] .notification.is-success {
  background: var(--color-success-bg);
  border-color: rgba(34, 197, 94, 0.4);
  color: #86efac;
}

[data-theme="dark"] .notification.is-danger {
  background: var(--color-danger-bg);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

[data-theme="dark"] .notification.is-info {
  background: var(--color-info-bg);
  border-color: rgba(96, 165, 250, 0.4);
  color: #93c5fd;
}

[data-theme="dark"] .notification.is-warning {
  background: var(--color-warning-bg);
  border-color: rgba(250, 204, 21, 0.4);
  color: #fde047;
}

/* Модальные окна в темной теме */
[data-theme="dark"] .maintenance-modal {
  background: var(--color-surface);
  border-color: var(--color-border);
}

[data-theme="dark"] .maintenance-urgent {
  background: var(--color-warning-bg);
  border-color: rgba(250, 204, 21, 0.4);
  color: var(--color-text-primary);
}

[data-theme="dark"] .maintenance-urgent strong {
  color: #facc15;
}

/* Подсказки и примеры в темной теме */
[data-theme="dark"] .tip {
  background: var(--color-tip-bg);
  border-left-color: var(--color-tip-border);
  color: var(--color-text-primary);
}

[data-theme="dark"] .example {
  background: var(--color-example-bg);
  border-color: var(--color-example-border);
}

[data-theme="dark"] .example code {
  background: var(--color-code-bg);
  color: var(--color-accent-hover);
}

/* Рекомендации в темной теме */
[data-theme="dark"] .recommendation.good {
  background: var(--color-recommendation-good-bg);
  border-color: var(--color-recommendation-good-border);
}

[data-theme="dark"] .recommendation.good h4 {
  color: #86efac;
}

[data-theme="dark"] .recommendation.caution {
  background: var(--color-recommendation-caution-bg);
  border-color: var(--color-recommendation-caution-border);
}

[data-theme="dark"] .recommendation.caution h4 {
  color: #fde047;
}

/* Warning и Info box в темной теме */
[data-theme="dark"] .warning-box {
  background: var(--color-warning-box-bg);
  border-color: var(--color-warning-box-border);
  color: var(--color-warning-box-text);
}

[data-theme="dark"] .info-box {
  background: var(--color-info-box-bg);
  border-color: var(--color-info-box-border);
  color: var(--color-info-box-text);
}

/* Код в темной теме */
[data-theme="dark"] .code-block {
  background: #1e293b;
  color: #e2e8f0;
  border: 1px solid var(--color-border);
}

/* Cart tracking в темной теме */
[data-theme="dark"] .cart-tracking {
  background: var(--color-cart-tracking-bg);
  border-color: var(--color-cart-tracking-border);
}

[data-theme="dark"] .cart-tracking h4 {
  color: var(--color-accent-hover);
}

/* Слайдеры noUiSlider в темной теме */
[data-theme="dark"] .noUi-horizontal .noUi-connects {
  background: var(--color-surface-3);
}

[data-theme="dark"] .noUi-horizontal .noUi-handle {
  background: var(--color-surface);
  border-color: var(--color-accent);
}

/* Ссылки в темной теме */
[data-theme="dark"] .link {
  color: var(--color-accent-hover);
}

[data-theme="dark"] .link:hover {
  color: #93c5fd;
}

[data-theme="dark"] .username-link {
  color: var(--color-accent-hover);
}

[data-theme="dark"] .username-link:hover {
  color: #93c5fd;
}

/* Links in how-to-use page dark theme */
[data-theme="dark"] .how-to-use-container a,
[data-theme="dark"] .step-content a,
[data-theme="dark"] .info-box a,
[data-theme="dark"] .nav-links a {
  color: #60a5fa;
}

[data-theme="dark"] .how-to-use-container a:hover,
[data-theme="dark"] .step-content a:hover,
[data-theme="dark"] .info-box a:hover {
  color: #93c5fd;
}

/* Приветственное модальное окно в темной теме */
[data-theme="dark"] #welcome-modal > div {
  background: var(--color-surface) !important;
  color: var(--color-text-primary) !important;
}

[data-theme="dark"] #welcome-modal h2 {
  color: var(--color-accent-hover) !important;
}

[data-theme="dark"] #welcome-modal h3 {
  color: var(--color-text-primary) !important;
}

[data-theme="dark"] #welcome-modal p,
[data-theme="dark"] #welcome-modal li,
[data-theme="dark"] #welcome-modal ul {
  color: var(--color-text-primary) !important;
}

[data-theme="dark"] #welcome-modal a {
  border-color: var(--color-accent) !important;
  color: var(--color-accent-hover) !important;
}

[data-theme="dark"] #welcome-modal a:hover {
  background: var(--color-accent) !important;
  color: white !important;
}

[data-theme="dark"] #welcome-modal button#welcome-close {
  background: var(--color-accent) !important;
}

[data-theme="dark"] #welcome-modal button#welcome-close:hover {
  background: var(--color-accent-hover) !important;
}

/* News banner в темной теме */
[data-theme="dark"] .news-banner-content {
  box-shadow: var(--shadow-md);
}

/* Select в темной теме */
[data-theme="dark"] .select:not(.is-multiple):not(.is-loading)::after {
  border-color: var(--color-text-secondary);
}

/* Message в темной теме (Bulma) */
[data-theme="dark"] .message.is-warning {
  background: var(--color-warning-bg);
}

[data-theme="dark"] .message.is-warning .message-body {
  background: var(--color-warning-bg);
  border-color: rgba(250, 204, 21, 0.4);
  color: #fde047;
}

[data-theme="dark"] .message.is-danger .message-body {
  background: var(--color-danger-bg);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

/* Исправления для таблицы на главной странице в темной теме */
[data-theme="dark"] table,
[data-theme="dark"] .table-wrap {
  background: var(--color-surface) !important;
}

[data-theme="dark"] thead,
[data-theme="dark"] tbody {
  background: var(--color-surface) !important;
}

[data-theme="dark"] th {
  background: var(--color-surface-2) !important;
  color: var(--color-text-primary) !important;
  border-color: var(--color-border) !important;
}

[data-theme="dark"] td {
  background: var(--color-surface) !important;
  color: var(--color-text-primary) !important;
  border-color: var(--color-border) !important;
}

[data-theme="dark"] tr:hover td {
  background: var(--color-surface-2) !important;
}

[data-theme="dark"] tr.selected td {
  background: rgba(59, 130, 246, 0.15) !important;
}

[data-theme="dark"] tr.selected:hover td {
  background: rgba(59, 130, 246, 0.2) !important;
}

/* Пагинация в темной теме */
[data-theme="dark"] .pagination-btn,
[data-theme="dark"] .pager button {
  background: var(--color-surface-2) !important;
  color: var(--color-text-primary) !important;
  border-color: var(--color-border) !important;
}

[data-theme="dark"] .pagination-btn:hover,
[data-theme="dark"] .pager button:hover {
  background: var(--color-surface-3) !important;
  border-color: var(--color-accent) !important;
}

/* Исправления для terms.php в темной теме */
[data-theme="dark"] .content-section {
  background: var(--color-surface) !important;
  border-color: var(--color-border) !important;
}

[data-theme="dark"] .content-section h2 {
  color: var(--color-accent-hover) !important;
  border-color: var(--color-accent) !important;
}

[data-theme="dark"] .content-section h3 {
  color: var(--color-text-primary) !important;
}

[data-theme="dark"] .content-section p,
[data-theme="dark"] .content-section li {
  color: var(--color-text-secondary) !important;
}

[data-theme="dark"] .highlight-box {
  background: var(--color-tip-bg) !important;
  border-color: var(--color-accent) !important;
  color: var(--color-text-primary) !important;
}

[data-theme="dark"] .price-table th {
  background: var(--color-surface-2) !important;
  border-color: var(--color-border) !important;
  color: var(--color-text-primary) !important;
}

[data-theme="dark"] .price-table td {
  border-color: var(--color-border) !important;
  color: var(--color-text-primary) !important;
}

[data-theme="dark"] .price-table tr:nth-child(even) {
  background: var(--color-surface-2) !important;
}

/* noUiSlider handle в темной теме */
[data-theme="dark"] .noUi-horizontal .noUi-handle {
  background: var(--color-surface) !important;
  border-color: var(--color-accent) !important;
}

/* Исправление фона html для темной темы */
[data-theme="dark"] html,
[data-theme="dark"],
html[data-theme="dark"] {
  background: var(--color-bg-page) !important;
}

/* Фон страниц в темной теме */
[data-theme="dark"] body,
[data-theme="dark"] .guide-page-body,
[data-theme="dark"] .support-page-body,
[data-theme="dark"] .checkout-page {
  background: var(--color-bg-page) !important;
}

/* Контейнеры страниц */
[data-theme="dark"] .container,
[data-theme="dark"] .guide-page,
[data-theme="dark"] .support-page,
[data-theme="dark"] .how-to-use-container {
  background: transparent !important;
}

/* ===== КНОПКА ПЕРЕКЛЮЧЕНИЯ ТЕМЫ ===== */
.theme-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  cursor: pointer;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
  -webkit-transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  padding: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.theme-toggle:hover {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.theme-toggle:active {
  -webkit-transform: scale(0.95);
  transform: scale(0.95);
}

.theme-toggle svg {
  width: 24px;
  height: 24px;
  -webkit-transition: opacity 0.3s ease, transform 0.3s ease;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Иконки кнопки переключения темы */
.theme-toggle .sun-icon,
.theme-toggle .moon-icon {
  position: absolute;
  -webkit-transition: opacity 0.3s ease, transform 0.3s ease;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* По умолчанию: светлая тема - показываем солнце */
.theme-toggle .sun-icon {
  color: #f59e0b;
  opacity: 1;
  -webkit-transform: rotate(0deg) scale(1);
  transform: rotate(0deg) scale(1);
}

.theme-toggle .moon-icon {
  color: #6366f1;
  opacity: 0;
  -webkit-transform: rotate(-90deg) scale(0.5);
  transform: rotate(-90deg) scale(0.5);
}

/* Темная тема - показываем луну */
[data-theme="dark"] .theme-toggle .sun-icon {
  opacity: 0;
  -webkit-transform: rotate(90deg) scale(0.5);
  transform: rotate(90deg) scale(0.5);
}

[data-theme="dark"] .theme-toggle .moon-icon {
  opacity: 1;
  -webkit-transform: rotate(0deg) scale(1);
  transform: rotate(0deg) scale(1);
}


/* Адаптивные стили для кнопки темы */
@media (max-width: 768px) {
  .theme-toggle {
    width: 44px;
    height: 44px;
    bottom: 16px;
    right: 16px;
  }
  
  .theme-toggle svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .theme-toggle {
    width: 40px;
    height: 40px;
    bottom: 12px;
    right: 12px;
  }
  
  .theme-toggle svg {
    width: 18px;
    height: 18px;
  }
}

/* Tooltip для кнопки темы */
.theme-toggle::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  right: 0;
  margin-bottom: 8px;
  padding: 6px 10px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--color-text-primary);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.2s ease, visibility 0.2s ease;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  box-shadow: var(--shadow-sm);
  pointer-events: none;
  z-index: 10000;
}

.theme-toggle:hover::before {
  opacity: 1;
  visibility: visible;
}

/* Анимация при переключении темы */
.theme-toggle.theme-switching {
  -webkit-animation: theme-pulse 0.3s ease;
  animation: theme-pulse 0.3s ease;
}

@-webkit-keyframes theme-pulse {
  0% { -webkit-transform: scale(1); transform: scale(1); }
  50% { -webkit-transform: scale(0.9); transform: scale(0.9); }
  100% { -webkit-transform: scale(1); transform: scale(1); }
}

@keyframes theme-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(0.9); }
  100% { transform: scale(1); }
}

/* Скрываем tooltip на мобильных */
@media (max-width: 768px) {
  .theme-toggle::before {
    display: none;
  }
}