/* Основные переменные и настройки */
:root {
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --primary-light: rgba(99, 102, 241, 0.1);
  --primary-dark: #4338ca;
  --secondary: #10b981;
  --secondary-hover: #059669;
  --secondary-light: rgba(16, 185, 129, 0.1);
  --dark: #0f172a;
  --dark-light: #1e293b;
  --gray: #64748b;
  --gray-light: #94a3b8;
  --light: #f1f5f9;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --border-radius-sm: 0.25rem;
  --border-radius: 0.5rem;
  --border-radius-lg: 0.75rem;
  --border-radius-xl: 1rem;
  --border-radius-full: 9999px;
  --transition: all 0.3s ease;
  --transition-fast: all 0.15s ease;
  --transition-slow: all 0.5s ease;
  --header-height: 70px;
  --font-size-base: 14px;
  --font-size-sm: 12px;
  --font-size-lg: 16px;
  --font-size-xl: 18px;
  
  /* Переменные для динамического управления видимостью элементов */
  --header-logo-visibility: flex;
  --header-actions-visibility: flex;
  --header-toggle-visibility: none; /* Изменено на none по умолчанию */
}

/* Базовые стили */
html,
body {
  width: 100%;
  min-height: 100%;
  font-size: var(--font-size-base);
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
    "Helvetica Neue", sans-serif;
  color: var(--dark);
  line-height: 1.5;
  margin: 0;
  padding: 0;
  background-color: var(--white);
  -webkit-text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Изменяем свойство overflow для body */
body {
  -webkit-overflow-scrolling: touch;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  background: #fff url("../images/funky-lines.webp") repeat;
  position: relative;
}

/* Добавляем fallback для браузеров, не поддерживающих webp */
@supports not (background-image: url("../images/funky-lines.webp")) {
  body {
    background: #fff url("../images/funky-lines.png") repeat;
  }
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.03) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.03) 0%, transparent 20%),
    radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.01) 0%, transparent 100%);
  background-attachment: fixed;
  z-index: -1;
  pointer-events: none;
}

/* Блокировка прокрутки при открытом меню */
body.menu-open {
  overflow: hidden;
}

/* Сброс стилей для всех элементов */
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  margin: 0;
  padding: 0;
}

a,
button {
  touch-action: manipulation;
  text-decoration: none;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

ul,
ol {
  list-style: none;
}

/* Скроллбар */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--gray-light);
  border-radius: var(--border-radius-full);
  transition: var(--transition);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray);
}

/* Выделение текста */
::selection {
  background: var(--primary);
  color: var(--white);
}

/* Контейнеры */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.wrapper {
  flex: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* СОВРЕМЕННЫЙ ХЕДЕР */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--header-height);
}

/* Логотип и заголовок */
.logo {
  display: var(--header-logo-visibility);
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition);
  position: relative;
  min-width: 0;
  flex-shrink: 1;
}

.logo:hover {
  transform: translateY(-2px);
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  background: var(--primary-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
}

.logo-icon img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.logo-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo-subtitle {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Основная навигация */
.main-nav {
  display: flex;
  align-items: center;
  margin-left: 2rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-list li {
  position: relative;
}

.nav-list li a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  color: var(--dark);
  font-weight: 500;
  font-size: 0.875rem;
  border-radius: var(--border-radius-full);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.nav-hover-effect {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: translateX(-50%);
  transition: var(--transition);
  border-radius: var(--border-radius-full);
}

.nav-list li a:hover .nav-hover-effect {
  width: 70%;
}

.nav-list li.active a {
  color: var(--primary);
}

.nav-list li.active .nav-hover-effect {
  width: 70%;
}

/* Действия в хедере */
.header-actions {
  display: var(--header-actions-visibility);
  align-items: center;
  justify-content: flex-end; /* Изменено с center на flex-end */
  gap: 0.75rem; /* Уменьшен отступ */
  flex-wrap: nowrap;
  flex-shrink: 0;
  min-width: 0; /* Добавлено для предотвращения переполнения */
  transition: all 0.3s ease; /* Добавляем плавный переход */
  max-width: none; /* Убираем ограничение ширины */
  position: relative; /* Добавлено для позиционирования */
}

/* Улучшаем стили для социальных иконок */
.social-links {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* Уменьшен отступ */
  flex-shrink: 1; /* Позволяем сжиматься, но не исчезать */
  min-width: 0; /* Предотвращаем переполнение */
  transition: all 0.3s ease; /* Добавляем плавный переход */
  position: relative; /* Добавлено для позиционирования */
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  border-radius: var(--border-radius-full);
  transition: var(--transition);
  background: var(--light);
  color: var(--gray);
  position: relative;
  overflow: hidden;
}

.social-tooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--dark);
  color: var(--white);
  padding: 0.25rem 0.5rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  white-space: nowrap;
}

.social-tooltip:after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: var(--dark) transparent transparent transparent;
}

.social-link:hover .social-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.social-link:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: var(--transition);
}

.social-link:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-md);
}

.social-link:hover:before {
  opacity: 1;
}

.social-link.telegram:hover {
  background: #0088cc;
  color: var(--white);
}

.social-link.vk:hover {
  background: #4a76a8;
  color: var(--white);
}

/* Кнопка "Купить пиксели" */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  font-weight: 600;
  font-size: 0.8125rem; /* Уменьшен размер шрифта */
  border-radius: var(--border-radius-full);
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  line-height: 1; /* Добавлено для лучшего выравнивания */
  flex-shrink: 1; /* Позволяем сжиматься */
  min-width: 0; /* Предотвращаем переполнение */
}

.btn-primary:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: var(--transition-slow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover:before {
  left: 100%;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary svg {
  width: 1.25rem;
  height: 1.25rem;
  min-width: 1.25rem;
  flex-shrink: 0; /* Добавлено */
}

.btn-primary span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block; /* Добавлено */
  vertical-align: middle; /* Добавлено для выравнивания */
  line-height: 1.2; /* Добавлено для выравнивания */
  max-width: 100%; /* Позволяем тексту сжиматься до размера контейнера */
  transition: all 0.3s ease; /* Добавляем плавный переход */
}

/* Кнопка "Личный кабинет" */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--light);
  color: var(--dark);
  font-weight: 500;
  font-size: 0.8125rem; /* Уменьшен размер шрифта */
  border-radius: var(--border-radius-full);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  max-width: 180px;
  line-height: 1; /* Добавлено для лучшего выравнивания */
  flex-shrink: 1; /* Позволяем сжиматься */
  min-width: 0; /* Предотвращаем переполнение */
}

.btn-secondary:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
  transition: var(--transition-slow);
}

.btn-secondary:hover {
  background: var(--primary-light);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-secondary:hover:before {
  left: 100%;
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-secondary svg {
  width: 1.25rem;
  height: 1.25rem;
  min-width: 1.25rem;
  flex-shrink: 0;
}

.btn-secondary span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block; /* Добавлено */
  vertical-align: middle; /* Добавлено для выравнивания */
  line-height: 1.2; /* Добавлено для выравнивания */
  max-width: 100%; /* Позволяем тексту сжиматься до размера контейнера */
  transition: all 0.3s ease; /* Добавляем плавный переход */
}

/* Улучшенное мобильное меню */
.mobile-menu-toggle {
  display: var(--header-toggle-visibility); /* Использует переменную */
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  min-height: 2.5rem;
  border-radius: var(--border-radius-full);
  background: var(--light);
  transition: var(--transition);
  position: relative;
  z-index: 60;
  margin-left: 0.5rem;
  flex-shrink: 0;
}

.mobile-menu-toggle:hover {
  background: var(--primary-light);
}

.mobile-menu-toggle span {
  display: block;
  position: relative;
  width: 1.25rem;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.mobile-menu-toggle span::before,
.mobile-menu-toggle span::after {
  content: "";
  position: absolute;
  width: 1.25rem;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.mobile-menu-toggle span::before {
  top: -6px;
  left: 0;
}

.mobile-menu-toggle span::after {
  bottom: -6px;
  left: 0;
}

.mobile-menu-toggle.active span {
  background: transparent;
}

.mobile-menu-toggle.active span::before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-menu-toggle.active span::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* Мобильная навигация */
.mobile-nav {
  display: none;
  position: fixed;
  top: calc(var(--header-height) + 1rem);
  left: 0;
  width: 100%;
  z-index: 40;
  pointer-events: none;
}

.mobile-nav-container {
  position: relative;
  pointer-events: auto;
}

.mobile-nav-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--white);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  box-shadow: var(--shadow-lg);
  margin: 0 1rem;
}

.mobile-nav-list.open {
  max-height: 500px;
}

.mobile-nav-list li {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  border-bottom: 1px solid var(--light);
}

.mobile-nav-list.open li {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-list li:last-child {
  border-bottom: none;
}

.mobile-nav-list li a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--dark);
  font-weight: 500;
  transition: var(--transition);
}

.mobile-nav-list li a:hover {
  background: var(--light);
  color: var(--primary);
}

.mobile-nav-list li.active a {
  background: var(--primary-light);
  color: var(--primary);
}

/* Основной контент с белым фоном и выступом */
.content {
  padding: 2rem 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  will-change: opacity, transform;
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  margin: 2rem auto;
  max-width: 1040px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Выступ в верхней части */
.content::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 40px;
  /*background-color: var(--white);
  border-radius: 50% 50% 0 0;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);*/
  z-index: -1;
}

/* Стили для пиксельных баннеров */
.pixelsblock {
  position: relative;
  background: #f9fafb;
  box-shadow: inset 0px 0px 0px 1px #eff4f9;
  max-width: 1000px !important;
  width: 1000px !important;
  max-height: 1000px !important;
  height: 1000px !important;
  display: block !important;
}
.podpixelsblock {
  position: relative;
  margin: -10px;
  overflow: overlay;
  max-width: 1000px !important;
  width: 1000px !important;
  max-height: 1000px !important;
  height: 1000px !important;
  display: block !important;
  margin-top: -8px !important;
}
a.pixelItem {
  float: left;
}
a.pixelItem img {
  display: block;
}
@media (max-width: 1400px) {
  .podpixelsblock {
    max-width: 100% !important;
    width: 100% !important;
    max-height: 100% !important;
    height: 100% !important;
    overflow: overlay;
    padding: 0px 20px 0px 20px;
  }
}

/* Добавляем отступы для всех прямых потомков .content */
.content > div,
.content > section,
.content > article,
.content > form,
.content > ul,
.content > ol,
.content > p,
.content > h1,
.content > h2,
.content > h3,
.content > h4,
.content > h5,
.content > h6,
.content > table {
  padding-left: 2rem;
  padding-right: 2rem;
}

.page-transition {
  opacity: 0;
  transform: translateY(20px);
}

.page-loaded {
  opacity: 1;
  transform: translateY(0);
}

.page-exit {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}

/* Современный футер */
.footer {
  background: var(--dark-light);
  color: var(--white);
  padding: 3rem 0;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 30%);
  opacity: 0.3;
  z-index: 0;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo img {
  filter: brightness(0) invert(1);
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
}

.footer-logo-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.05em;
}

.footer-logo-subtitle {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-light);
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--gray-light);
  transition: var(--transition);
  position: relative;
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: center;
  transition: var(--transition);
}

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

.footer-links a:hover::after {
  transform: scaleX(1);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--gray-light);
}

.footer-disclaimer {
  font-size: 0.875rem;
  color: var(--gray-light);
  max-width: 600px;
}

/* Улучшенные модальные окна */
.custom-modal {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 0;
  overflow: hidden;
}

.modal-header {
  background: var(--primary-light);
  padding: 1.5rem;
  border-bottom: 1px solid var(--light);
}

.uk-modal-title {
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

.modal-form {
  padding: 1.5rem;
}

.form-field {
  position: relative;
}

.form-field .uk-input {
  border-radius: var(--border-radius);
  border: 1px solid var(--light);
  padding: 0.75rem 1rem;
  transition: var(--transition);
}

.form-field .uk-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.form-link {
  margin-top: 0.5rem;
  text-align: right;
}

.form-link a {
  color: var(--primary);
  transition: var(--transition);
}

.form-link a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.modal-button {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--border-radius);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.modal-button:hover {
  background: var(--primary-hover);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.35);
}

.modal-button-secondary {
  width: 100%;
  background: var(--light);
  border-radius: var(--border-radius);
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: var(--transition);
}

.modal-button-secondary:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.modal-divider {
  position: relative;
  text-align: center;
  margin: 1.5rem 0;
}

.modal-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--light);
}

.modal-divider span {
  position: relative;
  background: var(--white);
  padding: 0 1rem;
  color: var(--gray);
  font-size: 0.875rem;
}

/* JavaScript-управляемые классы для адаптивности */
.header-container.compact .logo-text {
  display: none;
}

.header-container.ultra-compact .logo {
  max-width: 40px;
  overflow: hidden;
}

/* Класс для скрытия элементов при переполнении */
.header-container.overflow-detected .social-links {
  display: none;
}

/* Поддержка для JavaScript-обнаружения переполнения */
/* Эти классы используются JavaScript-кодом для динамического управления видимостью элементов */
.js-header-overflow-item {
  transition: opacity 0.3s ease;
}

.js-header-overflow-item.hidden {
  opacity: 0;
  visibility: hidden;
  width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/* Добавляем стили для обработки ошибок загрузки изображений */
img.error {
  opacity: 0.5;
}


   


/* User */

   
/* Стили для страницы пользователя */
.user-dashboard-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.user-dashboard-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
}

.user-dashboard-content {
  width: 100%;
}

.user-card {
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.user-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.user-card-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--light);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
}

.user-greeting {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0;
}

.user-card-body {
  padding: 2rem;
}

.user-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.user-form-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.user-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.user-form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-dark);
}

.user-form-input-wrapper {
  position: relative;
}

.user-form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--light);
  border-radius: 8px;
  background-color: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.user-form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
  outline: none;
}

.user-password-toggle {
  margin: 0.5rem 0;
}

.user-password-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.user-password-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.user-password-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-form-actions {
  margin-top: 1rem;
}

.user-form-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  background-color: var(--primary);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.user-form-button:hover {
  background-color: var(--primary-dark);
}

.user-form-button:active {
  transform: scale(0.98);
}

.user-button-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.user-alert.success {
  background-color: rgba(46, 213, 115, 0.1);
  color: #2ed573;
  border-left: 4px solid #2ed573;
}

.user-alert.error {
  background-color: rgba(255, 71, 87, 0.1);
  color: #ff4757;
  border-left: 4px solid #ff4757;
}

.user-alert-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.user-alert p {
  margin: 0;
  font-size: 0.9375rem;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .user-dashboard-grid {
    grid-template-columns: 1fr;
  }
  
  .user-card-header {
    padding: 1.25rem 1.5rem;
  }
  
  .user-greeting {
    font-size: 1.5rem;
  }
  
  .user-card-body {
    padding: 1.5rem;
  }
}

/* Анимации */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.user-card {
  animation: fadeIn 0.4s ease-out;
}

.user-form-group {
  animation: fadeIn 0.4s ease-out;
  animation-fill-mode: both;
}

.user-form-group:nth-child(1) {
  animation-delay: 0.1s;
}

.user-form-group:nth-child(2) {
  animation-delay: 0.2s;
}

.user-form-group:nth-child(3) {
  animation-delay: 0.3s;
}

.user-form-actions {
  animation: fadeIn 0.4s ease-out;
  animation-delay: 0.4s;
  animation-fill-mode: both;
}   
   
   
   
   /* SideBar */
/* Стили для боковой панели пользователя */
.uk-card-default.tm-ignore-container {
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.uk-card-default.tm-ignore-container:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.uk-card-header {
  border-bottom: 1px solid #f1f1f1;
  padding: 1.5rem 1.5rem;
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

.uk-h4 {
  font-weight: 600;
  color: #333;
  margin-top: 0.75rem;
}

.uk-text-meta {
  color: #777;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.uk-button-default {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  font-size: 0.875rem;
  color: #495057;
  transition: all 0.2s ease;
  padding: 0.4rem 0.75rem;
  margin: 0 0.25rem;
}

.uk-button-default:hover {
  background: #f1f3f5;
  border-color: #dee2e6;
  color: #212529;
}

.uk-button-danger {
  background: #ff6b81;
  border: none;
  border-radius: 6px;
  color: white;
  transition: all 0.2s ease;
}

.uk-button-danger:hover {
  background: #ff5c73;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 107, 129, 0.2);
}

.uk-nav-default.tm-nav {
  padding: 1rem 0;
}

.uk-nav-default.tm-nav > li > a {
  padding: 0.75rem 1.5rem;
  color: #495057;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  position: relative;
}

.uk-nav-default.tm-nav > li > a:hover {
  background: #f8f9fa;
  color: #ff6b81;
}

.uk-nav-default.tm-nav > li.uk-active > a {
  background: #f1f3f5;
  color: #ff6b81;
  font-weight: 500;
}

.uk-nav-default.tm-nav > li.uk-active > a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #ff6b81;
}

/* Анимации */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.uk-card-default.tm-ignore-container {
  animation: fadeIn 0.4s ease-out;
}

/* Улучшения для мобильных устройств */
@media (max-width: 960px) {
  .uk-card-header {
    padding: 1.25rem;
  }
  
  .uk-button-small {
    padding: 0.3rem 0.6rem;
    font-size: 0.8125rem;
  }
}  
  
   
   
   


/* Основные стили для карточки */

/* Стили для страницы "Мои пиксели и баннеры" */
.pxb-card {
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.03);
  margin-bottom: 30px;
}

.pxb-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.pxb-card-header {
  padding: 1.75rem 2rem;
  border-bottom: 1px solid #f1f5f9;
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
  position: relative;
}

.pxb-card-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, #4a76a8, transparent);
}

.pxb-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
}

.pxb-title::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 25px;
  background: #4a76a8;
  border-radius: 3px;
  opacity: 0.8;
}

/* Отображение в столбец вместо сетки */
.pxb-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem;
}

/* Горизонтальное расположение элементов внутри баннера */
.pxb-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  background: #ffffff;
  display: flex;
  flex-direction: row;
  width: 100%;
  align-items: center;
  padding: 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
}

.pxb-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: linear-gradient(to bottom, #4a76a8, #3a5f8a);
  opacity: 0;
  transition: all 0.3s ease;
}

.pxb-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.pxb-item:hover::before {
  opacity: 1;
}

/* Размер и стиль блока с изображением */
.pxb-item-media {
  position: relative;
  overflow: hidden;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  margin-right: 1.75rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  border: 3px solid #ffffff;
  transition: all 0.3s ease;
}

.pxb-item:hover .pxb-item-media {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  border-color: rgba(74, 118, 168, 0.1);
}

.pxb-ratio {
  height: 100%;
}

.pxb-media-box {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, #f8f9fa, #ffffff);
}

.pxb-media-wrap {
  height: 100%;
  width: 100%;
  margin: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pxb-media-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.pxb-item:hover .pxb-media-wrap img {
  transform: scale(1.08);
}

/* Позиция меток */
.pxb-labels {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

/* Уменьшенные на 40% метки статуса */
.pxb-label,
.pxb-labels .uk-label,
.pxb-label-pending,
.pxb-label-active {
  display: inline-block;
    padding: 0.29rem 0.7rem; /* Увеличено еще на 15% */
    border-radius: 25px; /* Увеличено еще на 15% */
    font-size: 0.58rem; /* Увеличено еще на 15% */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.41px; /* Увеличено еще на 15% */
    box-shadow: 0 2.5px 5px rgba(0, 0, 0, 0.1); /* Увеличено еще на 15% */
    transform: scale(0.83); /* 0.72 * 1.15 = 0.83 (увеличено еще на 15%) */
    transform-origin: top left;
}
@keyframes pxbFadeIn {
  from { opacity: 0; transform: translateY(-6px) scale(0.6); } /* 60% от исходного размера */
  to { opacity: 1; transform: translateY(0) scale(0.6); } /* 60% от исходного размера */
}

.pxb-label-pending {
  background: #ff6b81;
  color: white;
}

.pxb-label-active {
  background: #10b981;
  color: white;
}

/* Горизонтальное расположение информации и кнопок */
.pxb-item-body {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  padding: 0;
  width: calc(100% - 140px); /* Учитываем ширину изображения и отступ */
}

.pxb-item-info {
  flex-grow: 1;
  padding-right: 1.5rem;
  max-width: calc(100% - 180px); /* Оставляем место для кнопок */
}

.pxb-item-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: #0f172a;
  margin-top: 0;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.pxb-item:hover .pxb-item-title {
  color: #4a76a8;
}

.pxb-item-desc {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  max-width: 100%;
}

.pxb-item-props {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(0, 0, 0, 0.06);
  margin-bottom: 0;
}

.pxb-item-props li {
  display: flex;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  color: #64748b;
}

.pxb-item-props li span.uk-text-muted {
  margin-right: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
}

.pxb-admin-comment {
  font-weight: 500;
  padding: 0.75rem;
  background: rgba(255, 107, 129, 0.08);
  border-radius: 8px;
  display: block;
  margin-top: 0.75rem;
  border-left: 3px solid #ff6b81;
  font-size: 0.875rem;
}

/* Стили для блока с кнопками */
.pxb-item-actions {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 160px;
  flex-shrink: 0;
}

.pxb-item-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.pxb-delete-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff6b81;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  margin-top: 0.75rem;
  padding: 0.5rem;
  border-radius: 8px;
}

.pxb-delete-btn:hover {
  color: #ff4757;
  text-decoration: none;
  background: rgba(255, 107, 129, 0.08);
}

.pxb-action-text {
  margin-left: 0.5rem;
  font-weight: 500;
}

.pxb-edit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #4a76a8, #3a5f8a);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.85rem 1.25rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  width: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.pxb-edit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.6s ease;
  z-index: -1;
}

.pxb-edit-btn:hover {
  background: linear-gradient(135deg, #3a5f8a, #4a76a8);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(74, 118, 168, 0.25);
  color: white;
  text-decoration: none;
}

.pxb-edit-btn:hover::before {
  left: 100%;
}

.pxb-btn-icon {
  transition: transform 0.3s ease;
}

.pxb-edit-btn:hover .pxb-btn-icon {
  transform: rotate(15deg);
}

.pxb-empty {
  padding: 4rem 1.5rem;
  text-align: center;
  background: linear-gradient(to bottom, #f8f9fa, #ffffff);
  border-radius: 12px;
}

.pxb-empty-message {
  color: #64748b;
  font-size: 1.25rem;
  font-weight: 500;
  position: relative;
  display: inline-block;
  padding: 0.5rem 1.5rem;
}

.pxb-empty-message::before,
.pxb-empty-message::after {
  content: '';
  position: absolute;
  height: 1px;
  width: 50px;
  background: linear-gradient(90deg, transparent, #94a3b8, transparent);
  top: 50%;
}

.pxb-empty-message::before {
  left: -60px;
}

.pxb-empty-message::after {
  right: -60px;
}

.pxb-card-footer {
  padding: 1.75rem;
  border-top: 1px solid #f1f5f9;
  background: linear-gradient(to bottom, #ffffff, #f8f9fa);
}

.pxb-add-btn {
  background: #335c8c;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(74, 118, 168, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.pxb-add-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.6s ease;
  z-index: -1;
}

.pxb-add-btn:hover {
  background: #3a5f8a;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(74, 118, 168, 0.3);
}

.pxb-add-btn:hover::before {
  left: 100%;
}

/* Стили для модального окна в соответствии с изображением */
.pxb-modal .uk-modal-dialog {
  border-radius: 0;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 300px;
  padding: 0;
  background: #ffffff;
}

.pxb-modal .uk-modal-body {
  padding: 0;
}

.pxb-modal .uk-modal-close-default {
  position: absolute;
  top: 15px;
  right: 15px;
  color: rgba(255, 255, 255, 0.8);
  opacity: 0.8;
  transition: all 0.3s ease;
  z-index: 10;
}

.pxb-modal .uk-modal-close-default:hover {
  opacity: 1;
  color: white;
}

.pxb-modal-title {
  background: #4a76a8;
  color: white;
  margin: 0;
  padding: 1.25rem 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  position: relative;
  letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pxb-form {
  padding: 1.5rem;
}

.pxb-alert {
  background-color: rgba(255, 71, 87, 0.08);
  color: #ff4757;
  border-left: 4px solid #ff6b81;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
}

.pxb-alert::before {
  content: '⚠️';
  margin-right: 0.75rem;
  font-size: 1.25rem;
}

.pxb-form-group {
  margin-bottom: 1.5rem;
}

.pxb-form-group:last-child {
  margin-bottom: 0;
}

.pxb-input, .pxb-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  background-color: #ffffff;
  transition: all 0.3s ease;
}

.pxb-input:focus, .pxb-textarea:focus {
  border-color: #4a76a8;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(74, 118, 168, 0.1);
  outline: none;
}

.pxb-input::placeholder, .pxb-textarea::placeholder {
  color: #94a3b8;
}

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

.pxb-submit-btn {
  width: 100%;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  color: white;
  background: #ff6b81;
  border: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.pxb-submit-btn:hover {
  background: #ff4757;
}

/* Стили для загрузки файла */
.pxb-file-upload {
  width: 100%;
}

.pxb-file-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  text-align: left;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 4px;
  color: #64748b;
  transition: all 0.3s ease;
}

.pxb-file-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .pxb-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .pxb-item-media {
    width: 100%;
    height: auto;
    margin-right: 0;
    margin-bottom: 1rem;
    aspect-ratio: 16/9;
  }
  
  .pxb-item-body {
    flex-direction: column;
    width: 100%;
  }
  
  .pxb-item-info {
    width: 100%;
    padding-right: 0;
    margin-bottom: 1rem;
    max-width: 100%;
  }
  
  .pxb-item-actions {
    width: 100%;
    align-items: stretch;
  }
  
  .pxb-form {
    padding: 1.25rem;
  }
}

/* Стили для фокуса с клавиатуры (доступность) */
.pxb-input:focus-visible,
.pxb-textarea:focus-visible,
.pxb-submit-btn:focus-visible,
.pxb-edit-btn:focus-visible,
.pxb-delete-btn:focus-visible,
.pxb-add-btn:focus-visible,
.pxb-file-btn:focus-visible {
  outline: 2px solid #4a76a8;
  outline-offset: 2px;
}

/* Анимация появления элементов */
@keyframes pxbSlideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pxb-item {
  animation: pxbSlideInUp 0.4s ease-out;
  animation-fill-mode: both;
}

.pxb-grid .pxb-item:nth-child(1) { animation-delay: 0.1s; }
.pxb-grid .pxb-item:nth-child(2) { animation-delay: 0.2s; }
.pxb-grid .pxb-item:nth-child(3) { animation-delay: 0.3s; }
.pxb-grid .pxb-item:nth-child(4) { animation-delay: 0.4s; }
.pxb-grid .pxb-item:nth-child(5) { animation-delay: 0.5s; }

/* Дополнительные стили для модального окна */
.pxb-modal-dialog {
  max-width: 600px !important;
}

.pxb-modal-title {
  background: #4a76a8;
  font-size: 1.5rem;
  padding: 1rem 1.5rem;
}

.pxb-submit-btn {
  background: #ff6b81;
  border-radius: 0;
  font-size: 1rem;
  text-transform: uppercase;
  padding: 0.75rem 0;
}

/* Стили для горизонтального отображения баннеров */
.pxb-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 0;
}

.pxb-item-media {
  width: 80px;
  height: 80px;
  margin-right: 1.5rem;
  border-radius: 4px;
  overflow: hidden;
}

.pxb-media-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pxb-media-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}


   
   
/* User_History */
   
   
/* Уникальные стили для страницы истории операций */
.history-card {
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  background: #fff;
}

.history-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.history-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #f1f1f1;
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
  position: relative;
}

.history-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #4a76a8, transparent);
}

.history-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #333;
  margin: 0;
  position: relative;
  display: inline-block;
}

.history-title::before {
  content: '📋';
  margin-right: 0.5rem;
  font-size: 1.5rem;
}

.history-content {
  padding: 1.5rem 2rem;
}

.history-timeline {
  position: relative;
}

.history-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: linear-gradient(to bottom, #4a76a8 0%, rgba(74, 118, 168, 0.1) 100%);
  z-index: 0;
}

.history-item {
  position: relative;
  padding-left: 40px;
  margin-bottom: 2rem;
}

.history-item:last-child {
  margin-bottom: 0;
}

.history-item::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  border: 2px solid #4a76a8;
  z-index: 1;
}

.history-item-header {
  margin-bottom: 0.75rem;
}

.history-item-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.history-item-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}

.history-item-link:hover {
  color: #4a76a8;
  text-decoration: none;
}

.history-item-id {
  font-weight: 600;
  color: #4a76a8;
}

.history-item-date {
  font-size: 0.875rem;
  color: #777;
}

.history-item-body {
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.history-item-body:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.history-table {
  margin: 0;
  background: transparent;
}

.history-row {
  transition: background-color 0.2s ease;
}

.history-row:hover {
  background-color: rgba(74, 118, 168, 0.05);
}

.history-cell-label {
  font-weight: 600;
  color: #555;
  padding: 1rem;
}

.history-cell-value {
  padding: 1rem;
}

.history-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.history-badge-plus {
  background: linear-gradient(135deg, #2ed573, #7bed9f);
  color: white;
  box-shadow: 0 2px 5px rgba(46, 213, 115, 0.3);
}

.history-badge-minus {
  background: linear-gradient(135deg, #ff6b81, #ff4757);
  color: white;
  box-shadow: 0 2px 5px rgba(255, 107, 129, 0.3);
}

.history-amount {
  font-weight: 600;
  font-size: 1.125rem;
}

.history-amount-value {
  color: #333;
}

.history-amount-currency {
  color: #777;
  margin-left: 0.25rem;
}

.history-message {
  color: #555;
  line-height: 1.5;
}

.history-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  text-align: center;
}

.history-empty-message {
  color: #777;
  font-size: 1.125rem;
  max-width: 400px;
  position: relative;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px dashed #ddd;
}

.history-empty-message::before {
  content: '💸';
  display: block;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Анимации */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.history-card {
  animation: fadeIn 0.4s ease-out;
}

.history-item {
  animation: fadeIn 0.5s ease-out;
  animation-fill-mode: both;
}

.history-item:nth-child(1) { animation-delay: 0.1s; }
.history-item:nth-child(2) { animation-delay: 0.2s; }
.history-item:nth-child(3) { animation-delay: 0.3s; }
.history-item:nth-child(4) { animation-delay: 0.4s; }
.history-item:nth-child(5) { animation-delay: 0.5s; }

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .history-header {
    padding: 1.25rem 1.5rem;
  }
  
  .history-title {
    font-size: 1.5rem;
  }
  
  .history-content {
    padding: 1rem 1.25rem;
  }
  
  .history-timeline::before {
    left: 15px;
  }
  
  .history-item {
    padding-left: 30px;
  }
  
  .history-item::before {
    left: 6px;
    width: 18px;
    height: 18px;
  }
  
  .history-item-title {
    font-size: 1.125rem;
  }
  
  .history-cell-label, 
  .history-cell-value {
    padding: 0.75rem;
  }
}   

   
   
   
/* User_Buy */
   
   
   
/* Уникальные стили для страницы покупки пикселей */
.pixel-card {
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  background: #fff;
}

.pixel-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.pixel-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #f1f1f1;
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
  position: relative;
}

.pixel-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #4a76a8, transparent);
}

.pixel-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #333;
  margin: 0;
  position: relative;
  display: inline-block;
}

.pixel-title::before {

  margin-right: 0.5rem;
  font-size: 1.5rem;
}

.pixel-content {
  padding: 1.5rem 2rem;
}

.pixel-info-card {
  border-radius: 12px;
  background: linear-gradient(135deg, #4a76a8 0%, #2c3e50 100%);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.pixel-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.pixel-info-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.pixel-info-text {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

.pixel-counter-box {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  /* Добавляем фолбэк для браузеров, не поддерживающих backdrop-filter */
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  color: #fff;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}

.pixel-counter-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.pixel-form {
  margin-top: 2rem;
  position: relative;
}

.pixel-form::before {
  content: '';
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #4a76a8, transparent);
}

.pixel-alert {
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  animation: slideIn 0.3s ease-out;
}

.pixel-alert-error {
  background: linear-gradient(135deg, #ff6b81 0%, #ff4757 100%);
  color: white;
  border: none;
}

.pixel-alert-success {
  background: linear-gradient(135deg, #2ed573 0%, #7bed9f 100%);
  color: white;
  border: none;
}

.pixel-alert p {
  margin: 0;
  font-weight: 500;
}

.pixel-input-group {
  margin-bottom: 1.5rem;
}

.pixel-input {
  border-radius: 8px;
  height: 50px;
  font-size: 1.1rem;
  border: 2px solid #e5e5e5;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  padding: 0 1.25rem;
}

.pixel-input:focus {
  border-color: #4a76a8;
  box-shadow: 0 0 0 3px rgba(74, 118, 168, 0.15);
  outline: none;
}

.pixel-input::placeholder {
  color: #999;
}


/* Анимации */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .pixel-header {
    padding: 1.25rem 1.5rem;
  }
  
  .pixel-title {
    font-size: 1.5rem;
  }
  
  .pixel-content {
    padding: 1rem 1.25rem;
  }
  
  .pixel-info-card {
    padding: 1.25rem;
  }
  
  /* Сохраняем оригинальную структуру с float для мобильных устройств */
  .pixel-info-price, 
  .pixel-info-counter {
    width: 100% !important;
    text-align: center !important;
    float: none !important;
    margin-bottom: 1rem;
  }
  
  .pixel-counter-box {
    display: inline-block;
    text-align: center;
  }
}
   
   
   
   
   
/* Balance_out */
   
   
   
/* Уникальные стили для страницы вывода средств */
.withdraw-card {
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  background: #fff;
}

.withdraw-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.withdraw-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #f1f1f1;
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
  position: relative;
}

.withdraw-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #4a76a8, transparent);
}

.withdraw-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #333;
  margin: 0;
  position: relative;
  display: inline-block;
}

.withdraw-title::before {
  content: '💰';
  margin-right: 0.5rem;
  font-size: 1.5rem;
}

.withdraw-content {
  padding: 1.5rem 2rem;
}

.withdraw-balance-card {
  border-radius: 12px;
  background: linear-gradient(135deg, #4a76a8 0%, #2c3e50 100%);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.withdraw-balance-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.withdraw-balance-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin: 0;
  position: relative;
  z-index: 1;
  text-align: center;
}

.withdraw-balance-amount {
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  display: inline-block;
  margin-left: 0.5rem;
}

.withdraw-form {
  margin-top: 2rem;
}

.withdraw-alert {
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  animation: slideIn 0.3s ease-out;
}

.withdraw-alert-error {
  background: linear-gradient(135deg, #ff6b81 0%, #ff4757 100%);
  color: white;
  border: none;
}

.withdraw-alert-success {
  background: linear-gradient(135deg, #2ed573 0%, #7bed9f 100%);
  color: white;
  border: none;
}

.withdraw-alert p {
  margin: 0;
  font-weight: 500;
}

.withdraw-methods {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px 1.5rem;
}

.withdraw-method-item {
  padding: 10px;
}

.withdraw-method {
  display: block;
  position: relative;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.withdraw-method input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.withdraw-method-block {
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  padding: 1rem;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.withdraw-method input[type="radio"]:checked + .withdraw-method-block {
  border-color: #4a76a8;
  box-shadow: 0 5px 15px rgba(74, 118, 168, 0.15);
  transform: translateY(-3px);
}

.withdraw-method-image {
  text-align: center;
  margin-bottom: 1rem;
  padding: 0.5rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.withdraw-method-image img {
  max-height: 50px;
  max-width: 100%;
  object-fit: contain;
}

.withdraw-method-info {
  flex: 1;
}

.withdraw-method-name {
  display: block;
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.withdraw-method-desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
}

.withdraw-fields {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid #e5e5e5;
  animation: fadeIn 0.3s ease-out;
}

.withdraw-field-group {
  margin-bottom: 1rem;
}

.withdraw-field-label {
  font-weight: 600;
  color: #555;
  margin-bottom: 0.5rem;
}

.withdraw-input,
.withdraw-textarea {
  border-radius: 8px;
  border: 2px solid #e5e5e5;
  padding: 0.75rem 1rem;
  width: 100%;
  transition: all 0.3s ease;
}

.withdraw-input:focus,
.withdraw-textarea:focus {
  border-color: #4a76a8;
  box-shadow: 0 0 0 3px rgba(74, 118, 168, 0.15);
  outline: none;
}

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

.withdraw-submit {
  margin-top: 2rem;
  text-align: center;
}

.withdraw-button {
  border-radius: 8px;
  height: 50px;
  min-width: 220px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #4a76a8 0%, #2c3e50 100%);
  border: none;
  box-shadow: 0 4px 10px rgba(74, 118, 168, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.withdraw-button-balance {
  min-width: 150px !important;
}

.withdraw-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.withdraw-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(74, 118, 168, 0.4);
  background: linear-gradient(135deg, #5a86b8 0%, #3c4e60 100%);
}

.withdraw-button:hover::before {
  left: 100%;
}

.withdraw-button:active {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(74, 118, 168, 0.3);
}

/* Анимации */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .withdraw-header {
    padding: 1.25rem 1.5rem;
  }
  
  .withdraw-title {
    font-size: 1.5rem;
  }
  
  .withdraw-content {
    padding: 1rem 1.25rem;
  }
  
  .withdraw-balance-card {
    padding: 1.25rem;
  }
  
  .withdraw-method-item {
    width: 100%;
  }
  
  .withdraw-fields {
    padding: 1rem;
  }
  
  .withdraw-button {
    width: 100%;
  }
}   
   
   
   
/* User_referal */
   
   
   
/* Уникальные стили для страницы рефералов */
.referral-card {
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  background: #fff;
}

.referral-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.referral-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #f1f1f1;
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
  position: relative;
}

.referral-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #4a76a8, transparent);
}

.referral-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #333;
  margin: 0;
  position: relative;
  display: inline-block;
}

.referral-title::before {
  content: '👥';
  margin-right: 0.5rem;
  font-size: 1.5rem;
}

.referral-content {
  padding: 1.5rem 2rem;
}

.referral-info-card {
  border-radius: 12px;
  background: linear-gradient(135deg, #4a76a8 0%, #2c3e50 100%);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.referral-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.referral-info-title {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.referral-info-text {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.referral-link-container {
  margin: 2rem 0;
}

.referral-link-label {
  font-weight: 600;
  color: #555;
  font-size: 1rem;
}

.referral-link-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.referral-link-input {
  border-radius: 8px;
  height: 50px;
  font-size: 1rem;
  border: 2px solid #e5e5e5;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  padding: 0 1.25rem;
  padding-right: 50px;
  background-color: #f8f9fa;
  color: #555;
  font-family: monospace;
}

.referral-link-input:focus {
  border-color: #4a76a8;
  box-shadow: 0 0 0 3px rgba(74, 118, 168, 0.15);
  outline: none;
}

.referral-link-copy {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #4a76a8;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.referral-link-copy:hover {
  background-color: rgba(74, 118, 168, 0.1);
  color: #2c3e50;
}

.referral-link-copy:active {
  transform: translateY(-50%) scale(0.95);
}

.referral-table-container {
  margin-top: 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.referral-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.referral-table-header {
  background-color: #f8f9fa;
}

.referral-table-heading {
  padding: 1rem 1.5rem;
  font-weight: 600;
  color: #333;
  text-align: left;
  border-bottom: 2px solid #e5e5e5;
}

.referral-table-body {
  background-color: #fff;
}

.referral-table-row {
  transition: background-color 0.2s ease;
}

.referral-table-row:hover {
  background-color: rgba(74, 118, 168, 0.05);
}

.referral-table-cell {
  padding: 1rem 1.5rem;
  color: #555;
  border-bottom: 1px solid #f1f1f1;
}

.referral-empty {
  margin-top: 2rem;
  padding: 3rem 2rem;
  text-align: center;
  background-color: #f8f9fa;
  border-radius: 12px;
  border: 1px dashed #e5e5e5;
}

.referral-empty-message {
  color: #777;
  font-size: 1.1rem;
  position: relative;
  display: inline-block;
}

.referral-empty-message::before {
  content: '🔗';
  display: block;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Анимации */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.referral-card {
  animation: fadeIn 0.4s ease-out;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .referral-header {
    padding: 1.25rem 1.5rem;
  }
  
  .referral-title {
    font-size: 1.5rem;
  }
  
  .referral-content {
    padding: 1rem 1.25rem;
  }
  
  .referral-info-card {
    padding: 1.25rem;
  }
  
  .referral-info-title {
    font-size: 1.5rem;
  }
  
  .referral-info-text {
    font-size: 1rem;
  }
  
  .referral-table-heading,
  .referral-table-cell {
    padding: 0.75rem 1rem;
  }
  
  .referral-empty {
    padding: 2rem 1rem;
  }
}   

   
   
/* User_ads_send */
   
   
   
/* Уникальные стили для страницы продажи пикселей */
.sale-card {
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  background: #fff;
}

.sale-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.sale-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #f1f1f1;
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
  position: relative;
}

.sale-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #4a76a8, transparent);
}

.sale-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #333;
  margin: 0;
  position: relative;
  display: inline-block;
}

.sale-title::before {
  content: '💰';
  margin-right: 0.5rem;
  font-size: 1.5rem;
}

.sale-content {
  padding: 2rem;
}

.sale-form {
  max-width: 600px;
  margin: 0 auto;
}

.sale-alert {
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  animation: slideIn 0.3s ease-out;
}

.sale-alert-error {
  background: linear-gradient(135deg, #ff6b81 0%, #ff4757 100%);
  color: white;
  border: none;
}

.sale-alert-success {
  background: linear-gradient(135deg, #2ed573 0%, #7bed9f 100%);
  color: white;
  border: none;
}

.sale-alert p {
  margin: 0;
  font-weight: 500;
}

.sale-success-content {
  display: flex;
  align-items: center;
}

.sale-success-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-right: 1rem;
  flex-shrink: 0;
}

.sale-success-message {
  flex: 1;
}

.sale-input-group {
  margin-bottom: 1.75rem;
}

.sale-input-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #555;
  font-size: 1rem;
}

.sale-input-wrapper {
  position: relative;
}

.sale-input {
  border-radius: 10px;
  height: 50px;
  font-size: 1rem;
  border: 2px solid #e5e5e5;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  padding: 0 1.25rem;
}

.sale-input:focus {
  border-color: #4a76a8;
  box-shadow: 0 0 0 3px rgba(74, 118, 168, 0.15);
  outline: none;
}

.sale-input::placeholder {
  color: #aaa;
}

.sale-button-group {
  margin-top: 2rem;
}

.sale-button {
  border-radius: 10px;
  height: 50px;
  min-width: 150px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #4a76a8 0%, #2c3e50 100%);
  border: none;
  box-shadow: 0 4px 10px rgba(74, 118, 168, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.sale-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.sale-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(74, 118, 168, 0.4);
  background: linear-gradient(135deg, #5a86b8 0%, #3c4e60 100%);
}

.sale-button:hover::before {
  left: 100%;
}

.sale-button:active {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(74, 118, 168, 0.3);
}

/* Анимации */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .sale-header {
    padding: 1.25rem 1.5rem;
  }
  
  .sale-title {
    font-size: 1.5rem;
  }
  
  .sale-content {
    padding: 1.5rem;
  }
  
  .sale-button {
    width: 100%;
  }
}
   
   
   
/* User_ads_sold */
   

/* Стили для страницы "Продажа пикселей" */
/* Стили для страницы "Продажа пикселей" */
/* Стили для страницы "Продажа пикселей" */
.pxs-card {
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  background: #fff;
  margin-bottom: 30px;
}

.pxs-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.pxs-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #f1f1f1;
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
  position: relative;
}

.pxs-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #4a76a8, transparent);
}

.pxs-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #333;
  margin: 0;
  position: relative;
  display: inline-block;
}

.pxs-title::before {
  margin-right: 0.5rem;
  font-size: 1.5rem;
}

/* Информационная панель */
.pxs-info-panel {
  border-radius: 12px;
  background: linear-gradient(135deg, #4a76a8 0%, #2c3e50 100%);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  margin: 1.5rem;
}

/* Фоновый паттерн */
.pxs-info-panel::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

/* Декоративные сферы */
.pxs-info-panel .sphere-1 {
  position: absolute;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  top: -75px;
  right: -75px;
  z-index: 0;
  animation: pxsPulse 6s infinite ease-in-out;
}

.pxs-info-panel .sphere-2 {
  position: absolute;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  bottom: -50px;
  left: -50px;
  z-index: 0;
  animation: pxsPulse 6s infinite ease-in-out;
  animation-delay: 2s;
}

.pxs-info-panel .sphere-3 {
  position: absolute;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  top: 20px;
  right: 30px;
  z-index: 0;
  animation: pxsPulse 6s infinite ease-in-out;
  animation-delay: 4s;
}

.pxs-info-text {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  font-weight: 500;
  text-align: center;
}

.pxs-spacing {
  height: 20px;
}

/* Стили для списка объявлений */
.pxs-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem;
}

.pxs-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  background: #ffffff;
  display: flex;
  flex-direction: row;
  width: 100%;
  align-items: center;
  padding: 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
}

.pxs-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: linear-gradient(to bottom, #4a76a8, #3a5f8a);
  opacity: 0;
  transition: all 0.3s ease;
}

.pxs-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.pxs-item:hover::before {
  opacity: 1;
}

.pxs-item-body {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  padding: 0;
}

.pxs-item-info {
  flex-grow: 1;
  padding-right: 1.5rem;
  max-width: calc(100% - 180px);
}

.pxs-item-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: #0f172a;
  margin-top: 0;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.pxs-item:hover .pxs-item-title {
  color: #4a76a8;
}

.pxs-label {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  animation: pxsFadeIn 0.5s ease-out;
}

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

.pxs-label-pending {
  background: #ff6b81;
  color: white;
}

.pxs-label-active {
  background: #10b981;
  color: white;
}

.pxs-item-props {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(0, 0, 0, 0.06);
  margin-bottom: 0;
}

.pxs-item-props li {
  display: flex;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  color: #64748b;
}

.pxs-item-props li span.uk-text-muted {
  margin-right: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
}

.pxs-item-actions {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 160px;
  flex-shrink: 0;
}

.pxs-item-prices {
  text-align: right;
  margin-bottom: 1rem;
}

.pxs-item-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #4a76a8;
}

.pxs-item-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.pxs-delete-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff6b81;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  margin-top: 0.75rem;
  padding: 0.5rem;
  border-radius: 8px;
}

.pxs-delete-btn:hover {
  color: #ff4757;
  text-decoration: none;
  background: rgba(255, 107, 129, 0.08);
}

.pxs-action-text {
  margin-left: 0.5rem;
  font-weight: 500;
}

/* ИСПРАВЛЕННЫЕ СТИЛИ ДЛЯ КНОПОК - НАЧАЛО */
.pxs-edit-btn, .pxs-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #4a76a8, #3a5f8a);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.85rem 1.25rem;
  font-weight: 600;
  text-decoration: none;
  width: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
  /* Убираем трансформацию из transition для предотвращения дергания */
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

/* Используем псевдоэлемент для эффекта свечения */
.pxs-edit-btn::after, .pxs-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(74, 118, 168, 0);
  transition: box-shadow 0.3s ease;
  z-index: -2;
}

.pxs-edit-btn:hover::after, .pxs-btn:hover::after {
  box-shadow: 0 6px 15px rgba(74, 118, 168, 0.4);
}

/* Эффект свечения для кнопок при наведении без трансформации */
.pxs-edit-btn:hover, .pxs-btn:hover {
  background: linear-gradient(135deg, #3a5f8a, #4a76a8);
  color: white;
  text-decoration: none;
}

/* Анимация для иконки внутри кнопки */
.pxs-btn-icon {
  transition: transform 0.3s ease;
}

.pxs-edit-btn:hover .pxs-btn-icon, .pxs-btn:hover .pxs-btn-icon {
  transform: rotate(15deg);
}

/* Стили для кнопки добавления */
.pxs-add-btn {
  border-radius: 8px;
  height: 50px;
  min-width: 200px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #4a76a8 0%, #2c3e50 100%);
  border: none;
  color: white;
  position: relative;
  overflow: hidden;
  z-index: 1;
  /* Убираем трансформацию из transition для предотвращения дергания */
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

/* Используем псевдоэлемент для эффекта свечения */
.pxs-add-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(74, 118, 168, 0);
  transition: box-shadow 0.3s ease;
  z-index: -2;
}

.pxs-add-btn:hover::after {
  box-shadow: 0 6px 15px rgba(74, 118, 168, 0.4);
}

/* Эффект свечения для кнопки добавления при наведении без трансформации */
.pxs-add-btn:hover {
  background: linear-gradient(135deg, #5a86b8 0%, #3c4e60 100%);
}

/* Эффект волны для кнопки добавления */
.pxs-add-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
  z-index: -1;
}

.pxs-add-btn:hover::before {
  left: 100%;
}

/* Стили для кнопки отправки формы */
.pxs-submit-btn {
  width: 100%;
  border-radius: 8px;
  height: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #4a76a8 0%, #2c3e50 100%);
  border: none;
  color: white;
  position: relative;
  overflow: hidden;
  z-index: 1;
  /* Убираем трансформацию из transition для предотвращения дергания */
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

/* Используем псевдоэлемент для эффекта свечения */
.pxs-submit-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(74, 118, 168, 0);
  transition: box-shadow 0.3s ease;
  z-index: -2;
}

.pxs-submit-btn:hover::after {
  box-shadow: 0 6px 15px rgba(74, 118, 168, 0.4);
}

/* Эффект свечения для кнопки отправки при наведении без трансформации */
.pxs-submit-btn:hover {
  background: linear-gradient(135deg, #5a86b8 0%, #3c4e60 100%);
}

/* Эффект волны для кнопки отправки */
.pxs-submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
  z-index: -1;
}

.pxs-submit-btn:hover::before {
  left: 100%;
}

/* Стили для активного состояния кнопок */
.pxs-add-btn:active, .pxs-submit-btn:active, .pxs-edit-btn:active, .pxs-btn:active {
  background: linear-gradient(135deg, #2c3e50, #4a76a8);
}
/* ИСПРАВЛЕННЫЕ СТИЛИ ДЛЯ КНОПОК - КОНЕЦ */

.pxs-alert-success {
  background: linear-gradient(135deg, #2ed573 0%, #7bed9f 100%);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  animation: pxsSlideIn 0.3s ease-out;
}

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

.pxs-empty {
  padding: 4rem 1.5rem;
  text-align: center;
  background: linear-gradient(to bottom, #f8f9fa, #ffffff);
  border-radius: 12px;
}

.pxs-empty-message {
  color: #64748b;
  font-size: 1.25rem;
  font-weight: 500;
  position: relative;
  display: inline-block;
  padding: 0.5rem 1.5rem;
}

.pxs-empty-message::before,
.pxs-empty-message::after {
  content: '';
  position: absolute;
  height: 1px;
  width: 50px;
  background: linear-gradient(90deg, transparent, #94a3b8, transparent);
  top: 50%;
}

.pxs-empty-message::before {
  left: -60px;
}

.pxs-empty-message::after {
  right: -60px;
}

.pxs-footer {
  padding: 1.75rem;
  border-top: 1px solid #f1f5f9;
  background: linear-gradient(to bottom, #ffffff, #f8f9fa);
}

/* Стили для модального окна */
.pxs-modal .uk-modal-dialog {
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 300px;

  padding: 0;
  background: #ffffff;
}

.pxs-modal .uk-modal-body {
  padding: 0;
}

.pxs-modal .uk-modal-close-default {
  position: absolute;
  top: 15px;
  right: 15px;
  color: rgba(255, 255, 255, 0.8);
  opacity: 0.8;
  transition: all 0.3s ease;
  z-index: 10;
}

.pxs-modal .uk-modal-close-default:hover {
  opacity: 1;
  color: white;
}

.pxs-modal-title {
  background: #4a76a8;
  color: white;
  margin: 0;
  padding: 1.25rem 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  position: relative;
  letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pxs-form {
  padding: 1.5rem;
}

.pxs-alert {
  background-color: rgba(255, 71, 87, 0.08);
  color: #ff4757;
  border-left: 4px solid #ff6b81;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
}

.pxs-alert::before {
  content: '⚠️';
  margin-right: 0.75rem;
  font-size: 1.25rem;
}

.pxs-form-group {
  margin-bottom: 1.5rem;
}

.pxs-form-group:last-child {
  margin-bottom: 0;
}

.pxs-input, .pxs-textarea {
  width: 100%;
  border-radius: 8px;
  height: 50px;
  font-size: 1.1rem;
  border: 2px solid #e5e5e5;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  padding: 0 1.25rem;
}

.pxs-input:focus, .pxs-textarea:focus {
  border-color: #4a76a8;
  box-shadow: 0 0 0 3px rgba(74, 118, 168, 0.15);
  outline: none;
  background-color: #ffffff;
}

.pxs-input::placeholder, .pxs-textarea::placeholder {
  color: #999;
}

.pxs-textarea {
  min-height: 120px;
  resize: vertical;
  padding: 0.75rem 1.25rem;
  height: auto;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .pxs-header {
    padding: 1.25rem 1.5rem;
  }
  
  .pxs-title {
    font-size: 1.5rem;
  }
  
  .pxs-info-panel {
    margin: 1rem;
    padding: 1.25rem;
  }
  
  .pxs-info-text {
    font-size: 1rem;
  }
  
  .pxs-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .pxs-item-body {
    flex-direction: column;
    width: 100%;
  }
  
  .pxs-item-info {
    width: 100%;
    padding-right: 0;
    margin-bottom: 1rem;
    max-width: 100%;
  }
  
  .pxs-item-actions {
    width: 100%;
    align-items: stretch;
  }
  
  .pxs-form {
    padding: 1.25rem;
  }
  
  .pxs-modal .uk-modal-dialog {
    width: 90%;
    margin: 20px auto;
  }
}

/* Стили для фокуса с клавиатуры (доступность) */
.pxs-input:focus-visible,
.pxs-textarea:focus-visible,
.pxs-submit-btn:focus-visible,
.pxs-edit-btn:focus-visible,
.pxs-delete-btn:focus-visible,
.pxs-add-btn:focus-visible,
.pxs-btn:focus-visible {
  outline: 2px solid #4a76a8;
  outline-offset: 2px;
}

/* Анимация появления элементов */
@keyframes pxsSlideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pxs-item {
  animation: pxsSlideInUp 0.4s ease-out;
  animation-fill-mode: both;
}

.pxs-grid .pxs-item:nth-child(1) { animation-delay: 0.1s; }
.pxs-grid .pxs-item:nth-child(2) { animation-delay: 0.2s; }
.pxs-grid .pxs-item:nth-child(3) { animation-delay: 0.3s; }
.pxs-grid .pxs-item:nth-child(4) { animation-delay: 0.4s; }
.pxs-grid .pxs-item:nth-child(5) { animation-delay: 0.5s; }

/* Анимация пульсации для декоративных элементов */
@keyframes pxsPulse {
  0% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.05); opacity: 0.7; }
  100% { transform: scale(1); opacity: 0.5; }
}

/* Улучшенные эффекты для кнопок */
.pxs-add-btn:focus, 
.pxs-submit-btn:focus, 
.pxs-edit-btn:focus, 
.pxs-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(74, 118, 168, 0.3);
}

/* Улучшенная доступность */
.pxs-input:focus-visible,
.pxs-textarea:focus-visible {
  outline: 2px solid #4a76a8;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(74, 118, 168, 0.2);
}

/* Дополнительные улучшения для модального окна */
.pxs-modal .uk-modal-dialog {
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.uk-modal.uk-open .pxs-modal-dialog {
  transform: scale(1);
  opacity: 1;
}

/* Улучшенные стили для мобильных устройств */
@media (max-width: 480px) {
  .pxs-modal-title {
    font-size: 1.25rem;
    padding: 1rem 1.25rem;
  }
  
  .pxs-form {
    padding: 1rem;
  }
  
  .pxs-input, .pxs-textarea, .pxs-submit-btn {
    font-size: 1rem;
  }
}


/* balance   
   
/* Стили для страницы пополнения баланса */
/* Стили для страницы пополнения баланса в стиле страницы "Купить пиксель" */
.bal-card {
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  background: #fff;
  margin-bottom: 30px;
}

.bal-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.bal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #f1f1f1;
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
  position: relative;
}

.bal-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #4a76a8, transparent);
}

.bal-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #333;
  margin: 0;
  position: relative;
  display: inline-block;
}

.bal-title::before {
  margin-right: 0.5rem;
  font-size: 1.5rem;
}

.bal-body {
  padding: 1.5rem 2rem;
}

/* Стили для информационной карточки с балансом */
.bal-info-card {
  border-radius: 12px;
  background: linear-gradient(135deg, #4a76a8 0%, #2c3e50 100%);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.bal-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.bal-info-text {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: 1rem;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bal-amount {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}

.bal-amount:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Стили для секции оплаты */
.bal-payment-section {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
}

.bal-payment-section:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.bal-payment-section::before {
  content: '';
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #4a76a8, transparent);
}

.bal-payment-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.bal-payment-icon {
  margin-right: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.bal-payment-section:hover .bal-payment-icon {
  transform: scale(1.05);
}

.bal-payment-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0f172a;
}

/* Стили для формы */
.bal-form-container {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  margin-bottom: 1.5rem;
}

.bal-input-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.bal-input {
  width: 100%;
  border-radius: 8px;
  height: 50px;
  font-size: 1.1rem;
  border: 2px solid #e5e5e5;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  padding: 0 1.25rem;
}

.bal-input:focus {
  border-color: #4a76a8;
  box-shadow: 0 0 0 3px rgba(74, 118, 168, 0.15);
  outline: none;
  background-color: #ffffff;
}

.bal-input::placeholder {
  color: #999;
}

.bal-input-hint {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.5rem;
  margin-left: 0.5rem;
}

.bal-button-group {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.bal-button {
  border-radius: 8px;
  height: 50px;
  min-width: 150px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #4a76a8 0%, #2c3e50 100%);
  border: none;
  box-shadow: 0 4px 10px rgba(74, 118, 168, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
  color: white;
}

.bal-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.bal-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(74, 118, 168, 0.4);
  background: linear-gradient(135deg, #5a86b8 0%, #3c4e60 100%);
}

.bal-button:hover::before {
  left: 100%;
}

.bal-button:active {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(74, 118, 168, 0.3);
}

/* Стили для уведомлений */
.bal-alert {
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  animation: balSlideIn 0.3s ease-out;
}

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

.bal-alert-error {
  background: linear-gradient(135deg, #ff6b81 0%, #ff4757 100%);
  color: white;
  border: none;
}

.bal-alert-success {
  background: linear-gradient(135deg, #2ed573 0%, #7bed9f 100%);
  color: white;
  border: none;
}

.bal-alert p {
  margin: 0;
  font-weight: 500;
}

/* Стили для информационного блока */
.bal-payment-info {
  background: white;
  border-radius: 10px;
  padding: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.bal-payment-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f1f5f9;
}

.bal-payment-info-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.bal-payment-info-icon {
  margin-right: 1rem;
  color: #4a76a8;
  background: rgba(74, 118, 168, 0.1);
  padding: 0.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bal-payment-info-text {
  font-size: 0.9rem;
  color: #64748b;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .bal-header {
    padding: 1.25rem 1.5rem;
  }
  
  .bal-title {
    font-size: 1.5rem;
  }
  
  .bal-body {
    padding: 1rem 1.25rem;
  }
  
  .bal-info-card {
    padding: 1.25rem;
  }
  
  .bal-info-text {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .bal-amount {
    margin-top: 0.75rem;
    align-self: center;
    width: 100%;
    text-align: center;
  }
  
  .bal-payment-section, .bal-form-container {
    padding: 1rem;
  }
  
  .bal-payment-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .bal-payment-icon {
    margin-bottom: 1rem;
  }
}

/* Стили для фокуса с клавиатуры (доступность) */
.bal-input:focus-visible,
.bal-button:focus-visible {
  outline: 2px solid #4a76a8;
  outline-offset: 2px;
}

/* Добавляем анимации */
@keyframes balPulse {
  from { box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); }
  to { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); }
}

.bal-amount {
  animation: balPulse 2s infinite alternate;
}
 
   
   
   
   
.pxb-card {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.pxb-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.pxb-card-header {
    border-bottom: 1px solid #e5e5e5;
    padding: 20px 25px;
}

.pxb-title {
    font-weight: 600;
    margin: 0;
    color: #333;
}

.pxb-card-body {
    padding: 25px;
}

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

.pxb-label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.pxb-input, .pxb-textarea {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 10px 15px;
    width: 100%;
    transition: border-color 0.2s ease;
}

.pxb-input:focus, .pxb-textarea:focus {
    border-color: #3e64ff;
    box-shadow: 0 0 0 2px rgba(62, 100, 255, 0.1);
    outline: none;
}

.pxb-input:disabled {
    background-color: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
}

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

.pxb-form-help {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #64748b;
}

.pxb-form-actions {
    margin-top: 30px;
}

.pxb-submit-btn {
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pxb-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.pxb-cancel-btn {
    padding: 10px 20px;
    font-weight: 500;
}

.pxb-alert {
    border-radius: 6px;
    padding: 15px 20px;
    margin-bottom: 20px;
}



div.pixel_neon {
  position:absolute;
  z-index:1;
  animation: pixel_neon_flicker 3s infinite alternate;
}
@keyframes pixel_neon_flicker {
  0%, 50%, 100% {
    background: linear-gradient(90deg,rgba(58, 180, 62, 0.5) 0%, rgba(29, 234, 253, 0.5) 50%, rgba(225, 252, 69, 0.5) 100%);
  }
  25%, 75% {
    background: linear-gradient(90deg,rgba(58, 180, 62, 0.0) 0%, rgba(29, 234, 253, 0.0) 50%, rgba(225, 252, 69, 0.0) 100%);
  }
}

p {
  margin-top: 0px !important;
}
.ql-size-small {
  font-size: 10px;
}
.ql-size-large {
  font-size: 18px;
}
.ql-size-huge {
  font-size: 24px;
}


.pageBody ul {list-style-type: disc; padding-left: 18px;}
.pageBody ol {list-style-type: decimal; padding-left: 18px;}
.instruction_comments_text ul {list-style-type: disc; padding-left: 18px;}
.instruction_comments_text ol {list-style-type: decimal; padding-left: 18px;}
.uk-accordion-content ul {list-style-type: disc; padding-left: 18px;}
.uk-accordion-content ol {list-style-type: decimal; padding-left: 18px;}
.uk-modal-dialog {overflow: hidden;}

/* комменты */
.instruction_comments_text {
  margin-top: 30px;
}
.instruction_comments_form_col:last-child {
  margin-right: 0px;
}
.instruction_stat {
  margin-top: 30px;
  color: #555555; font-size: 12px;
}
.instruction_stat_item {
  margin-right: 20px;
  float: left;
}
.instruction_comments_view_link {
  cursor: pointer;
}
.instruction_comments_block {
  display: block;
  margin-top: 30px;
}
.instruction_comments_list {
  display: none;
  margin-top: 0px;
  border-top: 0px solid #e5e5e5;
}
.instruction_like {
  width: 20px;
  height: 19px;
  background-size: contain;
  cursor: pointer;
  float: left;
}
.instruction_like_no {
  background-image: url("/design/default/images/news_ico_like_no.svg");
}
.instruction_like_yes {
  background-image: url("/design/default/images/news_ico_like_yes.svg");
  margin-top: -2px;
}
.instruction_comments_form_div {
  display: block;
}
.instruction_comments_item img {
}
.instruction_comments_item {
  margin-top: 20px;
  padding-bottom: 20px;
  border-bottom: 0px solid #e3e3e3;
}
.instruction_comments_item_level_1 {
  width: 500px;
  margin-left: 0px;
}
.instruction_comments_item_level_2 {
  width: 450px;
  margin-left: 50px;
}
.instruction_comments_item_data {
  margin-top: 0px;
  margin-bottom: 10px;
  color: #555555; font-size: 12px;
}
.instruction_comments_add_link {
  cursor: pointer;
  color: #447bba; font-size: 12px;
}
.instruction_comments_item_text {
  margin-top: 0px;
  color: #555555; font-size: 14px;
}
.instruction_comments_item_text_data {
  margin-top: 0px;
  color: #555555; font-size: 10px;
}
.instruction_comments_add_button {
  height: 50px !important;
  margin-top: 20px !important;;
  padding-top: 5px !important;;
}
.instruction_comments_save_button {

}
.instruction_comments_form_div {
  width: 500px;
  margin-top: 20px;
}
.instruction_comments_count_text img {
  fill: rgb(194, 194, 194);
}
.instruction_comments_item_answer {
  color: #447bba;
}
.instruction_comments_item_answer_name {
  color: #999999;
}
img.error {
  opacity: 1.0 !important;
}
iframe.ql-video {
  width: 984px;
  height: 553px;
}


.instruction_comments_form_col {
  position: relative;
  width: auto;
  margin-right: 10px;
  float: left;
}
.instruction_comments_textarea {
  border: 1px solid #e5e5e5;
  height: 50px;
  width: 350px;
}
.instruction_comments_textarea + div {
  width: 350px;
}
.instruction_comments_save_button_img {
  height: 30px;
  width: auto;
  margin-bottom: -30px;
  cursor: pointer;
}
.messages_save_button_img {
  height: 30px;
  width: auto;
  margin-bottom: -30px;
  cursor: pointer;
}


.instruction_cover {
  width: 100% !important;
}
.instruction_photo_list_block {
  width: 100% !important;
  margin-top: 20px !important;
  vertical-align: top;
  text-align: left;
}
.instruction_photo_list_item {
  width: calc(25% - 4px) !important;
  display: inline-block;
  margin: 0px 5px 10px 0px !important;
  vertical-align: top;
  text-align: left;
  border: 0px solid #f00;
}
.instruction_photo_list_item:nth-child(4n) {
  width: calc(25% - 3px) !important;
  margin-right: 0px !important;
}
.instruction_photo_list_item a {
  margin: 0px !important;
  border: 0px solid #f00;
}
.instruction_photo_list_item a img {
  margin: 0px !important;
  border: 0px solid #f00;
}
a.thumbnail img {
  width: 100% !important;
  margin: 0px !important;
  border: 0px solid #f00;
}

@media (max-width: 768px) {
  .instruction_comments_form_col:nth-child(2) {
    width: calc(100% - 90px);
  }
  .instruction_comments_textarea {
    width: 100%;
  }
  .instruction_comments_textarea + div {
    width: 100%;
  }
  .instruction_comments_save_button_img {
    height: 20px;
    width: auto;
    margin-bottom: -30px;
  }
  .messages_save_button_img {
    height: 20px;
    width: auto;
    margin-bottom: -30px;
  }

  .instruction_comments_form_div {
    width: 100% !important;
  }
  .instruction_comments_add_button {
    width: 100% !important;
  }
  .instruction_comments_save_button {
    width: 100% !important;
  }
  iframe.ql-video {
    width: calc(100vw - 68px);
    height: calc(100vw * 0.5625);
  }
}


.instruction_comments_item_ava {
  display: inline-block;
  margin-right: 5px;
  margin-bottom: -20px;
  width: 20px;
  height: 20px;
  border-radius: 25px;
  background-color: #ffffff;
  text-align: center;
  color: #FFFFFF;
  font-size: 14px;
  line-height: 20px;
}
.instruction_comments_item_ava img {
  width: auto;
  height: 20px;
  border-radius: 50px;
}
.instruction_comments_form_ava {
  display: block;
  margin-right: 0px;
  margin-top: 3px;
  width: 40px;
  height: 40px;
  border-radius: 25px;
  background-color: #ffffff;
  text-align: center;
  color: #FFFFFF;
  font-size: 24px;
  line-height: 40px;
}
.instruction_comments_form_ava img {
  width: auto;
  height: 40px;
  border-radius: 50px;
}
.avatar_header {
  width: auto;
  height: 20px;
  border-radius: 50px;
}
.avatar_sidebar {
  width: auto;
  height: 20px;
  border-radius: 50px;
  margin-top: -2px;
 }
@media (max-width: 768px) {
  .avatar_sidebar {
    margin-top: -4px;
  }
  .instruction_comments_form_ava {
    margin-top: 5px;
    width: 30px;
    height: 30px;
    font-size: 20px;
    line-height: 30px;
  }
  .instruction_comments_form_ava img {
    width: auto;
    height: 30px;
    border-radius: 50px;
  }
}



#password_div {
  position: relative;
}
.password-control {
  position: absolute;
  top: 11px;
  right: 6px;
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url(../images/password_noview.svg) 0 0 no-repeat;
}
.password-control.view {
  background: url(../images/password_view.svg) 0 0 no-repeat;
}

#password_div_login {
  position: relative;
}
.password-control_login {
  position: absolute;
  top: 11px;
  right: 6px;
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url(../images/password_noview.svg) 0 0 no-repeat;
}
.password-control_login.view {
  background: url(../images/password_view.svg) 0 0 no-repeat;
}

form.user_profile {
  width: 100%;
}
form.user_profile input {
  height: 40px;
  vertical-align: middle;
  max-width: 100%;
  width: 100%;
  padding: 0 10px;
  background: #fff;
  color: #666;
  border: 1px solid #e5e5e5;
  transition: 0.2s ease-in-out;
  transition-property: color, background-color, border;
}
div.user_profile_block {
  width: 100%;
}
div.user_profile_block_col {
  width: calc(45% - 20px);
  margin-left: 20px;
  margin-right: 5%;
  float: left;
}
div.user_profile_block_col_2 {
  margin-left: 0px !important;
  margin-right: 0% !important;
  padding-top: 22px;
  padding-left: 5%;
  position: relative;
  overflow: hidden;
}
div.user_profile_block_col_splitter {
  width: 1px;
  height: 172px;
  margin-top: 25px;
  border-left: 1px solid #e5e5e5;
  float: left;
}
.user_profile_block_avatar {
  margin-top: 20px;
  margin-bottom: 22px;
}
.avatar_profile {
  width: auto;
  height: 60px;
  border-radius: 50px;
  margin-top: 0px;
  margin-right: 20px;
}
.user_profile_h1 {
  margin-left: 0px;
}
@media (max-width: 768px) {
  div.user_profile_block_col {
    width: 100%;
    margin-left: 0px;
    margin-right: 0%;
  }
  div.user_profile_block_col_2 {
    padding-left: 0%;
  }
  div.user_profile_block_col_splitter {
    display: none;
  }
  .user_profile_h1 {
    margin-left: -20px !important;
  }
}

.withdraw-button::before {
  display: none;
  /*transition: left 0.5s ease, display 0.5s ease;*/
}
.withdraw-button:hover {
  transition: background 0.5s ease;
}



.instruction_comments_menu_edit {
  display: none;
  /*opacity: 0;*/
  margin-left: 20px;
  color: #626363;
  cursor: pointer;
}
.instruction_comments_menu_edit2:hover {
  opacity: 100;
}
.instruction_comments_ico_edit {
  fill: #A7A7A7;
  color: #A7A7A7;
  filter: invert(38%) sepia(0%) saturate(490%) hue-rotate(26deg) brightness(98%) contrast(88%);
  height: 14px;
  width: auto;
  cursor: pointer;
}
.instruction_comments_ico_delete {
  fill: #A7A7A7;
  color: #A7A7A7;
  filter: invert(38%) sepia(0%) saturate(490%) hue-rotate(26deg) brightness(98%) contrast(88%);
  height: 16px;
  width: auto;
  margin-left: 10px;
  cursor: pointer;
}
.instruction_comments_ico_spoiler {
  fill: #A7A7A7;
  color: #A7A7A7;
  filter: invert(38%) sepia(0%) saturate(490%) hue-rotate(26deg) brightness(98%) contrast(88%);
  height: 12px;
  width: auto;
  cursor: pointer;
}
.instruction_comments_ico_smile {
  filter: invert(38%) sepia(0%) saturate(490%) hue-rotate(26deg) brightness(98%) contrast(88%);
  height: 12px;
  width: auto;
  cursor: pointer;
  display: block;
  position: absolute;
  top: 5px;
  right: 8px;
}
.instruction_comments_menu_more {
  display: none;
}

.modal_instruction_comments_menu_back {
  display: none;
  position: fixed;
  z-index: 101;
  bottom: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}
.modal_instruction_comments_menu {
  display: none;
  position: fixed;
  z-index: 102;
  bottom: 5px;
  left: 5%;
  width: 90%;
  height: 150px;
  border-radius: 10px;
  background-color: #fff;
}
.modal_instruction_comments_menu_item {
  margin-top: 15px;
  margin-left: 20px;
  color: #626363;
  font-size: 16px;
}
.modal_instruction_comments_menu_item {
  margin-top: 15px;
  margin-left: 20px;
  color: #626363;
  font-size: 16px;
}
.modal_instruction_comments_menu_cancel {
  margin-top: 20px;
  width: 100%;
  text-align: center;
  color: #447bba;
  font-size: 16px;
}

.instruction_comments_menu_restore {
  display: none;
  color: #626363;
  font-size: 14px;
}
.instruction_comments_menu_restore_simple {
  display: none;
  color: #626363;
  font-size: 14px;
}
.instruction_comments_menu_restore_button {
  display: inline-block;
  margin-left: 15px;
  color: #447bba;
  font-size: 14px;
  cursor: pointer;
}

.instruction_comments_edit_cancel {
  display: none;
  margin-top: 15px;
  color: #447bba;
  font-size: 14px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .instruction_comments_menu_edit {
    display: none;
  }
  .instruction_comments_menu_more {
    display: inline-block;
    margin-left: 20px;
    color: #626363;
    cursor: pointer;
  }
}


.pixel-button-group {
  margin-top: 1.5rem;
}

.pixel-button {
  border-radius: 8px;
  height: 50px;
  min-width: 150px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #4a76a8 0%, #2c3e50 100%);
  border: none;
  box-shadow: 0 4px 10px rgba(74, 118, 168, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pixel-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.pixel-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(74, 118, 168, 0.4);
  background: linear-gradient(135deg, #5a86b8 0%, #3c4e60 100%);
}

.pixel-button:hover::before {
  left: 100%;
}

.pixel-button:active {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(74, 118, 168, 0.3);
}

/*------------------------------------------------------------------------*/
/* кнопки - правильный стиль багов дрожи и мерцаний сбоку */

.button-blue {
  display: inline-block;
  position: relative;
  overflow: hidden;

  height: 50px;
  min-width: 150px;

  margin: 0;
  padding: 0 30px;
  box-sizing: border-box;

  color: #fff;
  vertical-align: middle;
  font: inherit;
  font-size: 0.875rem;
  line-height: 38px;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.5px;
  -webkit-appearance: none;

  border-radius: 8px;
  border: 1px solid transparent;

  box-shadow: 0 4px 10px rgba(74, 118, 168, 0.3);
  background-color: #447bba;

  background: linear-gradient(135deg, #4a76a8 0%, #2c3e50 100%);

  transition: 0.1s ease-in-out;
  transition-property: color, background-color, border-color;
}

.button-blue::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.button-blue:hover {
  color: #fff;
  text-decoration: none;

  transform: translateY(-3px);

  box-shadow: 0 6px 15px rgba(74, 118, 168, 0.4);

  background-color: #0f7ae5;
  background: linear-gradient(135deg, #5a86b8 0%, #3c4e60 100%);
}
/*------------------------------------------------------------------------*/

.pixel-button::before {
  left: 0px !important;
  opacity: 0 !important;
  transition: left 0.5s ease, opacity 0.5s ease;
}


/* аукцион */
.auction_ico {
    margin-right: 10px;
}
.auction_menu {
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: 20px;
}
.auction_menu a {
  display: inline-block;
  margin-bottom: 10px;
  margin-right: 15px;
  padding: 10px 15px;
  background: #dde6f0;
  color: #0f172a;
  border-radius: 20px;
  white-space: nowrap;
  word-break: keep-all;
}
.auction_menu a:last-child {
  margin-right: 0px;
}
.auction_menu a:hover {
  background: #f1f5f9;
}

.auction_title_close {
  margin-top: 50px;
  padding-bottom: 50px;
  margin-left: 0px;
  font-size: 20px;
  text-align: center;
}

.auction_text {
  margin-top: 20px !important;
  padding-bottom: 50px;
  margin-left: 20px !important;
  font-size: 20px !important;
}

 .auction_input_radio_row {
   display: block;
   padding: 0px;
   margin: 0px;
   vertical-align: top;
 }
.auction_input_radio_col {
  display: inline-block;
  border: 0px solid #f00;
  margin-right: 10px;
  vertical-align: top;
  color: #626363;
}
.auction_input_radio {
  width: 20px; height: 20px;
}

.auction_offers_count {
  display: none;
  margin-top: -3px;
  margin-left: 5px;
  padding: 0px;
  width: 15px;
  height: 15px;
  background-color: #f00;
  border-radius: 20px;
  vertical-align: middle;
  text-align: center;
  font-size: 10px;
  color: #fff;
}

.auction_modal_error_text {
  margin-top: 30px !important;
  margin-bottom: 30px !important;
  text-align: center;
  font-size: 20px;
}



.pixel-button {
  margin-top: 10px !important;
}
