/* Стили для списка заказов мейкера */
.maker-order-list {
  display: flex;
  gap: 1rem;
  flex-direction: column;
}

.maker-order-list h2 {
  color: var(--white);
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  background: linear-gradient(135deg, var(--white) 0%, var(--dslite) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.maker-order-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Material Design карточка заказа мейкера */
.maker-order-card {
  background: var(--darklite);
  border-radius: 16px;
  border: 1px solid var(--outline-main);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
}

.maker-order-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  border-color: var(--dslite);
  transform: translateY(-2px);
}

.maker-order-header {
  padding: 20px;
  cursor: pointer;
  transition: background 0.3s ease;
  position: relative;
}

.maker-order-header:hover {
  background: linear-gradient(135deg, var(--dark2) 0%, var(--darklite) 100%);
}

/* Двухколоночный layout */
.maker-order-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  width: 100%;
}

/* Левая колонка - основная информация */
.maker-order-main-info {
  display: grid;
  grid-template-columns: auto auto auto auto;
  gap: 20px;
  align-items: center;
}

.maker-order-info-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.maker-order-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: var(--dark2);
  border-radius: 6px;
  border: 1px solid var(--outline-main);
  transition: all 0.3s ease;
  min-width: 0;
}

.maker-order-info-item:hover {
  border-color: var(--dslite);
  transform: translateY(-1px);
}

.maker-order-info-icon {
  color: var(--dslite);
  font-size: 12px;
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}

.maker-order-info-label {
  color: var(--white2);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.maker-order-info-value {
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.maker-order-id {
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  background: linear-gradient(135deg, var(--white) 0%, var(--dslite) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.maker-order-price {
  color: var(--green);
  font-weight: 600;
}

.maker-order-deadline {
  color: var(--pink);
  font-weight: 600;
}

.maker-order-type {
  color: var(--pink);
  font-weight: 600;
}

.maker-order-client {
  font-weight: 500;
}

.maker-order-client-link {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.maker-order-client-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

/* Правая колонка - статус и клиент */
.maker-order-status-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-width: 140px;
}

.maker-order-status-badge {
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.maker-order-status-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* ACCEPTED = waiting_payment стиля */
.maker-order-status-accepted,
.maker-order-status-waiting_payment {
  background: linear-gradient(135deg, rgba(var(--discord-lite),0.2) 0%, rgba(var(--discord-lite),0.1) 100%);
  color: var(--dslite);
  border: 1px solid var(--dslite);
}

/* IN WORK */
.maker-order-status-in_work {
  background: linear-gradient(135deg, var(--pink-soft) 0%, rgba(255,165,0,0.15) 100%);
  color: orange;
  border: 1px solid orange;
}

/* REVIEW */
.maker-order-status-review {
  background: linear-gradient(135deg, var(--purple-soft) 0%, rgba(var(--discord-lite),0.15) 100%);
  color: var(--purple);
  border: 1px solid var(--purple);
}

/* DONE / PAID */
.maker-order-status-done,
.maker-order-status-paid {
  background: linear-gradient(135deg, var(--greenopas) 0%, rgba(32,255,32,0.3) 100%);
  color: var(--green);
  border: 1px solid var(--green);
}

/* CANCELED */
.maker-order-status-canceled {
  background: linear-gradient(135deg, var(--redopas) 0%, rgba(255,0,51,0.3) 100%);
  color: var(--red);
  border: 1px solid var(--red);
}


/* Детали заказа */
.maker-order-details {
  background: var(--dark2);
  border-top: 1px solid var(--outline-main);
  overflow: hidden;
}

.maker-order-details-content {
  padding: 20px;
  display: flex;
  gap: 1rem;
  flex-direction: column;
}

.maker-order-description {
  color: var(--white);
  line-height: 1.6;
  padding: 16px;
  background: var(--bbb);
  border-radius: 10px;
  border-left: 4px solid var(--dslite);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  font-size: 14px;
}

.maker-order-description::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--dslite), transparent);
}

.maker-order-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Кастомные стили для GlowButton в заказах мейкера */
.maker-order-glow-button {
  min-width: 160px;
}

.maker-order-glow-button .glow-button {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
}

/* Состояние загрузки */
.maker-order-loading {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}

.maker-order-loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: maker-order-loadingShimmer 1.5s infinite;
}

@keyframes maker-order-loadingShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Пустой список */
.maker-order-empty-state {
  text-align: center;
  padding: 50px 20px;
  color: var(--white2);
}

.maker-order-empty-state i {
  font-size: 56px;
  margin-bottom: 16px;
  color: var(--white2);
  opacity: 0.7;
}

.maker-order-empty-state p {
  font-size: 16px;
  margin: 0;
  opacity: 0.8;
}

/* Адаптивность */
@media (max-width: 768px) {
  .maker-order-main-info {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .maker-order-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .maker-order-status-section {
    align-items: flex-start;
  }
}


/* Стили для свободных заказов */
.maker-available-order-card {
  background: var(--darklite);
  border-radius: 16px;
  border: 1px solid var(--outline-main);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
}

.maker-available-order-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  border-color: var(--green);
  transform: translateY(-2px);
}

.maker-order-action-prompt {
  border-color: var(--green) !important;
  color: var(--green) !important;
}

.maker-order-status-pending {
  background: linear-gradient(135deg, rgba(101, 114, 250, 0.2) 0%, rgba(101, 114, 250, 0.1) 100%);
  color: var(--dslite);
  border: 1px solid var(--dslite);
}

/* Форма принятия заказа */
.maker-accept-form {
  background: var(--dark2);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--outline-main);
}

.maker-accept-form h4 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 600;
}

.maker-form-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.maker-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.maker-input-group label {
  color: var(--white2);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.maker-form-input {
  background: var(--darklite);
  color: var(--white);
  border: 1px solid var(--outline-main);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
  transition: border 0.3s ease;
}

.maker-form-input:focus {
  border-color: var(--dslite);
}

/* Секция фильтров */
.maker-filter-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding: 16px;
  background: var(--dark2);
  border-radius: 12px;
  border: 1px solid var(--outline-main);
}

.maker-filter-buttons {
  display: flex;
  gap: 12px;
}

.maker-filter-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--darklite);
  color: var(--white2);
  border: 1px solid var(--outline-main);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.maker-filter-chip:hover {
  border-color: var(--dslite);
  color: var(--white);
}

.maker-filter-chip.active {
  background: var(--dslite);
  color: var(--white);
  border-color: var(--dslite);
}

.maker-orders-count {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white2);
  font-size: 14px;
  font-weight: 500;
}

/* Адаптивность */
@media (max-width: 768px) {
  .maker-filter-section {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  
  .maker-filter-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .maker-form-inputs {
    grid-template-columns: 1fr;
  }
  
  .maker-order-main-info {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* БАЛАНС */


/* Контейнер баланса */
.maker-balance-container {
  margin: 0;
}

.maker-balance-header h2 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  background: linear-gradient(135deg, var(--white) 0%, var(--dslite) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* Карточки баланса */
.maker-balance-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.balance-card {
  background: var(--darklite);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--outline-main);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.balance-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.balance-card-primary {
  border-color: var(--dslite);
}

.balance-card-success {
  border-color: var(--green);
}

.balance-card-info {
  border-color: var(--pink);
}

.balance-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.balance-card-primary .balance-card-icon {
  background: rgba(101, 114, 250, 0.2);
  color: var(--dslite);
}

.balance-card-success .balance-card-icon {
  background: rgba(32, 255, 32, 0.2);
  color: var(--green);
}

.balance-card-info .balance-card-icon {
  background: rgba(218, 125, 155, 0.2);
  color: var(--pink);
}

.balance-card-content {
  flex: 1 1;
}

.balance-card-label {
  color: var(--white2);
  font-size: 14px;
  margin-bottom: 4px;
}

.balance-card-value {
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
}

/* Статистика */
.maker-stats-section {
  margin-bottom: 32px;
}

.maker-stats-section h3 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stats-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.stat-card {
  background: var(--darklite);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid var(--outline-main);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: var(--dslite);
  transform: translateY(-1px);
}

.stat-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.stat-card-icon.total {
  background: rgba(101, 114, 250, 0.2);
  color: var(--dslite);
}

.stat-card-icon.in-work {
  background: rgba(255, 165, 0, 0.2);
  color: orange;
}

.stat-card-icon.done {
  background: rgba(32, 255, 32, 0.2);
  color: var(--green);
}

.stat-card-info {
  flex: 1 1;
}

.stat-card-value {
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.stat-card-label {
  color: var(--white2);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Метод вывода */
.withdraw-method-section {
  margin-bottom: 32px;
}

.withdraw-method-section h3 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.withdraw-method-card {
  background: var(--darklite);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--outline-main);
}

/* Умная форма телефона */
.phone-input-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.phone-input-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone-input-wrapper {
  display: flex;
  align-items: center;
  background: var(--dark2);
  border: 1px solid var(--outline-main);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.phone-input-wrapper:focus-within {
  border-color: var(--dslite);
  box-shadow: 0 0 0 2px rgba(101, 114, 250, 0.2);
  transform: translateY(-1px);
}

.phone-prefix {
  padding: 16px 12px 16px 16px;
  background: var(--darklite);
  color: var(--white);
  font-weight: 600;
  font-size: 16px;
  border-right: 1px solid var(--outline-main);
  -webkit-user-select: none;
          user-select: none;
}

.phone-input {
  background: transparent;
  border: none;
  color: var(--white);
  padding: 16px 12px;
  font-size: 16px;
  flex: 1 1;
  outline: none;
  font-family: var(--bulma-family-code);
  letter-spacing: 1px;
  min-width: 0;
}

.phone-input::placeholder {
  color: var(--white2);
  opacity: 0.6;
}

.phone-actions-mini {
  padding: 0 12px;
}

.phone-clear {
  background: transparent;
  border: none;
  color: var(--white2);
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-clear:hover {
  background: var(--darklite);
  color: var(--red);
}

.phone-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white2);
  font-size: 12px;
  padding: 0 4px;
}

.phone-hint i {
  color: var(--dslite);
}

/* Валидация */
.phone-validation {
  margin: 8px 0;
}

.phone-valid,
.phone-invalid {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
}

.phone-valid {
  background: rgba(32, 255, 32, 0.1);
  color: var(--green);
  border: 1px solid rgba(32, 255, 32, 0.3);
}

.phone-invalid {
  background: rgba(255, 165, 0, 0.1);
  color: orange;
  border: 1px solid rgba(255, 165, 0, 0.3);
}

.phone-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Сохранённый метод */
.saved-method-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 8px 0;
  animation: slideInUp 0.4s ease-out;
}

.saved-method-info {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1 1;
}

.saved-method-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(32, 255, 32, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 20px;
  border: 1px solid rgba(32, 255, 32, 0.3);
}

.saved-method-details {
  flex: 1 1;
}

.saved-method-label {
  color: var(--white2);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.saved-method-value {
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
  font-family: var(--bulma-family-code);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.saved-method-date {
  color: var(--white2);
  font-size: 11px;
  opacity: 0.7;
}

.saved-method-actions {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

/* Вывод средств */
.withdraw-section {
  margin-bottom: 32px;
}

.withdraw-section h3 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.withdraw-action-card {
  background: var(--darklite);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--outline-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.withdraw-info {
  flex: 1 1;
}

.withdraw-available {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 8px;
}

.withdraw-available span {
  color: var(--green);
  font-weight: 700;
  font-size: 18px;
}

.withdraw-to {
  color: var(--white2);
  font-size: 14px;
}

.withdraw-to span {
  color: var(--white);
  font-weight: 600;
}

.withdraw-button {
  min-width: 180px;
}

/* История выводов */
.withdraw-history-section h3 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.withdraw-history-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.withdraw-history-item {
  background: var(--darklite);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid var(--outline-main);
  transition: all 0.3s ease;
}

.withdraw-history-item:hover {
  border-color: var(--dslite);
  transform: translateY(-1px);
}

.withdraw-history-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.withdraw-amount {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
}

.withdraw-status {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-paid {
  background: rgba(32, 255, 32, 0.2);
  color: var(--green);
  border: 1px solid var(--green);
}

.status-pending {
  background: rgba(255, 165, 0, 0.2);
  color: orange;
  border: 1px solid orange;
}

.status-rejected {
  background: rgba(255, 0, 51, 0.2);
  color: var(--red);
  border: 1px solid var(--red);
}

.withdraw-history-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white2);
  font-size: 12px;
}

.withdraw-method {
  display: flex;
  align-items: center;
  gap: 6px;
}

.withdraw-date {
  opacity: 0.7;
}

/* Подтверждение вывода */
.withdraw-confirm-content {
  text-align: center;
  padding: 16px;
}

.withdraw-confirm-content .withdraw-amount {
  font-size: 24px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.withdraw-confirm-content .withdraw-method {
  color: var(--white);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.withdraw-note {
  color: var(--white2);
  font-size: 12px;
  font-style: italic;
}

/* Загрузка */
.maker-balance-loading {
  text-align: center;
  padding: 60px 20px;
  color: var(--white2);
}

.maker-balance-loading i {
  font-size: 48px;
  margin-bottom: 16px;
  color: var(--white2);
  opacity: 0.7;
}

/* Анимации */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Адаптивность */
@media (max-width: 768px) {
  .maker-balance-cards {
    grid-template-columns: 1fr;
  }
  
  .stats-cards {
    grid-template-columns: 1fr;
  }
  
  .saved-method-container {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  
  .withdraw-action-card {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  
  .withdraw-button {
    width: 100%;
  }
  
  .phone-actions {
    flex-direction: column;
  }
  
  .phone-actions .glow-button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .phone-input-wrapper {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
  }
  
  .phone-prefix {
    padding: 12px 16px;
    border-right: none;
    border-bottom: 1px solid var(--outline-main);
    text-align: center;
  }
  
  .phone-input {
    padding: 16px;
    text-align: center;
    font-size: 18px;
  }
  
  .saved-method-actions {
    justify-content: stretch;
  }

}

/* Отключение стрелок в input number */
.phone-input::-webkit-outer-spin-button,
.phone-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.phone-input[type=number] {
  -moz-appearance: textfield;
}

/* ===========================
   MATERIAL DARK — FILE BLOCKS
   =========================== */

.maker-order-files,
.user-order-files {
  background: var(--bbb2);
  border-radius: 14px;
  padding: 16px;
  margin-top: 15px;
  border: 1px solid var(--outline-main);
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  backdrop-filter: var(--glass-blur);
}

.maker-order-files h4,
.user-order-files h4 {
  margin: 0 0 12px 0;
  font-size: 16px;
  color: var(--white);
  font-weight: 600;
  border-left: 4px solid var(--dslite);
  padding-left: 8px;
}

/* ===========================
   FILE ITEM
   =========================== */

.maker-order-file-item,
.user-order-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 10px;
  border-radius: 10px;
  background: var(--bbb);
  color: var(--white2);
  margin-bottom: 10px;
  border: 1px solid var(--outline-main);
  transition: background 0.25s ease, border 0.25s ease;
}

.maker-order-file-item:hover,
.user-order-file-item:hover {
  background: var(--darklite);
  border-color: var(--dslite);
}

.maker-order-file-item span,
.user-order-file-item span {
  font-size: 14px;
  flex: 1 1;
  word-break: break-all;
}

/* ===========================
   BUTTONS — MATERIAL
   =========================== */

.maker-order-download-button,
.user-order-download-button {
  padding: 6px 12px;
  background: rgb(var(--telegram));
  color: var(--white);
  border-radius: 8px;
  font-size: 13px;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease;
}

.maker-order-download-button:hover,
.user-order-download-button:hover {
  background: rgba(var(--telegram), 0.8);
  transform: translateY(-1px);
}

.maker-order-delete-file,
.user-order-delete-file {
  padding: 6px 12px;
  background: var(--redopas);
  color: var(--red);
  border-radius: 8px;
  font-size: 13px;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease;
}

.maker-order-delete-file:hover,
.user-order-delete-file:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-1px);
}

/* ===========================
   REPLACE FILE INPUT
   =========================== */

.maker-order-replace-file,
.user-order-replace-file {
  padding: 6px 12px;
  background: var(--white-transp);
  color: var(--white2);
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease;
  border: 1px solid var(--outline-main);
  position: relative;
  overflow: hidden;
}

.maker-order-replace-file:hover,
.user-order-replace-file:hover {
  background: var(--bbb);
  transform: translateY(-1px);
}

.maker-order-replace-file input,
.user-order-replace-file input {
  display: none;
}

/* ===========================
   FILE CONTAINER FOOTER TEXT
   =========================== */

.maker-order-files small,
.user-order-files small {
  color: var(--gray);
  font-size: 12px;
  opacity: 0.7;
}


.maker-file-upload-progress {
  margin-top: 12px;
  background: var(--bbb2);
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--white-transp);
}

.maker-progress-bar {
  width: 100%;
  height: 8px;
  border-radius: 10px;
  background: var(--place-bg);
  overflow: hidden;
}

.maker-progress-bar-fill {
  height: 100%;
  background: var(--tg-blue);
  box-shadow: 0 0 10px rgba(var(--telegram), 0.6);
  transition: width 0.15s linear;
}

.maker-progress-info {
  margin-top: 6px;
  font-size: 13px;
  color: var(--white2);
  text-align: right;
  font-family: var(--bulma-family-primary);
}

.payment-lottie-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  overflow: hidden;

  /* Мягкий начальный фон */
  background: var(--ten);
  backdrop-filter: blur(4px);
}

/* SUCCESS — статичный зелёный градиент */
.payment-lottie-overlay.success {
  background: radial-gradient(
      circle at center,
      var(--greenopas) 0%,
      rgba(0, 0, 0, 0.65) 70%
    ),
    var(--ten);
}

/* FAIL — статичный красный градиент */
.payment-lottie-overlay.fail {
  background: radial-gradient(
      circle at center,
      var(--redopas) 0%,
      rgba(0, 0, 0, 0.65) 70%
    ),
    var(--ten);
}

.payment-lottie {
  width: 450px;
}

.order-modal-window {
  background: var(--overlay-dark);
  backdrop-filter: var(--glass-blur);
  border-radius: 18px;
  padding: 32px;
  width: 950px;
  max-width: 95vw;
  outline: 1px solid var(--outline-main);
  box-shadow: 0 0 35px rgba(0,0,0,0.55);
  color: var(--white);
  animation: fadeIn 0.25s ease-out;
}

.order-modal-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
}

.order-subhint {
  color: var(--white2);
  font-size: 14px;
  margin-bottom: 25px;
  line-height: 1.4;
}

.order-grid {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.order-field-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.order-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--white2);
}

.order-input,
.order-textarea,
.order-field-block select {
  background: var(--dark2);
  border: 1px solid var(--outline-main);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--white);
  font-size: 14px;
  transition: border-color .2s;
}

.order-input:focus,
.order-textarea:focus,
.order-field-block select:focus {
  border-color: var(--dslite);
}

.order-textarea {
  resize: vertical;
}

.order-hint {
  color: var(--gray);
  font-size: 13px;
  margin-top: -4px;
}

.order-type-tag {
  margin-top: 6px;
  padding: 6px 12px;
  background: var(--overlay-lite-dark);
  border-radius: 8px;
  font-size: 13px;
  color: var(--white2);
  border: 1px solid var(--outline-main);
  width: -moz-fit-content;
  width: fit-content;
}

.order-tg-row {
  display: flex;
  gap: 10px;
}

.order-tg-button {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(var(--telegram), 0.25);
  border: 1px solid var(--outline-main);
  color: rgb(var(--telegram));
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .2s;
}

.order-tg-button:hover {
  background: rgba(var(--telegram), 0.35);
}

.order-submit {
  background: var(--dslite);
  color: var(--white);
  padding: 14px 26px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: .2s background;
  margin-top: 10px;
}

.order-submit:hover {
  background: var(--ds);
}

.order-footer-hint {
  color: var(--white2);
  font-size: 13px;
  margin-top: 25px;
  text-align: left;
  opacity: .85;
}

.order-type-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid var(--outline-main);
}

.order-type-select {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 220px;
}

.order-minprice {
  color: var(--white2);
  font-size: 14px;
  opacity: 0.9;
}

.order-type-tag-inline {
  background: var(--overlay-lite-dark);
  border: 1px solid var(--outline-main);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--white);
  white-space: nowrap;
  backdrop-filter: var(--glass-blur);
}

.fakehome-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  background-color: var(--gradient-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.fakehome-modal-content {
  display: flex;
  flex-direction: column;
  background: var(--overlay-dark);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--outline-main);
  border-radius: .8rem;
  padding: 1rem 1.5rem;
  width: 95%;
  height: 90%;
  overflow: hidden;
  color: var(--white);
}

/* Хедер */
.fakehome-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: absolute;
  top: 0;
}

.fakehome-btn {
  text-transform: lowercase;
}

.fakehome-logo-image {
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.fakehome-close {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--white2);
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
}

.fakehome-close:hover {
  color: var(--white);
  background: var(--overlay-lite-dark);
}

/* Основной контент */
.fakehome-content {
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
}

.fakehome-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  text-align: center;
  height: 100%;
  flex: 1 1;
  overflow-y: hidden; /* убираем вертикальный скролл */
}

/* Приветственный текст */
.fakehome-welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 800px;
}

.fakehome-title {
  margin: 0;
  font-weight: 700;
  background: linear-gradient(135deg, var(--white) 0%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fakehome-subtitle,
.fakehome-mods-title {
  margin: 0 auto;
  font-size: 1.5rem;
  color: var(--white2);
}

/* Пирамида кнопок */
.fakehome-pages-section {
  display: flex;
  gap: .5rem;
  flex-direction: column;
  align-items: center;
}

.fakehome-pyramid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.fakehome-pyramid-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Секция с модами */
.fakehome-mods-section {
  display: flex;
  gap: .5rem;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
}

.fakehome-mods-container {
  display: flex;

  flex-direction: column;
}

.fakehome-mods-scroll {
  display: flex;
  justify-content: flex-start;
  overflow-x: auto; /* горизонтальный скролл */
  overflow-y: hidden;
  padding: 10px 0;
  width: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--outline-main) transparent;
}

.fakehome-mods-grid {
  display: flex;
  gap: 20px;
  padding: 0 20px;
  height: -moz-fit-content;
  height: fit-content;
  flex-shrink: 0;
}

.fakehome-mod-item {
  flex: 0 0 auto;
  width: 300px;
}

/* Поисковая строка */
.fakehome-search {
  width: 100%;
  display: flex;
  justify-content: center;
}

.fakehome-search-box {
  position: relative;
  width: min(920px, 92%);
  max-width: 920px;
}

.fakehome-search-input {
  width: 100%;
  padding: 12px 44px 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--outline-main);
  background: var(--overlay-lite-dark);
  color: var(--white);
  outline: none;
  font-size: 1rem;
  box-sizing: border-box;
}

.fakehome-search-input::placeholder {
  color: var(--white2);
  opacity: 0.85;
}

.fakehome-search-action {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--white2);
  font-size: 16px;
  cursor: pointer;
  padding: 6px;
  transition: color 0.2s ease;
}

.fakehome-search-action:hover {
  color: var(--white);
}

.fakehome-search-action.clear:hover {
  color: var(--red);
}

/* Информационное сообщение */
.fakehome-info {
  position: relative;
  margin-top: auto;
  padding: 10px 20px;
  background: var(--overlay-lite-dark);
  border-radius: 12px;
  border: 1px solid var(--outline-main);
  width: -moz-fit-content;
  width: fit-content;
  max-width: 90%;
  margin-bottom: 10px;
  flex-shrink: 0;
}


.fakehome-info-text {
  color: var(--white2);
  font-size: 1rem;
  margin: 0;
  text-align: center;
  line-height: 1.6;
}

/* Состояния загрузки */
.fakehome-loading,
.fakehome-loading-mod,
.fakehome-no-mods {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
  font-size: 1.3rem;
  color: var(--white2);
}
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: var(--overlay-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2200;
}

.cart-window {
  width: 540px;
  /* было 470 — стало чуть шире */
  max-height: 85vh;
  padding: 26px;
}

.cart-window {
  overflow: visible;
  background: var(--bbb2);
  border-radius: 14px;
  position: relative;
  box-shadow: 0 0 20px var(--ten);
  backdrop-filter: var(--glass-blur);
  animation: cartFade .25s ease;

  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@keyframes cartFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cart-close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 40px;
  height: 40px;
  font-size: 26px;
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: all .2s ease-in-out;
}

.cart-close:hover {
  background: var(--overlay-lite-dark);
}

.cart-close:active {
  background: var(--ddark);
}

.cart-title {
  font-size: 22px;
  color: var(--white);
}

.cart-empty {
  text-align: center;
  padding: 40px 0;
  color: var(--white2);
}

.cart-empty i {
  font-size: 42px;
  margin-bottom: 10px;
  color: var(--white-transp);
}

/* PROMO */
.promo-block {
  display: flex;
  gap: 10px;
}

.promo-input {
  flex: 1 1;
  padding: 10px;
  background: var(--place-bg);
  border: 1px solid var(--outline-main);
  color: var(--white);
  border-radius: 8px;
  box-sizing: border-box;
}

.promo-apply {
  padding: 10px 16px;
  background: var(--dslite);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

/* PROMO INFO */
.promo-info {
  margin-top: 10px;
  padding: 10px;
  background: var(--overlay-lite-dark);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  color: var(--white);
}

/* TOTAL */
.cart-total {
  display: flex;
  padding-top: .5rem;
  justify-content: space-between;
  font-size: 18px;
  border-top: 1px solid var(--outline-main);
  color: var(--white);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-total-prices {
  display: flex;
  align-items: center;
  gap: 10px;
}

.old-price {
  text-decoration: line-through;
  color: var(--white2);
  font-size: 14px;
}

.new-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

/* ACTIONS */

.cart-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-buttons-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.cart-clear {
  background: var(--darklite);
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  color: var(--white);
}

.cart-checkout {
  background: var(--green);
  color: var(--dark);
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.cart-discount-summary {
  padding: 10px;
  background: var(--overlay-lite-dark);
  border-left: 3px solid var(--green);
  border-radius: 8px;
  color: var(--white2);
  font-size: 14px;
}

.cart-economy {
  margin-top: 10px;
  font-size: 16px;
  color: var(--white);
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;

  max-height: 330px;
  /* ← 3 карточки */
  overflow-y: auto;
  /* ← прокрутка только товаров */
  padding-right: 8px;
  /* чтобы скролл не наезжал */
}

.cart-card {
  display: flex;
  gap: 12px;
  background: var(--bbb);
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--outline-main);
  position: relative;
  overflow: hidden;
  align-items: center;
  min-height: 72px;
}

.cart-card {
  position: relative;
}

.cart-card-preview {
  width: 110px;
  height: 75px;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.cart-card-preview img {
  object-fit: cover;
}

.cart-card-info {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 32px;
}

.cart-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  word-break: break-word;
}

.cart-card-meta {
  display: flex;
  gap: 8px;
}

.meta-pill {
  background: var(--overlay-lite-dark);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  color: var(--white2);
}

.cart-card-price {
  font-size: 14px;
  display: flex;
  gap: 6px;
  align-items: baseline;
}

.cart-card-price .old {
  color: #888;
  text-decoration: line-through;
}

.cart-card-price .new {
  color: #00c853;
  font-weight: 600;
}

.cart-card-delete {
  position: absolute;
  top: 8px;
  right: 8px;

  background: var(--overlay-lite-dark);
  border: 1px solid var(--outline-main);
  color: var(--white2);

  width: 26px;
  height: 26px;
  border-radius: 6px;

  cursor: pointer;

  display: flex;
  justify-content: center;
  align-items: center;
  transition: .2s ease;
}

.cart-card-delete:hover {
  background: var(--red);
  color: #fff;
  transform: scale(1.1);
}


.added-to-cart-modal {
  text-align: center;
  padding: 10px 0;
}

.added-to-cart-modal .cart-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.added-to-cart-modal .cart-text {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.added-to-cart-modal .cart-sub {
  font-size: 14px;
  opacity: 0.8;
}

.promo-input-wrapper {
  position: relative;
  width: 80%;
}

.promo-clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--white);
  padding: 0;
  font-size: 18px;
  line-height: 0;
  transition: color 0.2s ease;
}

.promo-clear-btn:hover {
  color: var(--redopas);
}

.promo-input {
  width: 100%;
  padding-right: 32px !important;
  /* место под крестик */
}

/* ============================
   PAYMENT METHODS — HORIZONTAL
   ============================ */

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pm-item {
  flex: 1 1;
  min-width: 150px;

  background: var(--bbb);
  border: 1px solid var(--outline-main);
  border-radius: 12px;

  padding: 12px 14px;

  display: flex;
  align-items: center;
  gap: 10px;

  cursor: pointer;
  transition: .25s ease;
}

.pm-item:hover {
  background: var(--overlay-lite-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px var(--ten);
}

.pm-item.active {
  border-color: var(--green);
  background: rgba(32, 255, 32, 0.07);
  box-shadow: 0 0 10px var(--greenopas);
}

/* прячем радио */
.pm-item input[type="radio"] {
  display: none;
}

/* точка выбора */
.pm-radio {
  width: 16px;
  height: 16px;
  border: 2px solid var(--white2);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.pm-item input[type="radio"]:checked + .pm-radio {
  border-color: var(--green);
}

.pm-radio::after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  opacity: 0;
  transition: .2s ease;
}

.pm-item input[type="radio"]:checked + .pm-radio::after {
  opacity: 1;
}

/* Иконка */
.pm-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;

  background: var(--overlay-lite-dark);
  border: 1px solid var(--outline-main);

  display: flex;
  justify-content: center;
  align-items: center;

  flex-shrink: 0;
}

.pm-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* FontAwesome */
.pm-icon i {
  font-size: 18px;
  color: var(--white);
}

/* Текст */
.pm-text {
  display: flex;
  flex-direction: column;
  color: var(--white);
}

.pm-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.pm-sub {
  font-size: 12px;
  color: var(--white2);
}

/* Адаптивность */
@media (max-width: 460px) {
  .pm-item {
    min-width: 100%;
  }
}
/* ===========================================================
   ROOT Layout
=========================================================== */

.promo-manager-root {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 20px;
  color: var(--white);
  width: 100%;
}



/* ===========================================================
   Форма создания промокода
=========================================================== */
.promo-date-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.promo-date-grid > div {
  display: flex;
  flex-direction: column;
}



.promo-create-container {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: space-between;
  align-content: center;
}

.promo-create-box {
  background: var(--overlay-dark);
  border: 1px solid var(--outline-main);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-radius: 16px;
  backdrop-filter: var(--glass-blur);
}

.promo-create-title {
  font-size: 22px;
  font-weight: 700;
}

/* БЛОКИ */
.promo-form-section {
  background: var(--bbb2);
  display: flex;
  flex-direction: column;
  gap: .5rem;
  border: 1px solid var(--outline-main);
  border-radius: 14px;
  padding: 1rem;
}

.promo-form-section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}

/* ЛЕЙБЛЫ */
.promo-form-label {
  display: block;
  font-size: 13px;
  color: var(--white2);
}

/* ПОЛЯ INPUT */
.promo-form-input {
  width: 100%;
  padding: 10px 12px;
  background: var(--bbb);
  border-radius: 10px;
  border: 1px solid var(--outline-main);
  color: var(--white);
  font-size: 14px;
  box-sizing: border-box;
  transition: 0.2s ease;
}

.promo-form-input:focus {
  border-color: var(--dslite);
}



/* ===========================================================
   RADIO Buttons
=========================================================== */

.promo-radio-row {
  display: flex;
  gap: 16px;
}

.promo-radio-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.promo-radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--white);
}

.promo-radio-label input[type="radio"] {
  accent-color: var(--dslite);
  width: 16px;
  height: 16px;
}



/* ===========================================================
   Кнопка создания промокода
=========================================================== */

.promo-create-btn {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--dslite);
  background: var(--dslite);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: 0.2s;
}

.promo-create-btn:hover {
  background: var(--ds);
}

.promo-create-btn:active {
  transform: scale(0.97);
}



/* ===========================================================
   Список промокодов
=========================================================== */

.promo-list-box {
  background: var(--overlay-dark);
  border: 1px solid var(--outline-main);
  padding: 22px;
  border-radius: 16px;
  backdrop-filter: var(--glass-blur);
}

.promo-list-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 18px;
}



/* ===========================================================
   Чипы фильтров
=========================================================== */

.promo-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.promo-chip {
  padding: 8px 16px;
  background: var(--dark2);
  border: 1px solid var(--outline-main);
  border-radius: 999px;
  font-size: 14px;
  color: var(--white);
  cursor: pointer;
  transition: 0.2s ease;
}

.promo-chip:hover {
  background: var(--bbb2);
}

.promo-chip.active {
  background: var(--dslite);
  border-color: var(--dslite);
  color: var(--white);
}

/* Селект в виде чипа */
.promo-chip-select {
  padding-right: 26px;
}

.promo-chip-select select {
  background: none;
  border: none;
  color: var(--white);
}



/* ===========================================================
   Список карточек
=========================================================== */

.promo-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}



/* ===========================================================
   Карточка промокода
=========================================================== */

.promo-card {
  background: var(--bbb);
  border: 1px solid var(--outline-main);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.25s ease;
}

.promo-card:hover {
  background: var(--dark2);
  border-color: var(--white-transp);
}

/* Если просрочен */
.promo-card.expired {
  border-color: var(--red);
  background: rgba(255, 0, 0, 0.08);
  opacity: 0.85;
}


/* Для блока выбора типа скидки */
.promo-form-input {
  width: 100%;
  padding: 10px 12px;
  background: var(--bbb);
  border-radius: 10px;
  border: 1px solid var(--outline-main);
  color: var(--white);
  font-size: 14px;
  box-sizing: border-box;
  transition: 0.2s ease;
}

.promo-form-input:focus {
  border-color: var(--dslite);
}

/* Для select */
.promo-form-input select {
  background: var(--bbb);
  color: var(--white);
  font-size: 14px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--outline-main);
  cursor: pointer;
  width: 100%;
}

.promo-form-input select:focus {
  border-color: var(--dslite);
}

/* Стили для кнопок */
.promo-card-btn {
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid var(--outline-main);
  background: var(--dark2);
  color: var(--white);
  cursor: pointer;
  transition: 0.2s ease;
  font-weight: 600;
}

/* Актив / Выключен */
.promo-card-btn.active {
  background: var(--greenopas);
  border-color: var(--green);
}

.promo-card-btn.active:hover {
  background: var(--green);
}

.promo-card-btn.inactive:hover {
  background: var(--bbb2);
}


.promo-edit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
  margin-bottom: 12px;
}

.promo-edit-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ===========================================================
   Левая часть карточки
=========================================================== */

.promo-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.promo-card-code {
  font-size: 18px;
  font-weight: 700;
}

.promo-card-line {
  font-size: 14px;
  color: var(--white2);
}

.promo-card-dates {
  font-size: 12px;
  color: var(--white2);
  opacity: 0.7;
}



/* ===========================================================
   Правая часть карточки — кнопки
=========================================================== */

.promo-card-actions {
  display: flex;
  gap: 10px;
}

.promo-card-btn {
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid var(--outline-main);
  background: var(--dark2);
  color: var(--white);
  cursor: pointer;
  transition: 0.2s ease;
  font-weight: 600;
}

/* Актив / Выключен */
.promo-card-btn.active {
  background: var(--greenopas);
  border-color: var(--green);
}

.promo-card-btn.active:hover {
  background: var(--green);
}

.promo-card-btn.inactive:hover {
  background: var(--bbb2);
}



/* ===========================================================
   DELETE Button
=========================================================== */

.promo-card-delete {
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid var(--red);
  background: var(--redopas);
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.promo-card-delete:hover {
  background: var(--red);
}

.promo-card-delete:active {
  transform: scale(0.97);
}


/* ================================
   TAB чипы (GitHub style)
================================ */

.admin-chip-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 22px;
}

.chip {
  padding: 10px 20px;
  background: var(--bbb2);
  border: 1px solid var(--outline-main);
  border-radius: 999px;
  font-size: 14px;
  color: var(--white);
  cursor: pointer;
  transition: 0.2s;
  font-weight: 600;
}

.chip:hover {
  background: var(--bbb);
}

.chip.active {
  background: var(--dslite);
  border-color: var(--dslite);
  color: var(--white);
}

/* Wrapper */

.admin-wrapper {
  width: 1200px;
  max-width: 95vw;
  margin: 4rem auto;
  animation: fadeIn 0.2s ease-out;
}

.admin-tabs {
  display: flex;
  gap: 10px;
}

.admin-tabs button {
  background: var(--dark2);
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--outline-main);
  font-size: 14px;
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s ease;
}

.admin-tabs button:hover {
  background: var(--dark3);
}

.admin-tabs .active {
  background: var(--dslite);
  border-color: var(--dslite);
}

.admin-content {
  animation: fadeIn 0.2s ease-out;
}

.admin-chip-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.chip {
  padding: 8px 16px;
  background: var(--dark2);
  border: 1px solid var(--outline-main);
  border-radius: 999px;
  font-size: 14px;
  color: var(--white);
  cursor: pointer;
  transition: 0.2s;
}

.chip:hover {
  background: var(--dark3);
}

.chip.active {
  background: var(--dslite);
  border-color: var(--dslite);
  color: var(--white);
}

.chip:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
/* Стили для списка заказов */
/* Стили для списка заказов */
/* Стили для списка заказов */
.user-order-list {
  padding: 16px;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.order-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-list-header h2 {
  margin: 0;
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 600;
}

.order-counter {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--dark2);
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 0.8rem;
}

.order-counter .current {
  color: var(--dslite);
  font-weight: 600;
}

.order-counter .separator {
  color: var(--white2);
  opacity: 0.6;
}

.order-counter .total {
  color: var(--white);
  opacity: 0.8;
}

/* Swiper контейнер */
.order-swiper-container {
  position: relative;
  width: 100%;
  border-radius: 12px;
  background: var(--darklite);
  border: 1px solid var(--outline-main);
}

.order-swiper {
  width: 100%;
  height: auto;
  min-height: 280px;
}

.order-swiper:active {
  cursor: grabbing;
}

.order-slide {
  padding: 12px;
  display: flex;
  flex-direction: column;
}

/* Навигационные кнопки - максимально прижаты */
.order-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: var(--darklite);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
  border: 1px solid var(--outline-main);
  opacity: 0.8;
}

.order-nav:hover {
  background: var(--dslite);
  color: var(--dark);
  opacity: 1;
}

.order-nav-prev {
  left: -16px;
}

.order-nav-next {
  right: -16px;
}

.order-nav i {
  font-size: 12px;
}

/* Пустой список */
.user-order-empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--white2);
  background: var(--darklite);
  border-radius: 12px;
  border: 1px solid var(--outline-main);
}

.user-order-empty-state i {
  font-size: 36px;
  margin-bottom: 12px;
  opacity: 0.5;
}

.user-order-empty-state p {
  margin: 0;
  font-size: 14px;
  opacity: 0.8;
}

/* Адаптивность */
@media (max-width: 768px) {
  .user-order-list {
    padding: 12px;
    max-width: 100%;
  }

  .order-slide {
    padding: 10px;
  }

  .order-nav {
    width: 28px;
    height: 28px;
  }

  .order-nav-prev {
    left: 8px;
  }

  .order-nav-next {
    right: 8px;
  }

  .order-list-header {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .user-order-list {
    padding: 8px;
  }

  .order-slide {
    padding: 8px;
  }

  .order-nav {
    width: 24px;
    height: 24px;
  }

  .order-nav i {
    font-size: 10px;
  }
}

/* Material Design карточка заказа */
.user-order-card {
  background: var(--darklite);
  border-radius: 16px;
  border: 1px solid var(--outline-main);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
}

.user-order-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  border-color: var(--dslite);
  transform: translateY(-2px);
}

.user-order-header {
  padding: 20px;
  transition: background 0.3s ease;
  position: relative;
}

.user-order-header:hover {
  background: linear-gradient(135deg, var(--dark2) 0%, var(--darklite) 100%);
}

.user-order-expand-btn {
  background: var(--dark2);
  border: 1px solid var(--outline-main);
  border-radius: 8px;
  color: var(--white);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.user-order-expand-btn:hover {
  background: var(--dslite);
  color: var(--dark);
  border-color: var(--dslite);
}

.user-order-expand-btn i {
  font-size: 12px;
  transition: transform 0.2s ease;
}

/* Двухколоночный layout - теперь статус вторая колонка */
.user-order-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  width: 100%;
  -webkit-user-select: none;
          user-select: none;
}

.user-order-main-info {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;
}

@media (max-width: 1024px) {
  .user-order-main-info {
    display: grid;
    grid-template-columns: repeat(2, auto);
    grid-auto-rows: auto;
    gap: 1rem;
    align-items: center;
  }
}

.user-order-info-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.user-order-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: var(--dark2);
  border-radius: 6px;
  border: 1px solid var(--outline-main);
  transition: all 0.3s ease;
  min-width: 0;
}

.user-order-info-item:hover {
  border-color: var(--dslite);
  transform: translateY(-1px);
}

.user-order-info-icon {
  color: var(--dslite);
  font-size: 12px;
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}

.user-order-info-label {
  color: var(--white2);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.user-order-info-value {
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-order-id {
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  background: linear-gradient(135deg, var(--white) 0%, var(--dslite) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.user-order-price {
  color: var(--green);
  font-weight: 600;
}

.user-order-deadline {
  color: var(--pink);
  font-weight: 600;
}

.user-order-maker {
  color: var(--dslite);
  font-weight: 500;
}

/* Правая колонка - статус */
/* Общая секция */
.user-order-status-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: .5rem;
}

.user-order-status-badge {
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.user-order-status-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* ==========================
   🟣 REVIEW
   ========================== */
.user-order-status-review {
  background: linear-gradient(135deg, var(--purple-soft) 0%, rgba(var(--discord-lite), 0.15) 100%);
  color: var(--purple);
  border: 1px solid var(--purple);
}

/* ==========================
   🟡 PENDING
   ========================== */
.user-order-status-pending {
  background: linear-gradient(135deg, rgba(150,150,150,0.2) 0%, rgba(150,150,150,0.1) 100%);
  color: var(--white2);
  border: 1px solid var(--white2);
}

/* ==========================
   🟠 WAITING_PAYMENT
   ========================== */
.user-order-status-waiting_payment {
  background: linear-gradient(135deg, rgba(var(--discord-lite),0.2) 0%, rgba(var(--discord-lite),0.1) 100%);
  color: var(--dslite);
  border: 1px solid var(--dslite);
}

/* ==========================
   🔧 IN_WORK (оранжевый → делаем через pink/purple mix)
   ========================== */
.user-order-status-in_work {
  background: linear-gradient(135deg, var(--pink-soft) 0%, rgba(255,165,0,0.15) 100%);
  color: orange;
  border: 1px solid orange;
}

/* ==========================
   🟢 PAID
   ========================== */
.user-order-status-paid {
  background: linear-gradient(135deg, var(--greenopas) 0%, rgba(32,255,32,0.3) 100%);
  color: var(--green);
  border: 1px solid var(--green);
}

/* ==========================
   🟢 DONE
   ========================== */
.user-order-status-done {
  background: linear-gradient(135deg, var(--greenopas) 0%, rgba(32,255,32,0.25) 100%);
  color: var(--green);
  border: 1px solid var(--green);
}

/* ==========================
   ❌ CANCELED
   ========================== */
.user-order-status-canceled {
  background: linear-gradient(135deg, var(--redopas) 0%, rgba(255,0,51,0.3) 100%);
  color: var(--red);
  border: 1px solid var(--red);
}


/* Детали заказа */
/* Детали заказа - только базовые стили, анимация через framer-motion */
.user-order-details {
  background: var(--dark2);
  border-top: 1px solid var(--outline-main);
  overflow: hidden;
}

.user-order-details-content {
  padding: 20px;
  display: flex;
  gap: 1rem;
  flex-direction: column;
}

/* Добавить в CSS */
.user-order-auto-confirm-timer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--darklite);
  border-radius: 6px;
  border: 1px solid var(--dslite);
  color: var(--dslite);
  font-size: 12px;
  font-weight: 600;
}

.user-order-auto-confirm-timer i {
  color: var(--dslite);
}

.user-order-markdown {
  max-height: 150px;
  overflow-y: auto;
}

.user-order-description {
  color: var(--white);
  line-height: 1.6;
  padding: 16px;
  background: var(--bbb);
  border-radius: 10px;
  border-left: 4px solid var(--dslite);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  font-size: 14px;
}

.user-order-description::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--dslite), transparent);
}

.user-order-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Кастомные стили для GlowButton в заказах */
.user-order-glow-button {
  min-width: 140px;
}

.user-order-glow-button .glow-button {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
}

/* Состояние загрузки */
.user-order-loading {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}

.user-order-loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: user-order-loadingShimmer 1.5s infinite;
}

@keyframes user-order-loadingShimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

/* Пустой список */
.user-order-empty-state {
  text-align: center;
  padding: 50px 20px;
  color: var(--white2);
}

.user-order-empty-state i {
  font-size: 56px;
  margin-bottom: 16px;
  color: var(--white2);
  opacity: 0.7;
}

.user-order-empty-state p {
  font-size: 16px;
  margin: 0;
  opacity: 0.8;
}

/* Адаптивность */
@media (max-width: 1100px) {
  .user-order-list {
    padding: 20px 16px;
  }
}

@media (max-width: 768px) {
  .user-order-list {
    padding: 16px 12px;
  }

  .user-order-status-section {
    align-items: flex-start;
  }

  .user-order-info-row {
    justify-content: space-between;
  }

  .user-order-actions {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .user-order-header {
    padding: 16px;
  }

  .user-order-info-item {
    padding: 8px 12px;
  }

  .user-order-info-label {
    font-size: 9px;
  }

  .user-order-info-value {
    font-size: 12px;
  }

  .user-order-glow-button {
    min-width: 120px;
  }

  .user-order-glow-button .glow-button {
    padding: 8px 16px;
    font-size: 12px;
  }
}
/* Адаптивность */
@media (max-width: 900px) {

  header {
    height: 70px;
  }

  .sitlogo {
    margin: 0px 10px 0px 10px;
  }

  footer {
    width: 100% !important;
    right: unset;
    margin: unset;
    border-radius: 15px 15px 0px 0px;
  }

  .sidebar-container {
    position: fixed;
    z-index: 99;
    left: -250px;
    transition: all .3s ease-in-out;
  }

  .promo-code-con,
  .referral-system {
    display: none;
  }

  .logo {
    margin-left: 0;
    margin-right: auto;
  }

  /* .gta5 {
    display: none !important;
  } */
  .scroll-to-top {
    bottom: 160px;
    width: 80px;
    font-size: 24px;
    height: 80px;
  }

  #subscribe-notification {
    display: none !important;
  }

  .pay-modal-content {
    max-width: 550px;
  }

  .file-card {
    backdrop-filter: unset;
    -webkit-backdrop-filter: unset;
  }

  .file-container-head {
    flex-direction: column;
  }

  .info-file-preview {
    width: 100% !important;
    height: 350px;
    max-height: 350px !important;
  }

  .mod-form,
  .mods-list,
  .loh-block3,
  .review-form,
  .reviews-list,
  .reviews-column,
  .loh-block2 {
    width: auto !important;
  }

  .other-form-container,
  .umods-list,
  .priv-container {
    width: auto;
  }

  .loh-block3,
  .loh-block2 {
    max-width: none !important;
  }

  .file-title {
    font-size: 20px;
  }

  .mod-container,
  .review-container {
    flex-direction: column;
  }

  .footer-bottom {
    display: flex;
    gap: 5px;
    padding: unset;
    align-items: center;
    flex-direction: column;
  }

  .title form {
    font-size: 16px;
    gap: 6px;
  }

  .title-new {
    margin: 0 10px;
    width: auto;
    right: 0;
  }
}

@media (max-width: 800px) {
  .file-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  }

  .placeholder-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  }

  .file-controls {
    gap: 5px;
  }

  .title-new {
    margin: 0 10px;
    width: auto;
    right: 0;
  }
}

@media (max-width: 768px) {
  .burger {
    display: flex;
  }
  .header-promo {
    display: none !important;
  }
}

/* Открытие сайтбара */
.sidebar-container.active {
  left: 0;
}

.sidebar-container.active {
  opacity: 1;
  visibility: visible;
}
 
