/* =========================================
           ОСНОВНЫЕ СТИЛИ
========================================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  background: linear-gradient(180deg, #050505 0%, #0a0a0f 50%, #050505 100%);
  color: #ffffff;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* =========================================
           НАВИГАЦИЯ
========================================= */
.interium-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 20px 0;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 1000;
}

.interium-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.interium-logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
  text-transform: uppercase;
}
.interium-logo span {
  color: #3b82f6;
}

.interium-nav-center {
  display: flex;
  gap: 40px;
}

.interium-nav-center a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

.interium-nav-center a:hover,
.interium-nav-center a.is-active {
  color: #ffffff;
}

.interium-nav-right {
  display: flex;
  gap: 16px;
  align-items: center;
}

.interium-user-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.interium-user-balance {
  text-align: right;
}

.interium-user-balance-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.interium-user-balance-amount {
  font-size: 14px;
  font-weight: 600;
  color: #3b82f6;
}

.interium-btn {
  word-spacing: 2px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px; /* Добавьте эту строку */
}

.interium-btn--accent {
  background: #3b82f6;
  color: #fff;
}

.interium-btn--accent:hover {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.interium-btn--outline {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.interium-btn--outline:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.avatar-placeholder {
  width: 32px;
  height: 32px;
  background: #1e1e28;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .interium-nav-right {
    display: flex;
    gap: 8px;
    align-items: center;
  }
}

/* =========================================
           MAIN CONTENT
========================================= */
.interium-content-wrapper {
  background: radial-gradient(
    circle at top,
    rgba(59, 130, 246, 0.1) 0%,
    transparent 60%
  );
  padding-top: 72px;
  min-height: 100vh;
}

/* =========================================
           FOOTER
========================================= */
.interium-footer {
  padding: 60px 32px 40px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.interium-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.interium-footer-section h4 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.interium-footer-section p,
.interium-footer-section a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
  display: block;
}

.interium-footer-section a:hover {
  color: #3b82f6;
}

.interium-footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.interium-footer-bottom p {
  margin: 5px 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
}

.interium-form-group {
  margin-bottom: 20px;
}

.interium-form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.interium-form-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  transition: all 0.2s;
}

.interium-form-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.interium-modal-footer {
  margin-top: 30px;
  display: flex;
  gap: 12px;
}

.interium-btn--full {
  width: 100%;
}

/* Адаптивность */
@media (max-width: 768px) {
  .interium-nav-center {
    display: none;
  }
  .interium-nav-inner {
    padding: 0 16px;
  }
  .interium-footer {
    margin-top: 30px;
  }
  .interium-footer-container {
    grid-template-columns: 1fr;
  }
  .interium-store-products-grid {
    grid-template-columns: 1fr;
  }
  .interium-store-header-title {
    font-size: 32px;
  }
  .interium-referral-input-group {
    flex-direction: column;
  }
}

/* Утилиты */
.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #a0aec0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.admin-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 32px;
}

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

.admin-title {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.admin-table {
  width: 100%;
  min-width: 800px; /* Минимальная ширина для корректного отображения */
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table thead {
  position: sticky;
  top: 0;
  z-index: 10;
}

.admin-table th {
  padding: 12px 15px;
  text-align: left;
  font-weight: 600;
  color: #333;
  border-bottom: 2px solid #dee2e6;
  white-space: nowrap; /* Запрещаем перенос заголовков */
}

.admin-table td {
  padding: 10px 15px;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}

/* Для мобильных устройств */
@media (max-width: 768px) {
  .admin-table {
    font-size: 13px;
  }

  .admin-table th,
  .admin-table td {
    padding: 8px 10px;
  }

  .pricing-table {
    margin-left: -10px;
    margin-right: -10px;
    width: calc(100% + 20px);
    border-left: none;
    border-right: none;
    border-radius: 0;
  }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
  .admin-table {
    font-size: 12px;
    min-width: 700px;
  }

  .admin-table th,
  .admin-table td {
    padding: 6px 8px;
  }

  .btn-delete {
    padding: 4px 8px;
    font-size: 11px;
  }

  .btn-delete i {
    margin-right: 3px;
  }
}

.pricing-table {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch; /* Плавная прокрутка на iOS */
  margin-bottom: 40px;
}

/* Для хорошего UX на мобильных */
.pricing-table::-webkit-scrollbar {
  height: 8px;
}

.pricing-table::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.pricing-table::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.pricing-table::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.pricing-table table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table th {
  background: rgba(255, 255, 255, 0.05);
  padding: 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
}

.pricing-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.price-input,
.discount-input {
  width: 100%;
  max-width: 120px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 12px;
  color: #fff;
  font-size: 14px;
  transition: border-color 0.2s;
}

.price-input:focus,
.discount-input:focus {
  outline: none;
  border-color: #3b82f6;
}
@media (max-width: 768px) {
  .price-input,
  .discount-input {
    width: 100px;
  }
}

.discount-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 12px;
  color: #10b981;
  font-size: 12px;
  font-weight: 600;
}

.btn-update {
  padding: 8px 16px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid #3b82f6;
  border-radius: 8px;
  color: #3b82f6;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-update:hover {
  background: rgba(59, 130, 246, 0.2);
}

.btn-delete {
  padding: 8px 16px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #ef4444;
  border-radius: 8px;
  color: #ef4444;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-delete:hover {
  background: rgba(239, 68, 68, 0.2);
}

.add-form {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px;
}

.add-form h3 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 24px;
}

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

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group select,
.form-group input {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px;
  color: #fff;
  font-size: 14px;
}

.form-group select:focus,
.form-group input:focus {
  outline: none;
  border-color: #3b82f6;
}

.btn-add {
  padding: 12px 24px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-add:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin-bottom: 24px;
  transition: color 0.2s;
  text-decoration: none;
}

.back-link:hover {
  color: #fff;
}

.admin-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 32px 100px;
}

.admin-title {
  font-size: 42px;
  font-weight: 700;
  margin: 0 0 40px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.stat-box h3 {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 8px;
  text-transform: uppercase;
}

.stat-box p {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.stat-box.pending {
  border-color: #fbbf24;
}
.stat-box.approved {
  border-color: #10b981;
}
.stat-box.completed {
  border-color: #3b82f6;
}
.stat-box.rejected {
  border-color: #ef4444;
}

.requests-table {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
}

.table-header {
  display: grid;
  grid-template-columns: 60px 200px 100px 120px 200px 150px 120px 200px;
  gap: 16px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.table-header div {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  font-weight: 600;
}

.request-row {
  display: grid;
  grid-template-columns: 60px 200px 100px 120px 200px 150px 120px 200px;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  align-items: center;
  transition: background 0.2s;
}

.request-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

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

.request-id {
  font-weight: 700;
  color: #3b82f6;
}

.request-email {
  font-size: 14px;
  color: #fff;
  word-break: break-all;
}

.request-amount {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.request-method {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.request-wallet {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  font-family: "Courier New", monospace;
  word-break: break-all;
}

.request-date {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.status-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
}

.status-badge.pending {
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
}

.status-badge.approved {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

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

.status-badge.rejected {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.action-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.action-btn {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.action-btn.approve {
  background: #10b981;
  color: #fff;
}

.action-btn.approve:hover {
  background: #059669;
}

.action-btn.reject {
  background: #ef4444;
  color: #fff;
}

.action-btn.reject:hover {
  background: #dc2626;
}

.action-btn.complete {
  background: #3b82f6;
  color: #fff;
}

.action-btn.complete:hover {
  background: #2563eb;
}

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

.empty-state {
  padding: 60px;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  max-width: 500px;
  width: 90%;
}

.modal-content h3 {
  font-size: 24px;
  margin: 0 0 20px;
  color: #fff;
}

.modal-content textarea {
  width: 100%;
  padding: 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  resize: vertical;
  min-height: 100px;
  margin-bottom: 20px;
}

.modal-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.filter-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.filter-tab {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
  font-weight: 500;
}

.filter-tab.active {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #fff;
}

@media (max-width: 1200px) {
  .table-header,
  .request-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .table-header div {
    display: none;
  }

  .request-row > div {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 8px;
  }

  .request-row > div::before {
    content: attr(data-label);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    font-weight: 600;
  }
}

.dashboard-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 100px;
}

.dashboard-title {
  font-size: 42px;
  font-weight: 700;
  margin: 0 0 40px;
  padding-top: 40px;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-card-content h3 {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.stat-card-content p {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.stat-icon.blue {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.stat-icon.purple {
  background: rgba(168, 85, 247, 0.1);
  color: #a855f7;
}

.stat-icon.indigo {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}

/* Section Card */
.section-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 32px;
}

.section-card h2 {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 16px;
}

.section-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin: 0 0 20px;
}

.section-card p span.highlight {
  color: #3b82f6;
  font-weight: 600;
}

/* Referral Input */
.referral-input-group {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.referral-input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-family: "Courier New", monospace;
}

.referral-stats {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.referral-stats span.amount {
  color: #fff;
  font-weight: 600;
}

/* Licenses Grid */
.licenses-grid {
  display: grid;
  gap: 20px;
}

.license-card {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 24px;
}

.license-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.license-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge.active {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.badge.expired {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.license-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.license-detail-item h4 {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.license-detail-item p {
  font-size: 14px;
  color: #fff;
  margin: 0;
}

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

.license-key code {
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 12px;
  border-radius: 6px;
  font-family: "Courier New", monospace;
  font-size: 13px;
  color: #fff;
}

.copy-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}

.copy-btn:hover {
  color: #fff;
}

.copy-btn i {
  font-size: 14px;
}

/* Стили для скрытия/показа лицензий */
.section-header-with-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.license-key-container,
.hwid-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.license-key-text,
.hwid-text {
  font-family: "Fira Code", "Cascadia Code", "Consolas", monospace;
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  flex-grow: 1;
  word-break: break-all;
}

.key-mask,
.hwid-mask {
  color: #666;
  letter-spacing: 2px;
  font-weight: bold;
}

.key-real,
.hwid-real {
  color: #3b82f6;
}

/* Кнопка копирования */
.copy-btn {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: #3b82f6;
  padding: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
}

.copy-btn:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.3);
}

.copy-btn:active {
  transform: scale(0.95);
}

/* Кнопка переключения видимости */
#toggleLicenseVisibility {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

#toggleLicenseIcon {
  font-size: 1rem;
}

.license-detail-item .days-left {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-state i {
  font-size: 64px;
  color: rgba(255, 255, 255, 0.1);
  margin-bottom: 16px;
}

.empty-state p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 24px;
}

/* Earnings List */
.earnings-list {
  display: grid;
  gap: 12px;
}

.earning-item {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.earning-icon {
  width: 40px;
  height: 40px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #3b82f6;
}

.earning-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 4px;
}

.earning-info p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

.earning-info p span {
  color: #3b82f6;
}

.earning-right {
  text-align: right;
}

.earning-right p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

/* Withdrawal Section Styles */
.withdrawal-balance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.withdrawal-balance-card {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 20px;
}

.withdrawal-balance-card.highlight-card {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.05);
}

.withdrawal-balance-card h4 {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.withdrawal-balance-card .balance-amount {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.withdrawal-form {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px;
}

.withdrawal-form h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 20px;
}

.withdrawal-form .form-group {
  margin-bottom: 20px;
}

.withdrawal-form label {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
  font-weight: 500;
}

.withdrawal-form input,
.withdrawal-form select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  transition: border-color 0.2s;
}

.withdrawal-form input:focus,
.withdrawal-form select:focus {
  outline: none;
  border-color: #3b82f6;
}

.withdrawal-requests-section {
  margin-top: 32px;
}

.withdrawal-requests-section h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 20px;
}

.withdrawal-request-item {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 12px;
}

.withdrawal-request-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.withdrawal-request-amount {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.withdrawal-request-status {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.withdrawal-request-status.pending {
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
}

.withdrawal-request-status.approved {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.withdrawal-request-status.completed {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.withdrawal-request-status.rejected {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.withdrawal-request-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.withdrawal-request-detail h5 {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.withdrawal-request-detail p {
  font-size: 14px;
  color: #fff;
  margin: 0;
}

.loading-text {
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

.error-text {
  color: #ef4444;
  font-size: 13px;
  margin-top: 8px;
}

.success-text {
  color: #10b981;
  font-size: 13px;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .license-details {
    grid-template-columns: 1fr;
  }
  .referral-input-group {
    flex-direction: column;
  }
  .withdrawal-balance-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-container {
    padding: 0 16px 30px;
  }
}

.loading-container {
  text-align: center;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(59, 130, 246, 0.3);
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

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

.loading-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  margin-bottom: 10px;
}

.loading-subtext {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

#forum-login-frame {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.forum-container {
  max-width: 100%;
  margin: 0;
  padding: 0;
  min-height: calc(100vh - 72px);
  position: relative;
}

.forum-iframe-wrapper {
  position: relative;
  width: 100%;
  height: calc(100vh - 72px);
  background: rgba(0, 0, 0, 0.3);
}

.forum-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.hero-section {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 32px;
  background: radial-gradient(
    circle at center,
    rgba(59, 130, 246, 0.05) 0%,
    transparent 70%
  );
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 72px;
  font-weight: 700;
  margin: 0 0 20px;
  line-height: 1.1;
}

.hero-title-main {
  color: #fff;
}

.hero-title-accent {
  color: #3b82f6;
}

.hero-subtitle {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 24px;
  line-height: 1.2;
}

.hero-description {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin: 0 0 40px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 500px;
}

.hero-stat-item h4 {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-stat-item p {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0 auto;
  align-items: center;
  gap: 8px;
  display: flex;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #3b82f6;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.error-dot {
  width: 8px;
  height: 8px;
  background: #f63b3b;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.warn-dot {
  width: 8px;
  height: 8px;
  background: #ff991c;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.hero-logo {
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 400px;
  height: 400px;
  object-fit: contain;
}

.hero-logo svg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 400px;
  height: 400px;
  object-fit: contain;
}

/* Products Section */
.products-section {
  padding: 100px 16px;
  background: rgba(0, 0, 0, 0.2);
}

.products-container {
  max-width: 1200px;
  margin: 0 auto;
}

.products-title {
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 60px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 32px;
}

.product-card-large {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card-large:hover .product-card-image img {
  transform: scale(1.05);
}

.product-card-content {
  padding: 32px;
}

.product-card-large:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.product-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.product-card-header h3 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.product-icon {
  width: 64px;
  height: 64px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #3b82f6;
  transition: all 0.3s;
}

.product-card-large:hover .product-icon {
  background: rgba(59, 130, 246, 0.2);
  transform: scale(1.1);
}

.product-card-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin: 0 0 32px;
}

.product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
}

.product-features li i {
  color: #3b82f6;
  font-size: 14px;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 60px 16px 0px;
  }
  .products-section {
    padding: 50px 16px;
    background: rgba(0, 0, 0, 0.2);
  }
  .hero-stat-item p {
	justify-content: center;
}
}

/* Why Section */
.why-section {
  padding: 100px 16px;
}

.why-container {
  max-width: 1200px;
  margin: 0 auto;
}

.why-title {
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 60px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.why-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 32px;
}

.why-icon {
  width: 56px;
  height: 56px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #3b82f6;
  margin-bottom: 24px;
}

.why-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 12px;
}

.why-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin: 0;
}

/* CTA Section */
.cta-section {
  padding: 100px 32px;
  background: radial-gradient(
    circle at center,
    rgba(59, 130, 246, 0.08) 0%,
    transparent 70%
  );
  text-align: center;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
}

.cta-description {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-title {
    font-size: 48px;
  }
  .hero-subtitle {
    font-size: 32px;
  }
  .hero-description {
    padding: 0 16px;
    max-width: 100%;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-stats {
    margin: 0 auto;
  }
  .hero-logo svg {
    display: none;
    width: 0px;
    height: 0px;
  }
  .hero-logo {
    display: none;
    width: 0px;
    height: 0px;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .why-section {
    padding: 30px 16px;
  }
  .cta-section {
    padding: 30px 32px;
  }
}

.auth-page {
  min-height: calc(100vh - 150px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: radial-gradient(
    circle at top,
    rgba(59, 130, 246, 0.1) 0%,
    transparent 60%
  );
  min-width: 30vw;
}

.auth-card {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.auth-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 30px 0;
  background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-footer {
  margin-top: 24px;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.auth-link {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.auth-link:hover {
  color: #60a5fa;
}

.product-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 16px 100px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin-bottom: 24px;
  transition: color 0.2s;
}

.back-link:hover {
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 60px;
}

/* Left Side */
.product-info {
  flex: 1;
}

.badge-premium {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 20px;
  color: #3b82f6;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.product-title {
  font-size: 52px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 20px;
  line-height: 1.1;
}

.product-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin: 8px 0 16px;
}

.features-title {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  margin: 16px 0 24px;
}

.features-list {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}

.feature-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-item i {
  width: 24px;
  font-size: 20px;
  color: #3b82f6;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 6px;
}

.feature-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  line-height: 1.6;
}

.status-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.status-item h5 {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-item p {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #3b82f6;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.error-dot {
  width: 8px;
  height: 8px;
  background: #f63b3b;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Right Side - Pricing */
.pricing-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 32px 16px;
}

.pricing-title {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 24px;
}

.section-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.duration-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.duration-btn {
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.duration-btn:hover {
  border-color: rgba(59, 130, 246, 0.5);
  color: #fff;
}

.duration-btn.active {
  background: rgba(59, 130, 246, 0.1);
  border: 2px solid #3b82f6;
  color: #fff;
}

.duration-btn small {
  display: block;
  font-size: 11px;
  color: #3b82f6;
  margin-top: 4px;
}

.price-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}

.price-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 8px;
}

.price-value {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.payment-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.payment-btn {
  padding: 14px 20px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 12px;
}

.payment-btn:hover {
  border-color: rgba(59, 130, 246, 0.5);
  color: #fff;
}

.payment-btn.active {
  background: rgba(59, 130, 246, 0.1);
  border: 2px solid #3b82f6;
  color: #fff;
}

.payment-btn i {
  font-size: 18px;
}

.purchase-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
  margin-bottom: 24px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
}

.purchase-note i {
  color: #3b82f6;
}

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .pricing-sidebar {
    position: relative;
    top: 0;
  }
}

@media (max-width: 768px) {
  .product-title {
    font-size: 36px;
  }
  .duration-grid {
    grid-template-columns: 1fr;
  }
}

.duration-selector {
  margin-bottom: 32px;
}

.slider-container {
  position: relative;
  padding: 20px 0 40px;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  position: relative;
}

.slider-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  flex: 1;
  transition: all 0.3s;
  cursor: pointer;
  padding: 8px 4px;
  border-radius: 6px;
}

.slider-label:hover {
  color: rgba(255, 255, 255, 0.7);
}

.slider-label.active {
  color: #fff;
  background: rgba(59, 130, 246, 0.1);
}

.slider-label small {
  display: block;
  font-size: 10px;
  margin-top: 4px;
  color: #10b981;
}

/* Custom Range Slider */
.duration-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  outline: none;
  position: relative;
}

.duration-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  background: #3b82f6;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
  transition: all 0.2s;
}

.duration-range::-webkit-slider-thumb:hover {
  background: #2563eb;
  transform: scale(1.1);
}

.duration-range::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: #3b82f6;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
  transition: all 0.2s;
}

.duration-range::-moz-range-thumb:hover {
  background: #2563eb;
  transform: scale(1.1);
}

.selected-duration {
  text-align: center;
  margin-top: 24px;
  padding: 16px;
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
}

.selected-duration-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.selected-duration-value {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.selected-duration-value span {
  color: #3b82f6;
}

/* Price Box */
.price-box {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.1) 0%,
    rgba(139, 92, 246, 0.1) 100%
  );
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  margin-bottom: 32px;
}

.price-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
}

.price-value {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-old {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.3);
  text-decoration: line-through;
  margin-top: 8px;
}

.price-discount {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 20px;
  color: #10b981;
  font-size: 12px;
  font-weight: 600;
}

/* Left Side */
.product-info {
  flex: 1;
}

.badge-classic {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 20px;
  color: #a855f7;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.product-title {
  font-size: 52px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 20px;
  line-height: 1.1;
}

.product-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin: 8px 0 48px;
}

.features-title {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 24px;
}

.features-list {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}

.feature-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-item i {
  width: 24px;
  font-size: 20px;
  color: #3b82f6;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 6px;
}

.feature-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  line-height: 1.6;
}

.status-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.status-item h5 {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-item p {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #3b82f6;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.error-dot {
  width: 8px;
  height: 8px;
  background: #f63b3b;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Right Side - Pricing */
.pricing-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 32px 16px;
}

.pricing-title {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 24px;
}

.section-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.duration-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.duration-btn {
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.duration-btn:hover {
  border-color: rgba(59, 130, 246, 0.5);
  color: #fff;
}

.duration-btn.active {
  background: rgba(59, 130, 246, 0.1);
  border: 2px solid #3b82f6;
  color: #fff;
}

.duration-btn small {
  display: block;
  font-size: 11px;
  color: #3b82f6;
  margin-top: 4px;
}

.price-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}

.price-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 8px;
}

.price-value {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.payment-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.payment-btn {
  padding: 14px 20px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 12px;
}

.payment-btn:hover {
  border-color: rgba(59, 130, 246, 0.5);
  color: #fff;
}

.payment-btn.active {
  background: rgba(59, 130, 246, 0.1);
  border: 2px solid #3b82f6;
  color: #fff;
}

.payment-btn i {
  font-size: 18px;
}

.purchase-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
  margin-bottom: 24px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
}

.purchase-note i {
  color: #3b82f6;
}

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .pricing-sidebar {
    position: relative;
    top: 0;
  }
}

@media (max-width: 768px) {
  .product-title {
    font-size: 36px;
  }
  .duration-grid {
    grid-template-columns: 1fr;
  }
}

.loading-container {
  text-align: center;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(59, 130, 246, 0.3);
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

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

.loading-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  margin-bottom: 10px;
}

.loading-subtext {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

/* =========================================
       HEADER МАГАЗИНА
========================================= */
.interium-store-header {
  padding: 80px 32px 60px;
  text-align: center;
  background: radial-gradient(
    circle at top,
    rgba(59, 130, 246, 0.08) 0%,
    transparent 35%
  );
}

.interium-store-header-container {
  max-width: 800px;
  margin: 0 auto;
}

.interium-store-header-title {
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 16px;
  background: linear-gradient(135deg, #ffffff 0%, #a0aec0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.interium-store-header-text {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  line-height: 1.6;
}

/* =========================================
       СЕТКА ПРОДУКТОВ
       ========================================= */
.interium-store-products {
  padding: 0 0 0 0;
}

.interium-store-products-container {
  max-width: 1200px;
  margin: 0 auto;
}

.interium-store-products-grid {
  padding: 0 0 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* =========================================
       КАРТОЧКА ТОВАРА
       ========================================= */
.interium-product-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  margin: 16px;
}

.interium-product-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.interium-product-card-link {
  display: block;
  text-decoration: none;
}

.interium-product-card-image {
  height: 200px;
  background: linear-gradient(
    180deg,
    rgba(20, 20, 25, 1) 0%,
    rgba(10, 10, 15, 1) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.interium-product-card:hover .interium-product-card-image img {
  transform: scale(1.05);
}

.interium-product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  z-index: 2;
}

.interium-product-card-placeholder {
  font-size: 60px;
  color: rgba(255, 255, 255, 0.05);
}

.interium-product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 12px;
  background: #3b82f6;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 6px;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Контент карточки */
.interium-product-card-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.interium-product-name {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 10px;
  color: #fff;
}

.interium-product-card-desc {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 20px;
  flex: 1;
}

.interium-product-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.interium-feature-tag {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.interium-feature-tag i {
  font-size: 10px;
  color: #3b82f6;
}

.interium-product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.interium-product-card-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  width: 150px;
}

.interium-product-card-price-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.interium-product-card-price strong {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}

/* Info блок */
.interium-info-card {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 32px;
}
.interium-no-info-card {
  max-width: 1200px;
  margin: 0px auto;
  padding: 0 32px;
}

.interium-info-card-inner {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.interium-info-icon {
  width: 48px;
  height: 48px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #3b82f6;
  flex-shrink: 0;
}

.interium-info-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
}

.interium-info-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  line-height: 1.6;
}

/* =========================================
           СТРАНИЦЫ ОШИБОК
========================================= */
.error-page-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh; /* Вычет высоты хедера/футера */
  padding: 40px 20px;
  text-align: center;
  background: radial-gradient(
    circle at center,
    rgba(59, 130, 246, 0.05) 0%,
    transparent 60%
  );
}

.error-content {
  max-width: 600px;
  width: 100%;
}

.error-code-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.error-code {
  font-size: 120px;
  font-weight: 800;
  line-height: 1;
  margin: 0;
  background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 2;
}

/* Эффект свечения под цифрами */
.error-code-blur {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 80%;
  background: rgba(59, 130, 246, 0.2);
  filter: blur(40px);
  z-index: 1;
  border-radius: 50%;
}

.error-title {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
}

.error-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin: 0 auto 40px;
  max-width: 480px;
}

.error-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Адаптивность для ошибок */
@media (max-width: 768px) {
  .error-code {
    font-size: 80px;
  }

  .error-title {
    font-size: 24px;
  }

  .error-actions {
    flex-direction: column;
    width: 100%;
  }

  .error-actions {
    width: 100%;
  }
  .interium-btn {
    width: 100%;
  }
}

/* =========================================
       SUCCESS PAGE
========================================= */

.interium-success-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 32px;
}

.interium-success-card {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 48px;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Иконка успеха */
.interium-success-icon {
  width: 80px;
  height: 80px;
  background: rgba(16, 185, 129, 0.2);
  border: 2px solid rgba(16, 185, 129, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.interium-success-icon svg {
  width: 40px;
  height: 40px;
  color: #10b981;
}

/* Заголовок */
.interium-success-title {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 16px;
  background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Описание */
.interium-success-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin: 0 0 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Ключ лицензии */
.interium-license-key-container {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px;
  margin: 24px 0;
  text-align: center;
}

.interium-license-key-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.interium-license-key-value {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  font-family: "Courier New", monospace;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.interium-license-key-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
  line-height: 1.5;
}

/* Карточка регистрации */
.interium-register-card {
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 16px;
  padding: 24px;
  margin: 16px 0;
}

.interium-register-title {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Что дальше */
.interium-next-steps {
  margin: 32px 0;
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.interium-next-steps-title {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 32px;
  text-align: center;
}

.interium-steps-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 600px;
  margin: 0 auto;
}

.interium-step-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all 0.3s ease;
  position: relative;
}

.interium-step-item:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Нумерация шагов */
.interium-step-number {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  border: 3px solid rgba(30, 41, 59, 0.7);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Контейнер для иконки и контента */
.interium-step-content {
  display: flex;
  gap: 20px;
  width: 100%;
}

.interium-step-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 4px;
}

.interium-step-icon.download {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.interium-step-icon.activate {
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.interium-step-icon.enjoy {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

/* Текстовый контент шага */
.interium-step-text {
  flex: 1;
}

.interium-step-title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.interium-step-description {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin: 0;
}

/* Декоративные линии между шагами (опционально) */
.interium-step-connector {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 24px;
  background: linear-gradient(to bottom, rgba(59, 130, 246, 0.3), transparent);
  display: none;
}

.interium-step-item:not(:last-child) .interium-step-connector {
  display: block;
}

/* Блок поддержки */
.interium-support-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  margin-top: 24px;
}

.interium-support-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.interium-support-content svg {
  width: 20px;
  height: 20px;
  color: #3b82f6;
}

/* Кнопки действий */
.interium-success-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

.interium-success-btn {
  width: 100%;
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.interium-success-btn.primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
}

.interium-success-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.interium-success-btn.secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}

.interium-success-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Адаптивность */
@media (max-width: 768px) {
  .interium-success-container {
    padding: 0 16px;
  }

  .interium-success-card {
    /* background: none;
    backdrop-filter: none;
    border: none;
    border-radius: none; */
    padding: 32px 16px;
  }

  .interium-success-title {
    font-size: 28px;
  }

  .interium-license-key-value {
    font-size: 18px;
    padding: 10px 16px;
  }

  .interium-steps-grid {
    grid-template-columns: 1fr;
  }

  .interium-success-actions {
    gap: 12px;
  }
}

/* Адаптивность */
@media (max-width: 768px) {
  .interium-step-item {
    padding: 20px;
    gap: 16px;
  }

  .interium-step-content {
    gap: 16px;
  }

  .interium-step-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .interium-step-title {
    font-size: 16px;
  }

  .interium-step-description {
    font-size: 13px;
  }

  .interium-step-number {
    width: 28px;
    height: 28px;
    font-size: 12px;
    top: -10px;
    left: -10px;
  }
}
/* Контейнер */
.interium-dropdown {
  position: relative;
  display: inline-block;
}

.interium-dropdown-item.active {
  background: rgba(
    59,
    130,
    246,
    0.15
  ); /* Легкий синий оттенок (цвет акцента) */
  border: 1px solid rgba(59, 130, 246, 0.3); /* Тонкая рамка */
  color: #ffffff;
  cursor: default; /* Курсор "по умолчанию", чтобы показать неактивность ссылки */
  pointer-events: none; /* Полностью отключаем клики */
} /* Кнопка открытия (summary) */
.interium-dropdown summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; /* Фиксированный размер для квадрата */
  height: 40px;
  padding: 0;
  transition:
    color 0.3s ease,
    border-color 0.3s ease;
}

/* Убираем стандартный треугольник */
.interium-dropdown summary::-webkit-details-marker,
.interium-dropdown summary::marker {
  display: none;
}

/* Эффект нажатия на кнопку */
.interium-dropdown[open] summary {
  border-color: #3b82f6; /* Акцентный цвет при открытии */
  color: #3b82f6;
}

.interium-flag-emoji {
  font-size: 1.2em; /* Эмодзи часто выглядят мелко, чуть увеличим */
  line-height: 1;
  display: inline-block;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.3)); /* Легкая тень для объема */
}

.interium-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px); /* Чуть больше отступ от кнопки */
  right: 0;
  display: flex;
  gap: 4px;
  flex-direction: column;
  /* Glassmorphism (Эффект стекла) */
  background: rgba(18, 18, 24, 0.85); /* Полупрозрачный черный */
  backdrop-filter: blur(12px); /* Размытие фона под меню */
  -webkit-backdrop-filter: blur(12px);

  /* Границы и тени */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.5),
    0 10px 15px -3px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05); /* Внутренняя подсветка */

  min-width: 140px;
  padding: 6px; /* Отступ внутри меню для элементов */
  z-index: 100;

  transform-origin: top right;
  animation: dropdownSlideIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.interium-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;

  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.interium-dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

@keyframes dropdownSlideIn {
  0% {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.interium-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: opacity 0.3s ease;
}

.interium-modal.modal-open {
  opacity: 1;
}

.interium-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.interium-modal-dialog {
  background-color: #0f1117;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  z-index: 1001;
  position: relative;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.interium-modal.modal-open .interium-modal-dialog {
  transform: translateY(0);
}

.interium-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.05);
}

.interium-modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--text-primary);
  font-weight: 600;
}

.interium-modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  transition: all 0.2s ease;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.interium-modal-close:hover {
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.1);
}

.interium-modal-body {
  padding: 20px;
}

.license-form .form-group {
  margin-bottom: 20px;
}

.license-form .form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
}

.license-form .form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
}

.license-form .form-input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.license-form .form-hint {
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  opacity: 0.8;
}

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideIn 0.3s ease;
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert i {
  font-size: 1.2rem;
}

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

/* Для темной темы */
@media (prefers-color-scheme: dark) {
  .interium-modal-dialog {
    background: #1a1a1a;
    border-color: #333;
  }

  .interium-modal-header {
    background: rgba(255, 255, 255, 0.05);
  }

  .license-form .form-input {
    background: #2d2d2d;
    border-color: #404040;
  }
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.interium-form-input.mini {
  padding: 8px;
  font-size: 12px;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.8);
}

.custom-checkbox input {
  accent-color: #3b82f6;
  width: 16px;
  height: 16px;
}

.filters-dropdown.hidden {
  display: none;
}

.popoverUnban {
  padding: 10px 20px;
  color: #83f36d;
}

.dropdown-unban-container {
  width: 320px;
  padding: 16px;
  background: #2d2d2d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 24px;
}
.unban-radio-wrapper input:checked + .radio-box {
  background: rgba(239, 68, 68, 0.1);
  border-color: #83f36d;
  color: #83f36d;
}
/* Убираем стандартные бордеры, если они прилетают из глобальных стилей */
.dropdown-unban-container form,
.dropdown-unban-container div {
  border: none !important;
}

.popoverBan {
  padding: 10px 20px;
  color: #ef4444;
}
.dropdown-ban-container {
  width: 320px;
  padding: 16px;
  background: #2d2d2d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 24px;
}
.custom-radio-wrapper {
  cursor: pointer;
  flex: 1;
}
.radio-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px;
  text-align: center;
  border-radius: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  transition: all 0.2s ease;
}
.custom-radio-wrapper input:checked + .radio-box {
  background: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
  color: #ef4444;
}
.custom-radio-wrapper:hover .radio-box {
  border-color: rgba(255, 255, 255, 0.2);
}