/* Color Variables - Default Theme */
:root {
  --screensize: 1920;
  
  /* Primary Colors - Default */
  --primary-purple: #7441FF;
  --primary-purple-dark: #8c00ff;
  --primary-purple-light: #B296FF;
  --primary-purple-accent: #AB77FF;
  
  /* Background Colors - Default */
  --bg-dark: #191A2B;
  --bg-medium: #252742;
  --bg-light: #2D2C51;
  --bg-card: #232245;
  --bg-overlay: #02030A;
  
  /* Text Colors - Default */
  --text-white: #fff;
  --text-light: #BAAEE0;
  --text-muted: #ccc;
  --text-gray: #333;
  
  /* Status Colors - Default */
  --status-online: #33FF00;
  --status-offline: #FF2F00;
  --status-error: #FF0000;
  
  /* UI Colors - Default */
  --ui-border: #6f6f6f;
  --ui-hover: #865bd7;
  --ui-disabled: #eee;
  --ui-focus: #ff5623;
  
  /* Form Colors - Default */
  --form-bg: #2d234f;
  --form-border: #4c3e75;
  --form-focus: #a084f5;
  --form-gradient: #5a4fcf;
  
  /* Overlay Colors - Default */
  --overlay-dark: rgba(0, 0, 0, 0.6);
  --overlay-light: rgba(255, 255, 255, 0.1);
  --overlay-medium: rgba(255, 255, 255, 0.2);
  --overlay-muted: rgba(255, 255, 255, 0.06);
  --overlay-text: rgba(255, 255, 255, 0.5);
  --overlay-shadow: rgba(3, 4, 8, 0.1);
  --overlay-shadow-dark: rgba(3, 4, 8, 0.3);
  --overlay-focus: rgba(160, 132, 245, 0.2);
  --overlay-focus-strong: rgba(160, 132, 245, 0.4);
}

/* Alternative Theme - Orange/Red/Terracotta Color Scheme */
.theme-alternative {
  /* Primary Colors - Orange/Red */
  --primary-purple: #FF6B35;
  --primary-purple-dark: #E85A2B;
  --primary-purple-light: #FF8C5A;
  --primary-purple-accent: #FF8C42;
  
  /* Background Colors - Dark Brown/Red */
  --bg-dark: #1A0F0A;
  --bg-medium: #2A1812;
  --bg-light: #3A2219;
  --bg-card: #241610;
  --bg-overlay: #0F0805;
  
  /* Text Colors - Warm Light */
  --text-white: #FFFFFF;
  --text-light: #F5D4C4;
  --text-muted: #D9B8A8;
  --text-gray: #2A1812;
  
  /* Status Colors - Orange/Red Theme */
  --status-online: #FF6B35;
  --status-offline: #FF8C5A;
  --status-error: #FF4444;
  
  /* UI Colors - Orange/Red */
  --ui-border: #5F3A2A;
  --ui-hover: #FF8C5A;
  --ui-disabled: #8F6A5A;
  --ui-focus: #FF6B35;
  
  /* Form Colors - Orange/Red */
  --form-bg: #2A1812;
  --form-border: #5F3A2A;
  --form-focus: #FF6B35;
  --form-gradient: #FF8C5A;
  
  /* Overlay Colors - Orange/Red */
  --overlay-dark: rgba(0, 0, 0, 0.8);
  --overlay-light: rgba(255, 107, 53, 0.1);
  --overlay-medium: rgba(255, 107, 53, 0.2);
  --overlay-muted: rgba(255, 107, 53, 0.05);
  --overlay-text: rgba(245, 212, 196, 0.6);
  --overlay-shadow: rgba(26, 15, 10, 0.2);
  --overlay-shadow-dark: rgba(26, 15, 10, 0.5);
  --overlay-focus: rgba(255, 107, 53, 0.25);
  --overlay-focus-strong: rgba(255, 107, 53, 0.4);
  
  /* SVG Icon Colors for Orange/Red Theme */
  --svg-primary: #FF6B35;
  --svg-primary-light: #FF8C5A;
  --svg-primary-dark: #E85A2B;
  --svg-background: #2A1812;
  --svg-stroke: #5F3A2A;
  --svg-accent: #FF8C42;
  
  /* Additional orange/red theme enhancements */
  --orange-glow: rgba(255, 107, 53, 0.3);
  --orange-shadow: rgba(255, 107, 53, 0.2);
  --orange-highlight: rgba(255, 140, 90, 0.4);
}

/* SVG в альтернативной теме остаются такими же, как в обычной теме */

/* Orange theme for card layouts */
.theme-alternative .main-plates__plate {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-light));
  border: 1px solid var(--svg-primary);
  box-shadow: 
    0 4px 12px rgba(255, 107, 53, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.theme-alternative .main-plates__plate:hover {
  border-color: var(--svg-primary-light);
  box-shadow: 
    0 6px 16px rgba(255, 107, 53, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Orange theme for icon containers */
.theme-alternative .icon-container {
  background: linear-gradient(135deg, var(--svg-primary), var(--svg-primary-light));
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

/* Orange theme for cloud icon containers */
.theme-alternative .cloud-icon-container {
  background: linear-gradient(135deg, var(--svg-primary), var(--svg-primary-light));
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


/* Orange theme for text elements */
.theme-alternative .card-title {
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 8px;
}

.theme-alternative .card-value {
  color: var(--svg-primary);
  font-weight: 700;
  font-size: 1.2em;
}

.theme-alternative .card-label {
  color: var(--text-muted);
  font-size: 0.9em;
  margin-bottom: 4px;
}

/* Orange theme for interactive elements - без фильтров */
.theme-alternative .interactive-icon {
  filter: none !important;
  transition: all 0.3s ease;
}

.theme-alternative .interactive-icon:hover {
  filter: none !important;
  transform: scale(1.05);
  opacity: 0.9;
}

/* Orange theme for all interactive elements */
.theme-alternative button:hover,
.theme-alternative .basic-btn:hover,
.theme-alternative .action-btn:hover {
  box-shadow: 0 4px 12px var(--orange-shadow);
}

/* Orange theme for form elements */
.theme-alternative input:focus,
.theme-alternative select:focus,
.theme-alternative textarea:focus {
  border-color: var(--svg-primary);
  box-shadow: 0 0 0 2px var(--orange-glow);
}

/* Orange theme for cards and containers */
.theme-alternative .card,
.theme-alternative .container,
.theme-alternative .plate {
  border: 1px solid var(--svg-primary);
  box-shadow: 0 2px 8px var(--orange-shadow);
}

.theme-alternative .card:hover,
.theme-alternative .container:hover,
.theme-alternative .plate:hover {
  border-color: var(--svg-primary-light);
  box-shadow: 0 4px 12px var(--orange-glow);
}

.game {
  display: none;
}

.game-active {
  display: inline-block;
}

@media (max-width: 500px) {
  :root {
    --screensize: 360;
  }

  .game-active {
    display: block;
  }
}
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.game-table {
  overflow-x: auto;
  display: grid;
  border-collapse: separate;
  border-spacing: 10px;
  width: auto;
  margin-top: 30px;
  padding: calc(10 / var(--screensize)* 100vw);
  background-color: var(--bg-light);
  color: var(--text-light);
  align-items: center;
  gap:20px;
  border-radius: calc(10 / var(--screensize)* 100vw);
}

.game-table td {
  border-bottom: 1px solid var(--overlay-light);
  padding: 5px;
  text-align: center;
}

.loader-container {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1000;
}

.loader-button {
  margin-bottom: 10px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: not-allowed;
  background-color: #3498db;
  color: var(--text-white);
  border: none;
  border-radius: 5px;
}

.welcome-text {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--text-gray);
}

.loader {
  border: 15px solid var(--text-white); /* Серый фон */
  border-top: 15px solid var(--primary-purple-dark); /* Синяя "вверх" линия */
  border-radius: 50%; /* Круглая форма */
  width: 120px; /* Ширина */
  height: 120px; /* Высота */
  animation: spin 1s linear infinite; /* Анимация вращения */
}

/* Определение анимации вращения */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

body {
  padding: 0;
  margin: 0;
  background-color: var(--bg-medium);
  color: var(--text-white);
  font-family: "Exo 2", sans-serif;
  font-weight: 500;
  font-size: calc(16 / var(--screensize) * 100vw);
}

a {
  text-decoration: none;
}

.logo {
  display: block;
  margin-left: calc(34 / var(--screensize) * 100vw);
  margin-bottom: calc(40 / var(--screensize) * 100vw);
}
.logo svg {
  width: calc(88 / var(--screensize) * 100vw);
  height: calc(40 / var(--screensize) * 100vw);
  display: block;
}

input, button {
  font-family: "Exo 2", sans-serif;
  font-weight: 500;
  outline: none;
  font-size: 1em;
}

button {
  cursor: pointer;
}

input {
  width: 100%;
}

.basic-btn {
  background: linear-gradient(93.58deg, rgba(255, 255, 255, 0) 0%, var(--overlay-light) 49.7%, rgba(255, 255, 255, 0) 100%), var(--primary-purple);
  color: var(--text-white);
  border: none;
  border-radius: calc(50 / var(--screensize) * 100vw);
  width: 100%;
  padding: calc(17 / var(--screensize) * 100vw) calc(30 / var(--screensize) * 100vw);
  font-weight: 700;
  transition: .2s ease;
}

.basic-btn:hover {
  transition: .2s ease;
  background-color: var(--text-white);
  color: var(--primary-purple);
}

.signin {
  background-color: var(--bg-dark);
  -webkit-box-shadow: 0px 4px 30px var(--overlay-shadow);
  box-shadow: 0px 4px 30px var(--overlay-shadow);
  border-radius: calc(10 / var(--screensize) * 100vw);
  width: calc(516 / var(--screensize) * 100vw);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: calc(30 / var(--screensize) * 100vw) 0;
}
@media (max-width: 500px) {
  .signin {
    width: calc(320 / var(--screensize) * 100vw);
    position: static;
    -webkit-transform: unset;
    -ms-transform: unset;
    transform: unset;
    font-size: calc(14 / var(--screensize) * 100vw);
  }
}

.signin__form {
  padding: 0 calc(50 / var(--screensize) * 100vw);
  width: 100%;
}
@media (max-width: 500px) {
  .signin__form {
    padding: 0 calc(20 / var(--screensize) * 100vw);
  }
}

.signin__form__field {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-bottom: calc(15 / var(--screensize) * 100vw);
}
.signin__form__field:last-child {
  margin-bottom: 0;
}
.signin__form__field span {
  display: block;
  color: var(--text-light);
  font-size: 1em;
  margin-bottom: calc(9 / var(--screensize) * 100vw);
}

span.signin__form__field__input {
  border: 1px solid var(--overlay-medium);
  border-radius: calc(10 / var(--screensize) * 100vw);
  background-color: var(--overlay-muted);
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding-left: calc(15 / var(--screensize) * 100vw);
  margin-bottom: 0;
}
span.signin__form__field__input input {
  border: none;
  background: none;
  height: calc(50 / var(--screensize) * 100vw);
  color: var(--overlay-text);
  padding-left: calc(10 / var(--screensize) * 100vw);
  font-size: 1em;
}
span.signin__form__field__input img {
  width: calc(22 / var(--screensize) * 100vw);
  height: calc(22 / var(--screensize) * 100vw);
}

.signin__icon {
  width: calc(76 / var(--screensize) * 100vw);
  height: calc(76 / var(--screensize) * 100vw);
}
@media (max-width: 500px) {
  .signin__icon {
    width: calc(64 / var(--screensize) * 100vw);
    height: calc(64 / var(--screensize) * 100vw);
  }
}

.signin__heading {
  margin: calc(20 / var(--screensize) * 100vw) 0 calc(15 / var(--screensize) * 100vw);
}
@media (max-width: 500px) {
  .signin__heading {
    font-size: calc(22 / var(--screensize) * 100vw);
    margin: calc(10 / var(--screensize) * 100vw) 0;
  }
}

.signin__forgot {
  color: var(--text-light);
  font-size: 1em;
  text-align: right;
  text-decoration: none;
  width: 100%;
  display: inline-block;
}

.signin__submit {
  margin-top: calc(20 / var(--screensize) * 100vw);
}

.signin__register {
  margin-top: calc(20 / var(--screensize) * 100vw);
  margin-bottom: 0;
  font-size: 1em;
}
.signin__register a {
  color: var(--text-white);
  font-weight: 700;
}

.signin-wrapper {
  min-height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: calc(40 / var(--screensize) * 100vw) 0;
}
.menu {
  padding: calc(34 / var(--screensize) * 100vw) 0;
  background-color: var(--bg-dark);
  min-height: 100vh;
  width: calc(260 / var(--screensize) * 100vw);
  -webkit-box-shadow: 0px 4px 30px var(--overlay-shadow-dark);
  box-shadow: 0px 4px 30px var(--overlay-shadow-dark);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: fixed;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

@media (min-width: 500px) {
  .content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-left: calc(260 / var(--screensize) * 100vw);
  }
}

.menu__list {
  display: block;
  padding: 0;
  margin: 0;
}
.menu__list li {
  display: block;
  padding-left: calc(34 / var(--screensize) * 100vw);
  margin-bottom: calc(30 / var(--screensize) * 100vw);
}
.menu__list li a {
  font-weight: 500;
  font-size: calc(20 / var(--screensize) * 100vw);
  color: var(--text-white);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.menu__list li a svg {
  width: calc(22 / var(--screensize) * 100vw);
  height: auto;
  margin-right: calc(20 / var(--screensize) * 100vw);
}

.content-wrapper {
  padding: calc(34 / var(--screensize) * 100vw) calc(38 / var(--screensize) * 100vw);
  width: 100%;
}

.page-title {
  margin: 0 0 calc(30 / var(--screensize) * 100vw);
  font-size: calc(36 / var(--screensize) * 100vw);
}

.menu__bottom {
  margin-top: auto;
  padding: 0 calc(34 / var(--screensize) * 100vw);
}

.menu__bottom__item {
  font-size: calc(20 / var(--screensize) * 100vw);
  font-weight: 500;
  margin-bottom: calc(20 / var(--screensize) * 100vw);
}

.menu__bottom__install {
  width: 100%;
  height: calc(54 / var(--screensize) * 100vw);
  background-color: var(--bg-medium);
  color: var(--primary-purple-light);
  font-weight: 600;
  border-radius: calc(10 / var(--screensize) * 100vw);
  margin-top: calc(15 / var(--screensize) * 100vw);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: calc(16 / var(--screensize) * 100vw);
  margin-right: calc(12 / var(--screensize) * 100vw);
}
.menu__bottom__install svg {
  width: calc(16 / var(--screensize) * 100vw);
  height: calc(16 / var(--screensize) * 100vw);
  display: block;
  margin-left: calc(12 / var(--screensize) * 100vw);
}

.menu__bottom__socials__social {
  display: block;
  margin-right: calc(10 / var(--screensize) * 100vw);
}
.menu__bottom__socials__social svg {
  width: calc(56 / var(--screensize) * 100vw);
  height: calc(56 / var(--screensize) * 100vw);
}
.menu__bottom__socials__social:last-child {
  margin-right: 0;
}

.menu__bottom__socials {
  margin-top: calc(20 / var(--screensize) * 100vw);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.menu__footer {
  margin-top: calc(20 / var(--screensize) * 100vw);
  padding-top: calc(20 / var(--screensize) * 100vw);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.menu__footer__links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: calc(10 / var(--screensize) * 100vw);
  font-size: calc(14 / var(--screensize) * 100vw);
}

.menu__footer__links a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.menu__footer__links a:hover {
  color: var(--primary-purple-light);
}

.menu__footer__separator {
  color: var(--text-muted);
  margin: 0 calc(5 / var(--screensize) * 100vw);
}

.selectNative,
.selectCustom {
  position: relative;
  width: calc(382 / var(--screensize) * 100vw);
  height: calc(54 / var(--screensize) * 100vw);
}

.selectCustom {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
}

/* @media (hover: hover) {
  .selectCustom {
    display: block;
  }
  .selectNative:focus + .selectCustom {
    display: none;
  }
} */
/* Add the focus states too, They matter, always! */
.selectNative:focus,
.selectCustom.isActive .selectCustom-trigger {
  outline: none;
}

.select {
  position: relative;
}

.selectLabel {
  display: block;
  font-weight: bold;
  margin-bottom: 0.4rem;
}

.selectWrapper {
  position: relative;
}

.selectNative,
.selectCustom-trigger {
  font-size: calc(18 / var(--screensize) * 100vw);
  border: 1px solid var(--ui-border);
  border-radius: 0.4rem;
}

.selectNative {
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position-x: 100%;
  background-position-y: 0.8rem;
  padding: 0rem 0.8rem;
  background: none;
  opacity: 0;
}

.selectCustom-trigger, .big-btn {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: var(--overlay-light);
  padding: calc(15 / var(--screensize) * 100vw) 0.8rem;
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  font-size: calc(18 / var(--screensize) * 100vw);
}

.selectCustom-trigger::after, .big-btn::after {
  content: "";
  position: absolute;
  top: 0;
  height: calc(54 / var(--screensize) * 100vw);
  right: 0;
  width: calc(54 / var(--screensize) * 100vw);
  background-color: var(--overlay-light);
  background-image: url("../images/burger_icon.svg");
  background-position: center center;
  background-repeat: no-repeat;
  display: block;
  background-size: calc(20 / var(--screensize) * 100vw) calc(19 / var(--screensize) * 100vw);
}

.selectCustom-trigger:hover {
  border-color: var(--primary-purple-dark);
}

.big-btn {
  height: calc(54 / var(--screensize) * 100vw);
  border-radius: calc(10 / var(--screensize) * 100vw);
  color: var(--text-white);
  border: 1px solid var(--overlay-medium);
}

.selectCustom-options {
  position: absolute;
  top: calc(54 / var(--screensize) * 100vw + 10 / var(--screensize) * 100vw);
  left: 0;
  width: 100%;
  border-radius: calc(10 / var(--screensize) * 100vw);
  background-color: var(--bg-dark);
  z-index: 1;
  display: none;
  overflow-y: auto;
  max-height: 40vh;
}

.selectCustom.isActive .selectCustom-options {
  display: block;
}

.selectCustom-option {
  position: relative;
  padding: 0.8rem;
  padding-left: 2.5rem;
}

.selectCustom-option.isHover,
.selectCustom-option:hover {
  background-color: var(--ui-hover);
  color: var(--text-white);
  cursor: default;
}

.selectCustom-option.isActive::before {
  content: "✓";
  position: absolute;
  left: 0.8rem;
}

.pc__session__head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: calc(30 / var(--screensize) * 100vw);
}

.pc__session__head__actions {
  margin-left: calc(20 / var(--screensize) * 100vw);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.action-btn {
  width: calc(54 / var(--screensize) * 100vw);
  height: calc(54 / var(--screensize) * 100vw);
  background-color: var(--overlay-light);
  border: 1px solid var(--overlay-medium);
  border-radius: calc(10 / var(--screensize) * 100vw);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-right: calc(10 / var(--screensize) * 100vw);
  -webkit-transition: 0.2s ease;
  transition: 0.2s ease;
}
.action-btn svg {
  width: calc(22 / var(--screensize) * 100vw);
  height: calc(22 / var(--screensize) * 100vw);
}
.action-btn:last-child {
  margin-right: 0;
}

.action-btn-active {
  background-color: var(--primary-purple-dark);
  border-color: var(--primary-purple-dark);
  -webkit-transition: 0.2s ease;
  transition: 0.2s ease;
}

.free_account_note_inactive {
  color: var(--status-error);
}

.pc__session__body {
  height: 75vh;
}
.pc__session__body .scroll-area p {
  color: var(--text-light);
  font-weight: 500;
  margin: 0 0 calc(5 / var(--screensize) * 100vw);
  line-height: 1.55;
}

.scroll-area-wrap {
  padding: calc(25 / var(--screensize) * 100vw) calc(30 / var(--screensize) * 100vw);
  background-color: var(--bg-light);
  border-radius: calc(10 / var(--screensize) * 100vw);
}

.scroll-area {
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 70vh;
}

.scroll-area-overflow-x {
  overflow-y: auto;
  overflow-x: auto;
  max-height: 70vh;
}

#account_area_free {
  max-height: 50vh; 
}



*::-webkit-scrollbar {
  width: calc(8 / var(--screensize) * 100vw);
  border-radius: calc(2 / var(--screensize) * 100vw);
}

*::-webkit-scrollbar-track {
  background: var(--bg-dark);
  border-radius: calc(2 / var(--screensize) * 100vw);
}

*::-webkit-scrollbar-thumb {
  background-color: var(--primary-purple);
  border-radius: calc(2 / var(--screensize) * 100vw);
}

.activated_button {
  background-color: var(--primary-purple);
  border-radius: calc(2 / var(--screensize) * 100vw);
}

.pc-module-wrap {
  display: grid;
  grid-template-columns: calc(784 / var(--screensize) * 100vw) 1fr 1fr;
  grid-column-gap: calc(20 / var(--screensize) * 100vw);
}

.pc__accounts__body {
  margin-top: calc(30 / var(--screensize) * 100vw);
}

.pc__accounts__body__row {
  color: var(--text-light);
  font-size: calc(18 / var(--screensize) * 100vw);
  margin-bottom: calc(10 / var(--screensize) * 100vw);
  font-weight: 500;
}

.pc__accounts__body__row span {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.pc__accounts__body__row svg {
  width: calc(22 / var(--screensize) * 100vw);
  height: calc(22 / var(--screensize) * 100vw);
  margin-right: calc(10 / var(--screensize) * 100vw);
}
.pc__accounts__body__row:last-child {
  margin-bottom: 0;
}

.pc__accounts__body__row__remove {
  background: none;
  border: none;
  display: block;
  margin-left: auto;
  padding: 0;
}
.pc__accounts__body__row__remove svg {
  width: calc(30 / var(--screensize) * 100vw);
  height: calc(30 / var(--screensize) * 100vw);
}

.pc__actions .big-btn {
  margin-bottom: calc(30 / var(--screensize) * 100vw);
}

.setup-module-wrap p {
  color: var(--text-light);
  font-weight: 500;
  font-size: calc(18 / var(--screensize) * 100vw);
  max-width: calc(737 / var(--screensize) * 100vw);
}
.setup-module-wrap iframe {
  width: calc(748 / var(--screensize) * 100vw);
  height: calc(445 / var(--screensize) * 100vw);
}

/* Новый дизайн тарифов */
.rates-page-header {
  margin-bottom: calc(50 / var(--screensize) * 100vw);
  text-align: center;
}

.rates-subtitle {
  color: var(--text-light);
  font-size: calc(18 / var(--screensize) * 100vw);
  margin-top: calc(15 / var(--screensize) * 100vw);
  opacity: 0.8;
}

.rates-section {
  margin-bottom: calc(60 / var(--screensize) * 100vw);
}

.rates-section-title {
  font-size: calc(32 / var(--screensize) * 100vw);
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: calc(30 / var(--screensize) * 100vw);
  text-align: center;
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(calc(350 / var(--screensize) * 100vw), 1fr));
  gap: calc(30 / var(--screensize) * 100vw);
  margin-bottom: calc(40 / var(--screensize) * 100vw);
}

.rates-grid-large {
  grid-template-columns: repeat(auto-fit, minmax(calc(300 / var(--screensize) * 100vw), 1fr));
}

.rate-card {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-card) 100%);
  border-radius: calc(20 / var(--screensize) * 100vw);
  padding: calc(35 / var(--screensize) * 100vw);
  box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--overlay-light);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.rate-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: calc(4 / var(--screensize) * 100vw);
  background: linear-gradient(90deg, var(--primary-purple) 0%, var(--primary-purple-accent) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.rate-card:hover {
  transform: translateY(calc(-8 / var(--screensize) * 100vw));
  box-shadow: 0px 12px 40px rgba(116, 65, 255, 0.2);
  border-color: var(--primary-purple);
}

.rate-card:hover::before {
  opacity: 1;
}

.rate-card-featured {
  border: 2px solid var(--primary-purple);
  box-shadow: 0px 8px 30px rgba(116, 65, 255, 0.3);
}

.rate-card-featured::before {
  opacity: 1;
}

.rate-card-premium {
  border: 2px solid var(--primary-purple-accent);
  box-shadow: 0px 8px 30px rgba(171, 119, 255, 0.3);
  background: linear-gradient(135deg, var(--bg-light) 0%, rgba(116, 65, 255, 0.1) 100%);
}

.rate-badge {
  position: absolute;
  top: calc(20 / var(--screensize) * 100vw);
  right: calc(20 / var(--screensize) * 100vw);
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-accent) 100%);
  color: var(--text-white);
  padding: calc(6 / var(--screensize) * 100vw) calc(15 / var(--screensize) * 100vw);
  border-radius: calc(20 / var(--screensize) * 100vw);
  font-size: calc(12 / var(--screensize) * 100vw);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0px 4px 15px rgba(116, 65, 255, 0.4);
}

.rate-badge-premium {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: var(--bg-dark);
  box-shadow: 0px 4px 15px rgba(255, 215, 0, 0.4);
}

.rate-card-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: calc(30 / var(--screensize) * 100vw);
  gap: calc(20 / var(--screensize) * 100vw);
}

.rate-icon-wrapper {
  width: calc(80 / var(--screensize) * 100vw);
  height: calc(80 / var(--screensize) * 100vw);
  background: linear-gradient(135deg, rgba(116, 65, 255, 0.2) 0%, rgba(171, 119, 255, 0.2) 100%);
  border-radius: calc(16 / var(--screensize) * 100vw);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: calc(15 / var(--screensize) * 100vw);
}

.rate-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rate-title-wrapper {
  flex: 1;
}

.rate-title {
  font-size: calc(24 / var(--screensize) * 100vw);
  font-weight: 700;
  color: var(--text-white);
  margin: 0 0 calc(12 / var(--screensize) * 100vw) 0;
  line-height: 1.3;
}

.rate-price {
  display: flex;
  align-items: baseline;
  gap: calc(8 / var(--screensize) * 100vw);
  flex-wrap: wrap;
}

.price-amount {
  font-size: calc(36 / var(--screensize) * 100vw);
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.price-period {
  font-size: calc(16 / var(--screensize) * 100vw);
  color: var(--text-light);
  opacity: 0.7;
}

.rate-card-body {
  display: flex;
  flex-direction: column;
  gap: calc(25 / var(--screensize) * 100vw);
}

.rate-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: calc(16 / var(--screensize) * 100vw);
}

.rate-feature {
  display: flex;
  align-items: center;
  gap: calc(12 / var(--screensize) * 100vw);
  color: var(--text-light);
  font-size: calc(16 / var(--screensize) * 100vw);
  font-weight: 500;
}

.feature-icon {
  width: calc(20 / var(--screensize) * 100vw);
  height: calc(20 / var(--screensize) * 100vw);
  color: var(--primary-purple);
  flex-shrink: 0;
}

.rate-btn {
  width: 100%;
  padding: calc(16 / var(--screensize) * 100vw) calc(30 / var(--screensize) * 100vw);
  background: var(--bg-medium);
  border: 2px solid var(--primary-purple);
  border-radius: calc(12 / var(--screensize) * 100vw);
  color: var(--text-white);
  font-size: calc(16 / var(--screensize) * 100vw);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rate-btn:hover {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-accent) 100%);
  transform: translateY(calc(-2 / var(--screensize) * 100vw));
  box-shadow: 0px 6px 20px rgba(116, 65, 255, 0.4);
}

.rate-btn-primary {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-accent) 100%);
  border-color: transparent;
}

.rate-btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-purple-accent) 0%, var(--primary-purple) 100%);
  box-shadow: 0px 8px 25px rgba(116, 65, 255, 0.5);
}

/* Стили для страницы акций */
.promo-page-header {
  margin-bottom: calc(30 / var(--screensize) * 100vw);
  text-align: center;
}

/* Табы для акций */
.promo-tabs {
  margin-bottom: calc(40 / var(--screensize) * 100vw);
  border-bottom: 2px solid var(--overlay-light);
  background: var(--bg-card);
  border-radius: calc(12 / var(--screensize) * 100vw) calc(12 / var(--screensize) * 100vw) 0 0;
  padding: 0 calc(20 / var(--screensize) * 100vw);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.promo-tabs-nav {
  display: flex;
  border: none;
  margin: 0;
  padding: 0;
  gap: calc(10 / var(--screensize) * 100vw);
}

.promo-tab-link {
  color: var(--text-light);
  border: none;
  border-bottom: 3px solid transparent;
  padding: calc(15 / var(--screensize) * 100vw) calc(25 / var(--screensize) * 100vw);
  margin: 0;
  cursor: pointer;
  font-weight: 500;
  font-size: calc(16 / var(--screensize) * 100vw);
  transition: all 0.3s ease;
  position: relative;
  background: none;
  border-radius: 0;
  text-decoration: none;
  display: inline-block;
}

.promo-tab-link:hover {
  color: var(--primary-purple);
  border-bottom-color: var(--primary-purple);
  background: rgba(116, 65, 255, 0.1);
}

.promo-tab-link.active {
  color: var(--text-white);
  border-bottom-color: var(--primary-purple);
  background: rgba(116, 65, 255, 0.2);
  font-weight: 600;
}

.promo-tab-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-purple);
  border-radius: 1px;
}

.promo-tab-content {
  display: none;
  animation: fadeInPromo 0.3s ease-in-out;
}

.promo-tab-content.active {
  display: block;
}

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

.promo-subtitle {
  color: var(--text-light);
  font-size: calc(18 / var(--screensize) * 100vw);
  margin-top: calc(15 / var(--screensize) * 100vw);
  opacity: 0.8;
}

.promo-section {
  margin-bottom: calc(60 / var(--screensize) * 100vw);
}

.promo-section-title {
  font-size: calc(32 / var(--screensize) * 100vw);
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: calc(30 / var(--screensize) * 100vw);
  text-align: center;
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.promo-card {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-card) 100%);
  border-radius: calc(20 / var(--screensize) * 100vw);
  padding: calc(35 / var(--screensize) * 100vw);
  box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--overlay-light);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.promo-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: calc(4 / var(--screensize) * 100vw);
  background: linear-gradient(90deg, var(--primary-purple) 0%, var(--primary-purple-accent) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.promo-card:hover {
  transform: translateY(calc(-4 / var(--screensize) * 100vw));
  box-shadow: 0px 12px 40px rgba(116, 65, 255, 0.2);
  border-color: var(--primary-purple);
}

.promo-card:hover::before {
  opacity: 1;
}

.promo-card-featured {
  border: 2px solid var(--primary-purple);
  box-shadow: 0px 8px 30px rgba(116, 65, 255, 0.3);
}

.promo-card-featured::before {
  opacity: 1;
}

.promo-card-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: calc(30 / var(--screensize) * 100vw);
  gap: calc(20 / var(--screensize) * 100vw);
}

.promo-icon-wrapper {
  width: calc(64 / var(--screensize) * 100vw);
  height: calc(64 / var(--screensize) * 100vw);
  background: linear-gradient(135deg, rgba(116, 65, 255, 0.2) 0%, rgba(171, 119, 255, 0.2) 100%);
  border-radius: calc(16 / var(--screensize) * 100vw);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-purple);
}

.promo-card-title-wrapper {
  flex: 1;
}

.promo-card-title {
  font-size: calc(24 / var(--screensize) * 100vw);
  font-weight: 700;
  color: var(--text-white);
  margin: 0 0 calc(8 / var(--screensize) * 100vw) 0;
  line-height: 1.3;
}

.promo-card-description {
  font-size: calc(16 / var(--screensize) * 100vw);
  color: var(--text-light);
  margin: 0;
  opacity: 0.8;
}

.promo-card-body {
  display: flex;
  flex-direction: column;
  gap: calc(20 / var(--screensize) * 100vw);
}

.promo-link-field {
  display: flex;
  gap: calc(15 / var(--screensize) * 100vw);
  align-items: center;
}

.promo-link-input {
  flex: 1;
  padding: calc(16 / var(--screensize) * 100vw) calc(20 / var(--screensize) * 100vw);
  background: var(--bg-medium);
  border: 2px solid var(--overlay-light);
  border-radius: calc(12 / var(--screensize) * 100vw);
  color: var(--text-white);
  font-size: calc(16 / var(--screensize) * 100vw);
  transition: all 0.3s ease;
}

.promo-link-input:focus {
  outline: none;
  border-color: var(--primary-purple);
  box-shadow: 0px 0px 0px 3px rgba(116, 65, 255, 0.2);
}

.promo-link-btn {
  padding: calc(16 / var(--screensize) * 100vw) calc(30 / var(--screensize) * 100vw);
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-accent) 100%);
  border: none;
  border-radius: calc(12 / var(--screensize) * 100vw);
  color: var(--text-white);
  font-size: calc(16 / var(--screensize) * 100vw);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.promo-link-btn:hover {
  background: linear-gradient(135deg, var(--primary-purple-accent) 0%, var(--primary-purple) 100%);
  transform: translateY(calc(-2 / var(--screensize) * 100vw));
  box-shadow: 0px 6px 20px rgba(116, 65, 255, 0.4);
}

.promo-terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(calc(300 / var(--screensize) * 100vw), 1fr));
  gap: calc(25 / var(--screensize) * 100vw);
}

.promo-term-card {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-card) 100%);
  border-radius: calc(16 / var(--screensize) * 100vw);
  padding: calc(25 / var(--screensize) * 100vw);
  border: 1px solid var(--overlay-light);
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: calc(15 / var(--screensize) * 100vw);
}

.promo-term-card:hover {
  transform: translateY(calc(-4 / var(--screensize) * 100vw));
  box-shadow: 0px 8px 25px rgba(116, 65, 255, 0.15);
  border-color: var(--primary-purple);
}

.promo-term-icon {
  width: calc(48 / var(--screensize) * 100vw);
  height: calc(48 / var(--screensize) * 100vw);
  background: linear-gradient(135deg, rgba(116, 65, 255, 0.2) 0%, rgba(171, 119, 255, 0.2) 100%);
  border-radius: calc(12 / var(--screensize) * 100vw);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-purple);
}

.promo-term-text {
  font-size: calc(16 / var(--screensize) * 100vw);
  color: var(--text-light);
  margin: 0;
  line-height: 1.5;
  flex: 1;
  padding-top: calc(4 / var(--screensize) * 100vw);
}

.promo-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(calc(400 / var(--screensize) * 100vw), 1fr));
  gap: calc(30 / var(--screensize) * 100vw);
}

.promo-stats-list {
  display: flex;
  flex-direction: column;
  gap: calc(12 / var(--screensize) * 100vw);
  max-height: calc(400 / var(--screensize) * 100vw);
  overflow-y: auto;
}

.promo-stats-item {
  padding: calc(12 / var(--screensize) * 100vw) calc(16 / var(--screensize) * 100vw);
  background: var(--bg-medium);
  border-radius: calc(10 / var(--screensize) * 100vw);
  border: 1px solid var(--overlay-light);
}

.promo-stats-value {
  font-size: calc(16 / var(--screensize) * 100vw);
  color: var(--text-white);
  font-weight: 500;
}

.promo-stats-empty {
  text-align: center;
  color: var(--text-light);
  font-size: calc(16 / var(--screensize) * 100vw);
  opacity: 0.6;
  padding: calc(30 / var(--screensize) * 100vw) 0;
}

.promo-bonus-log {
  display: flex;
  flex-direction: column;
  gap: calc(12 / var(--screensize) * 100vw);
  max-height: calc(400 / var(--screensize) * 100vw);
  overflow-y: auto;
}

.promo-bonus-item {
  padding: calc(14 / var(--screensize) * 100vw) calc(18 / var(--screensize) * 100vw);
  border-radius: calc(10 / var(--screensize) * 100vw);
  display: flex;
  flex-direction: column;
  gap: calc(6 / var(--screensize) * 100vw);
  border-left: calc(4 / var(--screensize) * 100vw) solid;
}

.promo-bonus-item-positive {
  background: rgba(116, 65, 255, 0.1);
  border-left-color: var(--primary-purple);
}

.promo-bonus-item-negative {
  background: rgba(255, 107, 107, 0.1);
  border-left-color: #ff6b6b;
}

.promo-bonus-date {
  font-size: calc(12 / var(--screensize) * 100vw);
  color: var(--text-light);
  opacity: 0.7;
}

.promo-bonus-amount {
  font-size: calc(18 / var(--screensize) * 100vw);
  font-weight: 700;
}

.promo-bonus-item-positive .promo-bonus-amount {
  color: var(--primary-purple-accent);
}

.promo-bonus-item-negative .promo-bonus-amount {
  color: #ff6b6b;
}

.promo-bonus-reason {
  font-size: calc(14 / var(--screensize) * 100vw);
  color: var(--text-light);
  opacity: 0.8;
}

.promo-terms-section {
  margin-top: calc(40 / var(--screensize) * 100vw);
}

.promo-terms-title {
  font-size: calc(24 / var(--screensize) * 100vw);
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: calc(25 / var(--screensize) * 100vw);
}

/* Новогодняя акция на странице promo - фиолетово-голубая стилистика */
.new-year-promo-card {
  background: linear-gradient(to right, #6d28d9 0%, #7c3aed 25%, #8b5cf6 50%, #7c3aed 75%, #6d28d9 100%);
  border-radius: calc(20 / var(--screensize) * 100vw);
  position: relative;
  overflow: hidden;
  min-height: calc(300 / var(--screensize) * 100vw);
  padding: calc(30 / var(--screensize) * 100vw);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 8px 32px rgba(99, 102, 241, 0.4),
    0 0 20px rgba(124, 58, 237, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Фоновые частицы снега */
.new-year-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 60% 50%, rgba(255, 255, 255, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
  background-size: 
    calc(50 / var(--screensize) * 100vw) calc(50 / var(--screensize) * 100vw),
    calc(60 / var(--screensize) * 100vw) calc(60 / var(--screensize) * 100vw),
    calc(40 / var(--screensize) * 100vw) calc(40 / var(--screensize) * 100vw),
    calc(55 / var(--screensize) * 100vw) calc(55 / var(--screensize) * 100vw),
    calc(45 / var(--screensize) * 100vw) calc(45 / var(--screensize) * 100vw);
  background-position: 
    0% 0%, 50% 50%, 100% 100%, 30% 70%, 80% 30%;
  animation: particlesFloat 15s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes particlesFloat {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.3;
  }
  50% {
    transform: translateY(calc(-10 / var(--screensize) * 100vw));
    opacity: 0.5;
  }
}

/* Обновленные снежинки */
.new-year-promo-card .new-year-snowflakes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}

.new-year-promo-card .snowflake {
  position: absolute;
  color: rgba(255, 255, 255, 0.9);
  font-size: calc(18 / var(--screensize) * 100vw);
  animation: snowfall linear infinite;
  text-shadow: 0 0 8px rgba(147, 197, 253, 0.8);
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.6));
}

.new-year-promo-card .snowflake:nth-child(1) {
  left: 10%;
  animation-duration: 8s;
  animation-delay: 0s;
  font-size: calc(14 / var(--screensize) * 100vw);
}

.new-year-promo-card .snowflake:nth-child(2) {
  left: 25%;
  animation-duration: 10s;
  animation-delay: 1s;
  font-size: calc(16 / var(--screensize) * 100vw);
}

.new-year-promo-card .snowflake:nth-child(3) {
  left: 45%;
  animation-duration: 12s;
  animation-delay: 2s;
  font-size: calc(18 / var(--screensize) * 100vw);
}

.new-year-promo-card .snowflake:nth-child(4) {
  left: 65%;
  animation-duration: 9s;
  animation-delay: 0.5s;
  font-size: calc(15 / var(--screensize) * 100vw);
}

.new-year-promo-card .snowflake:nth-child(5) {
  left: 80%;
  animation-duration: 11s;
  animation-delay: 1.5s;
  font-size: calc(17 / var(--screensize) * 100vw);
}

.new-year-promo-card .snowflake:nth-child(6) {
  left: 20%;
  animation-duration: 13s;
  animation-delay: 2.5s;
  font-size: calc(19 / var(--screensize) * 100vw);
}

.new-year-promo-card .snowflake:nth-child(7) {
  left: 55%;
  animation-duration: 10s;
  animation-delay: 1.2s;
  font-size: calc(16 / var(--screensize) * 100vw);
}

.new-year-promo-card .snowflake:nth-child(8) {
  left: 90%;
  animation-duration: 9s;
  animation-delay: 0.8s;
  font-size: calc(15 / var(--screensize) * 100vw);
}

/* Декоративные элементы */
.new-year-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

.decoration-star {
  position: absolute;
  font-size: calc(24 / var(--screensize) * 100vw);
  filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.8));
  animation: starTwinkle 3s ease-in-out infinite;
}

.decoration-star-1 {
  top: 15%;
  right: 20%;
  animation-delay: 0s;
}

.decoration-star-2 {
  top: 60%;
  right: 10%;
  animation-delay: 1s;
  font-size: calc(20 / var(--screensize) * 100vw);
}

.decoration-star-3 {
  top: 35%;
  right: 35%;
  animation-delay: 2s;
  font-size: calc(22 / var(--screensize) * 100vw);
}

@keyframes starTwinkle {
  0%, 100% {
    opacity: 0.7;
    transform: scale(1) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.2) rotate(180deg);
  }
}

.decoration-gift {
  position: absolute;
  font-size: calc(28 / var(--screensize) * 100vw);
  filter: drop-shadow(0 0 6px rgba(236, 72, 153, 0.6));
  animation: giftBounce 4s ease-in-out infinite;
}

.decoration-gift-1 {
  bottom: 20%;
  left: 10%;
  animation-delay: 0s;
}

.decoration-gift-2 {
  bottom: 15%;
  right: 15%;
  animation-delay: 2s;
  font-size: calc(32 / var(--screensize) * 100vw);
}

@keyframes giftBounce {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(calc(-5 / var(--screensize) * 100vw)) rotate(-5deg);
  }
  75% {
    transform: translateY(calc(-5 / var(--screensize) * 100vw)) rotate(5deg);
  }
}

.decoration-tree {
  position: absolute;
  font-size: calc(30 / var(--screensize) * 100vw);
  bottom: 10%;
  right: 12%;
  filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.7));
  animation: treeSway 5s ease-in-out infinite;
  z-index: 3;
}

@keyframes treeSway {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-3deg);
  }
  75% {
    transform: rotate(3deg);
  }
}

/* Контент блока */
.new-year-content {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: calc(30 / var(--screensize) * 100vw);
  min-height: calc(240 / var(--screensize) * 100vw);
}

.new-year-text-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: calc(20 / var(--screensize) * 100vw);
}

.new-year-title {
  color: #ffffff;
  font-size: calc(32 / var(--screensize) * 100vw);
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(255, 255, 255, 0.2);
  margin: 0;
  letter-spacing: calc(1 / var(--screensize) * 100vw);
}

.new-year-buttons {
  display: flex;
  flex-direction: column;
  gap: calc(12 / var(--screensize) * 100vw);
}

.new-year-cta-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: calc(8 / var(--screensize) * 100vw);
  color: #ffffff;
  font-size: calc(16 / var(--screensize) * 100vw);
  font-weight: 500;
  padding: calc(12 / var(--screensize) * 100vw) calc(20 / var(--screensize) * 100vw);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  backdrop-filter: blur(4px);
  position: relative;
  z-index: 5;
}

.new-year-cta-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateX(calc(5 / var(--screensize) * 100vw));
}

/* Гаджеты */
.new-year-gadgets {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(15 / var(--screensize) * 100vw);
  flex-wrap: wrap;
  position: relative;
  z-index: 3;
}

.gadget {
  font-size: calc(48 / var(--screensize) * 100vw);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  animation: gadgetFloat 4s ease-in-out infinite;
  position: relative;
}

.gadget-headphones {
  animation-delay: 0s;
  font-size: calc(56 / var(--screensize) * 100vw);
}

.gadget-tablet {
  animation-delay: 1s;
  font-size: calc(52 / var(--screensize) * 100vw);
}

.gadget-watch {
  animation-delay: 0.5s;
  font-size: calc(44 / var(--screensize) * 100vw);
}

.gadget-speaker {
  animation-delay: 1.5s;
  font-size: calc(50 / var(--screensize) * 100vw);
}

@keyframes gadgetFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(calc(-8 / var(--screensize) * 100vw)) rotate(5deg);
  }
}

/* Дисклеймер */
.new-year-disclaimer {
  position: absolute;
  bottom: calc(10 / var(--screensize) * 100vw);
  right: calc(15 / var(--screensize) * 100vw);
  font-size: calc(10 / var(--screensize) * 100vw);
  color: rgba(255, 255, 255, 0.7);
  z-index: 5;
}

/* Описание новогодней акции */
.new-year-description {
  color: rgba(255, 255, 255, 0.95);
  font-size: calc(18 / var(--screensize) * 100vw);
  line-height: 1.6;
  margin: 0 0 calc(25 / var(--screensize) * 100vw) 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Блок с предложением */
.new-year-offer-box {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: calc(16 / var(--screensize) * 100vw);
  padding: calc(20 / var(--screensize) * 100vw);
  margin: calc(20 / var(--screensize) * 100vw) 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: flex-start;
  gap: calc(15 / var(--screensize) * 100vw);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.new-year-offer-icon {
  font-size: calc(40 / var(--screensize) * 100vw);
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.new-year-offer-text {
  flex: 1;
}

.new-year-offer-title {
  color: #ffffff;
  font-size: calc(22 / var(--screensize) * 100vw);
  font-weight: 700;
  margin: 0 0 calc(8 / var(--screensize) * 100vw) 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.new-year-offer-desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: calc(16 / var(--screensize) * 100vw);
  line-height: 1.6;
  margin: 0;
}

/* Блок с примером расчета */
.new-year-example-box {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border-radius: calc(16 / var(--screensize) * 100vw);
  padding: calc(25 / var(--screensize) * 100vw);
  margin: calc(25 / var(--screensize) * 100vw) 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.new-year-example-title {
  color: #ffffff;
  font-size: calc(20 / var(--screensize) * 100vw);
  font-weight: 600;
  margin: 0 0 calc(20 / var(--screensize) * 100vw) 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Расчет */
.new-year-calculation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(15 / var(--screensize) * 100vw);
  margin: calc(20 / var(--screensize) * 100vw) 0;
  flex-wrap: wrap;
}

.calculation-step {
  flex: 1;
  min-width: calc(150 / var(--screensize) * 100vw);
  background: rgba(255, 255, 255, 0.1);
  border-radius: calc(12 / var(--screensize) * 100vw);
  padding: calc(18 / var(--screensize) * 100vw);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: flex-start;
  gap: calc(12 / var(--screensize) * 100vw);
  transition: all 0.3s ease;
}

.calculation-step:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(calc(-2 / var(--screensize) * 100vw));
}

.calculation-step.calculation-result {
  background: rgba(255, 215, 0, 0.2);
  border-color: rgba(255, 215, 0, 0.4);
}

.step-number {
  width: calc(32 / var(--screensize) * 100vw);
  height: calc(32 / var(--screensize) * 100vw);
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: calc(16 / var(--screensize) * 100vw);
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.calculation-result .step-number {
  background: rgba(255, 215, 0, 0.3);
  border-color: rgba(255, 215, 0, 0.5);
}

.step-content {
  flex: 1;
}

.step-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: calc(13 / var(--screensize) * 100vw);
  margin: 0 0 calc(6 / var(--screensize) * 100vw) 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.step-value {
  color: #ffffff;
  font-size: calc(18 / var(--screensize) * 100vw);
  font-weight: 600;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: calc(4 / var(--screensize) * 100vw);
  line-height: 1.3;
}

.step-server {
  display: block;
  white-space: nowrap;
}

.step-price {
  display: block;
  white-space: nowrap;
}

.step-value-highlight {
  color: #ffd700;
  font-size: calc(22 / var(--screensize) * 100vw);
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(255, 215, 0, 0.5);
}

.calculation-arrow {
  color: rgba(255, 255, 255, 0.8);
  font-size: calc(24 / var(--screensize) * 100vw);
  font-weight: 700;
  flex-shrink: 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Формула расчета */
.new-year-formula {
  background: rgba(0, 0, 0, 0.2);
  border-radius: calc(10 / var(--screensize) * 100vw);
  padding: calc(15 / var(--screensize) * 100vw);
  margin-top: calc(20 / var(--screensize) * 100vw);
  border-left: 3px solid rgba(255, 215, 0, 0.6);
}

.formula-text {
  color: rgba(255, 255, 255, 0.95);
  font-size: calc(15 / var(--screensize) * 100vw);
  line-height: 1.8;
  margin: 0;
  font-family: 'Courier New', monospace;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Срок действия */
.new-year-duration {
  display: flex;
  align-items: center;
  gap: calc(10 / var(--screensize) * 100vw);
  margin-top: calc(25 / var(--screensize) * 100vw);
  padding: calc(15 / var(--screensize) * 100vw);
  background: rgba(255, 255, 255, 0.1);
  border-radius: calc(10 / var(--screensize) * 100vw);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.duration-icon {
  font-size: calc(24 / var(--screensize) * 100vw);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.duration-text {
  color: rgba(255, 255, 255, 0.95);
  font-size: calc(16 / var(--screensize) * 100vw);
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Информация об аккаунтах поштучно */
.new-year-accounts-info {
  color: rgba(255, 255, 255, 0.85);
  font-size: calc(14 / var(--screensize) * 100vw);
  line-height: 1.5;
  margin: calc(12 / var(--screensize) * 100vw) 0 0 0;
  padding: calc(10 / var(--screensize) * 100vw) calc(12 / var(--screensize) * 100vw);
  background: rgba(255, 255, 255, 0.08);
  border-radius: calc(8 / var(--screensize) * 100vw);
  border-left: 3px solid rgba(255, 255, 255, 0.3);
}

/* Блок о поддержке */
.new-year-support-box {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
  backdrop-filter: blur(10px);
  border-radius: calc(16 / var(--screensize) * 100vw);
  padding: calc(25 / var(--screensize) * 100vw);
  margin: calc(25 / var(--screensize) * 100vw) 0 0 0;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: flex-start;
  gap: calc(18 / var(--screensize) * 100vw);
  position: relative;
  overflow: hidden;
}

.new-year-support-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.8) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 215, 0, 0.8) 100%);
  animation: supportGlow 3s ease-in-out infinite;
}

@keyframes supportGlow {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

.support-icon {
  font-size: calc(36 / var(--screensize) * 100vw);
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  animation: supportIconPulse 2s ease-in-out infinite;
}

@keyframes supportIconPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.support-content {
  flex: 1;
}

.support-title {
  color: #ffffff;
  font-size: calc(20 / var(--screensize) * 100vw);
  font-weight: 700;
  margin: 0 0 calc(10 / var(--screensize) * 100vw) 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.support-desc {
  color: rgba(255, 255, 255, 0.95);
  font-size: calc(16 / var(--screensize) * 100vw);
  line-height: 1.6;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Адаптивные стили для табов акций */
@media (max-width: 768px) {
  .promo-tabs {
    padding: 0 calc(10 / var(--screensize) * 100vw);
    margin-bottom: calc(30 / var(--screensize) * 100vw);
  }

  .promo-tabs-nav {
    flex-wrap: wrap;
    gap: calc(5 / var(--screensize) * 100vw);
  }

  .promo-tab-link {
    padding: calc(12 / var(--screensize) * 100vw) calc(15 / var(--screensize) * 100vw);
    font-size: calc(14 / var(--screensize) * 100vw);
    flex: 1;
    min-width: calc(120 / var(--screensize) * 100vw);
    text-align: center;
  }

  /* Адаптивность для новогоднего блока */
  .new-year-promo-card {
    padding: calc(20 / var(--screensize) * 100vw);
    min-height: auto;
  }

  .new-year-content {
    flex-direction: column;
    gap: calc(20 / var(--screensize) * 100vw);
    min-height: auto;
  }

  .new-year-title {
    font-size: calc(24 / var(--screensize) * 100vw);
    text-align: center;
  }

  .new-year-description {
    font-size: calc(16 / var(--screensize) * 100vw);
    text-align: center;
  }

  .new-year-offer-box {
    flex-direction: column;
    padding: calc(15 / var(--screensize) * 100vw);
  }

  .new-year-offer-icon {
    font-size: calc(32 / var(--screensize) * 100vw);
  }

  .new-year-offer-title {
    font-size: calc(18 / var(--screensize) * 100vw);
  }

  .new-year-offer-desc {
    font-size: calc(14 / var(--screensize) * 100vw);
  }

  .new-year-example-box {
    padding: calc(18 / var(--screensize) * 100vw);
  }

  .new-year-example-title {
    font-size: calc(18 / var(--screensize) * 100vw);
    text-align: center;
  }

  .new-year-calculation {
    flex-direction: column;
    gap: calc(12 / var(--screensize) * 100vw);
  }

  .calculation-arrow {
    transform: rotate(90deg);
    font-size: calc(20 / var(--screensize) * 100vw);
  }

  .calculation-step {
    width: 100%;
    min-width: auto;
  }

  .step-value {
    font-size: calc(16 / var(--screensize) * 100vw);
  }

  .step-server,
  .step-price {
    font-size: inherit;
  }

  .step-value-highlight {
    font-size: calc(20 / var(--screensize) * 100vw);
  }

  .formula-text {
    font-size: calc(13 / var(--screensize) * 100vw);
  }

  .new-year-duration {
    flex-direction: column;
    text-align: center;
    gap: calc(8 / var(--screensize) * 100vw);
  }

  .new-year-accounts-info {
    font-size: calc(13 / var(--screensize) * 100vw);
  }

  .new-year-support-box {
    flex-direction: column;
    padding: calc(18 / var(--screensize) * 100vw);
    gap: calc(15 / var(--screensize) * 100vw);
  }

  .support-icon {
    font-size: calc(32 / var(--screensize) * 100vw);
    align-self: center;
  }

  .support-title {
    font-size: calc(18 / var(--screensize) * 100vw);
    text-align: center;
  }

  .support-desc {
    font-size: calc(14 / var(--screensize) * 100vw);
    text-align: center;
  }

  .new-year-buttons {
    width: 100%;
  }

  .new-year-cta-btn {
    width: 100%;
    text-align: center;
  }

  .new-year-gadgets {
    gap: calc(10 / var(--screensize) * 100vw);
  }

  .gadget {
    font-size: calc(36 / var(--screensize) * 100vw);
  }

  .gadget-headphones {
    font-size: calc(42 / var(--screensize) * 100vw);
  }

  .gadget-tablet {
    font-size: calc(40 / var(--screensize) * 100vw);
  }

  .gadget-watch {
    font-size: calc(34 / var(--screensize) * 100vw);
  }

  .gadget-speaker {
    font-size: calc(38 / var(--screensize) * 100vw);
  }

  .decoration-star,
  .decoration-gift,
  .decoration-tree {
    font-size: calc(20 / var(--screensize) * 100vw);
  }

  .new-year-disclaimer {
    font-size: calc(8 / var(--screensize) * 100vw);
    bottom: calc(5 / var(--screensize) * 100vw);
    right: calc(10 / var(--screensize) * 100vw);
  }
}

/* Стили для страницы fbots+ (статистика) */
.stats-page-header {
  margin-bottom: calc(25 / var(--screensize) * 100vw);
  text-align: center;
}

.stats-subtitle {
  color: var(--text-light);
  font-size: calc(18 / var(--screensize) * 100vw);
  margin-top: calc(8 / var(--screensize) * 100vw);
  margin-bottom: calc(15 / var(--screensize) * 100vw);
  opacity: 0.8;
}

.stats-charts-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(8 / var(--screensize) * 100vw);
  padding: calc(10 / var(--screensize) * 100vw) calc(20 / var(--screensize) * 100vw);
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-accent) 100%);
  color: var(--text-white);
  border: none;
  border-radius: calc(10 / var(--screensize) * 100vw);
  cursor: pointer;
  font-size: calc(14 / var(--screensize) * 100vw);
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0px 4px 15px rgba(116, 65, 255, 0.3);
  text-decoration: none;
  margin-top: calc(12 / var(--screensize) * 100vw);
}

.stats-charts-button svg {
  width: calc(18 / var(--screensize) * 100vw);
  height: calc(18 / var(--screensize) * 100vw);
  stroke: currentColor;
  flex-shrink: 0;
}

.stats-charts-button:hover {
  background: linear-gradient(135deg, var(--primary-purple-accent) 0%, var(--primary-purple) 100%);
  transform: translateY(calc(-2 / var(--screensize) * 100vw));
  box-shadow: 0px 6px 25px rgba(116, 65, 255, 0.5);
}

.stats-charts-button:active {
  transform: translateY(0);
  box-shadow: 0px 2px 10px rgba(116, 65, 255, 0.3);
}

.theme-alternative .stats-charts-button {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-accent) 100%);
  box-shadow: 0px 4px 15px rgba(255, 107, 53, 0.3);
}

.theme-alternative .stats-charts-button:hover {
  background: linear-gradient(135deg, var(--primary-purple-accent) 0%, var(--primary-purple) 100%);
  box-shadow: 0px 6px 25px rgba(255, 107, 53, 0.5);
}

.stats-section {
  margin-bottom: calc(25 / var(--screensize) * 100vw);
}

.stats-selector-card {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-card) 100%);
  border-radius: calc(16 / var(--screensize) * 100vw);
  padding: calc(20 / var(--screensize) * 100vw);
  box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--overlay-light);
  transition: all 0.3s ease;
  position: relative;
  overflow: visible;
  max-width: calc(650 / var(--screensize) * 100vw);
  margin: 0 auto calc(25 / var(--screensize) * 100vw);
  z-index: 1;
}

.stats-selector-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: calc(4 / var(--screensize) * 100vw);
  background: linear-gradient(90deg, var(--primary-purple) 0%, var(--primary-purple-accent) 100%);
  opacity: 1;
}

.stats-selector-header {
  display: flex;
  align-items: center;
  margin-bottom: calc(15 / var(--screensize) * 100vw);
  gap: calc(12 / var(--screensize) * 100vw);
}

.stats-icon-wrapper {
  width: calc(40 / var(--screensize) * 100vw);
  height: calc(40 / var(--screensize) * 100vw);
  background: linear-gradient(135deg, rgba(116, 65, 255, 0.2) 0%, rgba(171, 119, 255, 0.2) 100%);
  border-radius: calc(10 / var(--screensize) * 100vw);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-purple);
}

.stats-selector-title-wrapper {
  flex: 1;
}

.stats-selector-title {
  font-size: calc(16 / var(--screensize) * 100vw);
  font-weight: 700;
  color: var(--text-white);
  margin: 0;
  line-height: 1.3;
}

.stats-selector-body {
  display: flex;
  flex-direction: column;
}

.stats-selector-body .select {
  width: 100%;
}

.stats-selector-body .selectWrapper {
  width: 100%;
  position: relative;
  height: calc(54 / var(--screensize) * 100vw);
  z-index: 10;
}

.stats-selector-body .selectNative {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  cursor: pointer;
}

.stats-selector-body .selectCustom {
  width: 100%;
  height: calc(54 / var(--screensize) * 100vw);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  pointer-events: none;
}

.stats-selector-body .selectCustom.isActive {
  pointer-events: auto;
}

.stats-selector-body .selectCustom-trigger {
  pointer-events: auto;
}

.stats-selector-body .selectCustom-trigger {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: var(--bg-medium);
  border: 2px solid var(--overlay-light);
  padding-right: calc(50 / var(--screensize) * 100vw);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: calc(12 / var(--screensize) * 100vw);
  transition: all 0.3s ease;
  cursor: pointer;
  pointer-events: auto;
  padding: calc(15 / var(--screensize) * 100vw) calc(20 / var(--screensize) * 100vw);
  font-size: calc(18 / var(--screensize) * 100vw);
  color: var(--text-white);
  text-align: left;
  display: flex;
  align-items: center;
  z-index: 11;
}

.stats-selector-body .selectCustom-trigger::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  right: 0;
  width: calc(54 / var(--screensize) * 100vw);
  background-color: var(--overlay-light);
  background-image: url("../images/burger_icon.svg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: calc(24 / var(--screensize) * 100vw);
  border-top-right-radius: calc(12 / var(--screensize) * 100vw);
  border-bottom-right-radius: calc(12 / var(--screensize) * 100vw);
}

.stats-selector-body .selectCustom-trigger:hover {
  border-color: var(--primary-purple);
  background-color: rgba(116, 65, 255, 0.1);
}

.stats-selector-body .selectCustom.isActive .selectCustom-trigger {
  border-color: var(--primary-purple);
  box-shadow: 0px 0px 0px 3px rgba(116, 65, 255, 0.2);
}

.stats-selector-body .selectCustom.isActive .selectCustom-trigger::after {
  background-color: var(--primary-purple);
}

.stats-selector-body .selectCustom-options {
  position: absolute;
  top: calc(54 / var(--screensize) * 100vw + 8 / var(--screensize) * 100vw);
  left: 0;
  width: 100%;
  background-color: var(--bg-light);
  border: 1px solid var(--overlay-light);
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.3);
  border-radius: calc(12 / var(--screensize) * 100vw);
  z-index: 1000;
  overflow-y: auto;
  max-height: calc(300 / var(--screensize) * 100vw);
}

.stats-selector-body .selectCustom-option {
  position: relative;
  padding: calc(12 / var(--screensize) * 100vw) calc(20 / var(--screensize) * 100vw);
  padding-left: calc(50 / var(--screensize) * 100vw);
  cursor: pointer;
  pointer-events: auto;
  color: var(--text-light);
  font-size: calc(16 / var(--screensize) * 100vw);
  transition: all 0.2s ease;
  border-bottom: 1px solid var(--overlay-light);
}

.stats-selector-body .selectCustom-option:last-child {
  border-bottom: none;
  border-bottom-left-radius: calc(12 / var(--screensize) * 100vw);
  border-bottom-right-radius: calc(12 / var(--screensize) * 100vw);
}

.stats-selector-body .selectCustom-option:hover,
.stats-selector-body .selectCustom-option.isHover {
  background-color: rgba(116, 65, 255, 0.15);
  color: var(--text-white);
}

.stats-selector-body .selectCustom-option.isActive::before {
  content: "✓";
  position: absolute;
  left: calc(20 / var(--screensize) * 100vw);
  color: var(--primary-purple);
  font-weight: bold;
}

.stats-game-card {
  display: none;
  animation: fadeIn 0.3s ease;
}

.stats-game-card.game-active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(calc(10 / var(--screensize) * 100vw));
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stats-table-wrapper {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-card) 100%);
  border-radius: calc(16 / var(--screensize) * 100vw);
  padding: calc(20 / var(--screensize) * 100vw);
  box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--overlay-light);
  overflow-x: auto;
  max-width: 100%;
}

.stats-game-card {
  max-width: 100%;
  margin-bottom: calc(20 / var(--screensize) * 100vw);
}

.stats-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--text-light);
  font-size: calc(14 / var(--screensize) * 100vw);
}

.stats-table thead {
  background: rgba(116, 65, 255, 0.1);
}

.stats-table th {
  padding: calc(12 / var(--screensize) * 100vw) calc(16 / var(--screensize) * 100vw);
  text-align: left;
  font-weight: 700;
  color: var(--text-white);
  border-bottom: 2px solid var(--primary-purple);
  font-size: calc(14 / var(--screensize) * 100vw);
}

.stats-table th:first-child {
  border-top-left-radius: calc(10 / var(--screensize) * 100vw);
}

.stats-table th:last-child {
  border-top-right-radius: calc(10 / var(--screensize) * 100vw);
}

.stats-table td {
  padding: calc(10 / var(--screensize) * 100vw) calc(16 / var(--screensize) * 100vw);
  border-bottom: 1px solid var(--overlay-light);
  color: var(--text-light);
}

.stats-table tbody tr {
  transition: background-color 0.2s ease;
}

.stats-table tbody tr:hover {
  background-color: rgba(116, 65, 255, 0.05);
}

.stats-table tbody tr:last-child td {
  border-bottom: none;
}

.stats-table-total {
  background: linear-gradient(135deg, rgba(116, 65, 255, 0.15) 0%, rgba(171, 119, 255, 0.1) 100%);
  border-top: 2px solid var(--primary-purple);
  border-bottom: 2px solid var(--primary-purple);
}

.stats-table-total td {
  color: var(--text-white);
  font-weight: 600;
  padding: calc(12 / var(--screensize) * 100vw) calc(16 / var(--screensize) * 100vw);
}

.stats-table-total td strong {
  color: var(--primary-purple-accent);
}

/* Старые классы для обратной совместимости */
.rates__item {
  background-color: var(--bg-light);
  -webkit-box-shadow: 0px 4px 10px var(--overlay-shadow);
  box-shadow: 0px 4px 10px var(--overlay-shadow);
  border-radius: calc(10 / var(--screensize) * 100vw);
  padding: calc(20 / var(--screensize) * 100vw);
}

.rates-module-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-column-gap: calc(20 / var(--screensize) * 100vw);
  margin-bottom: 30px;
}

.rates__item__head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: calc(30 / var(--screensize) * 100vw);
}
.rates__item__head img {
  width: calc(100 / var(--screensize) * 100vw);
  height: calc(100 / var(--screensize) * 100vw);
  margin-right: calc(20 / var(--screensize) * 100vw);
}

.rates__item__head__text p {
  margin: 0;
  font-size: calc(24 / var(--screensize) * 100vw);
  font-weight: 700;
}
.rates__item__head__text span {
  font-size: calc(32 / var(--screensize) * 100vw);
  font-weight: 700;
  color: var(--primary-purple-accent);
}

.rates__item__body ul {
  display: block;
  padding: 0;
  margin: 0;
  margin-bottom: calc(30 / var(--screensize) * 100vw);
}
.rates__item__body ul li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: var(--text-light);
  padding: calc(12 / var(--screensize) * 100vw) 0;
  font-weight: 500;
  font-size: calc(16 / var(--screensize) * 100vw);
  border-top: 1px solid var(--overlay-light);
}
.rates__item__body ul li:last-child {
  border-bottom: 1px solid var(--overlay-light);
}
.rates__item__body ul li:before {
  content: "";
  width: calc(22 / var(--screensize) * 100vw);
  height: calc(22 / var(--screensize) * 100vw);
  background-image: url("../images/check_iconn.svg");
  background-size: cover;
  display: block;
  margin-right: calc(12 / var(--screensize) * 100vw);
  flex-shrink: 0;
}

.status {
  border-radius: calc(40 / var(--screensize) * 100vw);
  background: var(--overlay-light);
  padding: calc(10 / var(--screensize) * 100vw) calc(20 / var(--screensize) * 100vw);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.status.status-online:before {
  content: "";
  width: calc(8 / var(--screensize) * 100vw);
  height: calc(8 / var(--screensize) * 100vw);
  background-color: var(--status-online);
  border-radius: 50%;
  margin-right: calc(10 / var(--screensize) * 100vw);
}

.status.status-offline:before {
  content: "";
  width: calc(8 / var(--screensize) * 100vw);
  height: calc(8 / var(--screensize) * 100vw);
  background-color: var(--status-offline);
  border-radius: 50%;
  margin-right: calc(10 / var(--screensize) * 100vw);
}


.main-data {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: calc(40 / var(--screensize) * 100vw);
}

.main-data__item {
  background-color: var(--bg-dark);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: calc(20 / var(--screensize) * 100vw);
  border-radius: calc(10 / var(--screensize) * 100vw);
  width: calc(248 / var(--screensize) * 100vw);
  margin-right: calc(20 / var(--screensize) * 100vw);
}
.main-data__item img {
  width: calc(56 / var(--screensize) * 100vw);
  height: calc(56 / var(--screensize) * 100vw);
  margin-right: calc(20 / var(--screensize) * 100vw);
}

.main-data__item-text span {
  color: var(--text-light);
}
.main-data__item-text p {
  font-size: calc(22 / var(--screensize) * 100vw);
  margin: calc(8 / var(--screensize) * 100vw) 0 0;
}

.main-data__item--user {
  position: relative;
  overflow: visible;
}

.main-data__item--user::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(116, 65, 255, 0.1) 0%, rgba(140, 0, 255, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.main-data__item--user:hover::before {
  opacity: 1;
}

.main-data__user-icon {
  width: calc(56 / var(--screensize) * 100vw);
  height: calc(56 / var(--screensize) * 100vw);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-right: calc(20 / var(--screensize) * 100vw);
  color: var(--primary-purple-light);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.main-data__user-login {
  color: var(--text-white) !important;
  font-weight: 600 !important;
  word-break: break-all;
  position: relative;
  z-index: 1;
}

.main-data__logout-btn {
  position: absolute;
  top: calc(12 / var(--screensize) * 100vw);
  right: calc(12 / var(--screensize) * 100vw);
  width: calc(32 / var(--screensize) * 100vw);
  height: calc(32 / var(--screensize) * 100vw);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: calc(6 / var(--screensize) * 100vw);
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all 0.2s ease;
  z-index: 2;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.main-data__logout-btn svg {
  width: calc(16 / var(--screensize) * 100vw);
  height: calc(16 / var(--screensize) * 100vw);
  stroke: currentColor;
  stroke-width: 2;
}

.main-data__logout-btn:hover {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-white);
  text-decoration: none;
  transform: scale(1.05);
}

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

.main-plates {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-top: calc(40 / var(--screensize) * 100vw);
}

.main-plates__plate {
  background-color: var(--bg-light);
  border-radius: calc(10 / var(--screensize) * 100vw);
  margin-right: calc(20 / var(--screensize) * 100vw);
  padding: calc(30 / var(--screensize) * 100vw);
  position: relative;
  width: calc(382 / var(--screensize) * 100vw);
  overflow: hidden;
  height: calc(276 / var(--screensize) * 100vw);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
.main-plates__plate h2 {
  margin: 0 0 calc(20 / var(--screensize) * 100vw);
  font-size: calc(30 / var(--screensize) * 100vw);
}
.main-plates__plate p {
  font-size: calc(18 / var(--screensize) * 100vw);
  margin: 0;
  color: var(--text-light);
}
.main-plates__plate .basic-btn {
  width: auto;
  max-width: -webkit-fit-content;
  max-width: -moz-fit-content;
  max-width: fit-content;
  min-width: calc(130 / var(--screensize) * 100vw);
  margin-top: auto;
}

.main-plates__plate-decor {
  width: calc(187 / var(--screensize) * 100vw);
  height: calc(187 / var(--screensize) * 100vw);
  position: absolute;
  top: calc(-28 / var(--screensize) * 100vw);
  right: calc(-20 / var(--screensize) * 100vw);
}

.main-plates__plate-2 {
  width: calc(650 / var(--screensize) * 100vw);
}
.main-plates__plate-2 p {
  max-width: calc(400 / var(--screensize) * 100vw);
}
.main-plates__plate-2 .main-plates__plate-decor {
  width: calc(201 / var(--screensize) * 100vw);
}

.main-plates__plate-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.main-plates__plate-row {
  margin-top: auto;
}
.main-plates__plate-row .basic-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin: 0;
}

.main-plates__plate__field {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background-color: var(--overlay-light);
  border: 1px solid var(--overlay-medium);
  border-radius: calc(40 / var(--screensize) * 100vw);
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-left: calc(10 / var(--screensize) * 100vw);
}
.main-plates__plate__field input {
  height: 100%;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: calc(16 / var(--screensize) * 100vw);
  padding: 0 calc(20 / var(--screensize) * 100vw);
}
.main-plates__plate__field .basic-btn {
  margin: 0;
}

.mob-menu {
  display: none;
}

.new-account__plate {
  background-color: var(--bg-light);
  border-radius: calc(10 / var(--screensize) * 100vw);
  padding: calc(30 / var(--screensize) * 100vw);
  -webkit-box-shadow: 0px 4px 10px var(--overlay-shadow);
  box-shadow: 0px 4px 10px var(--overlay-shadow);
  width: calc(516 / var(--screensize) * 100vw);
}
.new-account__plate h2 {
  font-size: calc(30 / var(--screensize) * 100vw);
  margin: 0 0 calc(20 / var(--screensize) * 100vw);
}

.cart-checkbox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: calc(16 / var(--screensize) * 100vw);
  cursor: pointer;
  margin-bottom: 10px;
  color: var(--text-white);
  position: relative;
  padding-left: calc(32 / var(--screensize) * 100vw);
}
.cart-checkbox a {
  color: var(--text-white);
  text-decoration: underline;
}

.cart-checkbox-inactive {
  color: var(--status-error);
}

.cart-checkbox input {
  z-index: -1;
  position: absolute;
  opacity: 0;
}

.cart-checkbox input:checked + span {
  color: var(--text-white);
}

cart-checkbox span {
  position: relative;
  padding-left: 26px;
}

.cart-checkbox span:before {
  content: "";
  position: absolute;
  left: 0;
  display: block;
  width: calc(20 / var(--screensize) * 100vw);
  height: calc(20 / var(--screensize) * 100vw);
  -webkit-box-flex: 0;
  -ms-flex: 0;
  flex: 0;
  background-color: none;
  border: 2px solid var(--text-white);
  background-repeat: no-repeat;
  background-position: center center;
  border-radius: 4px;
}

.cart-checkbox input:checked + span:before {
  background-image: url("../images/tick_icon.svg");
  background-color: var(--primary-purple);
  background-size: 50%;
  border-color: var(--primary-purple);
}

.new-account__plate .select {
  width: 100%;
  margin-bottom: calc(15 / var(--screensize) * 100vw);
}
.new-account__plate .selectCustom {
  width: 100%;
}

.selectCustom-w {
  width: 50%;
}

.accounts__head {
  display: flex;
}

.btn-remove {
  background: var(--overlay-light);
  border: 1px solid var(--overlay-medium);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: calc(10 / var(--screensize) * 100vw);
  width: calc(54 / var(--screensize) * 100vw);
  height: calc(54 / var(--screensize) * 100vw);
  margin: 0 calc(30 / var(--screensize) * 100vw) 0 calc(20 / var(--screensize) * 100vw);
}

.accounts__head .basic-btn {
  width: calc(205 / var(--screensize) * 100vw);
}

.checkbox-ios {
	display: inline-block;    
	height: 28px;    
	line-height: 28px;      
	position: relative;
	vertical-align: middle;
	font-size: 14px;
	user-select: none;	
}
.checkbox-ios .checkbox-ios-switch {
	position: relative;	
	display: inline-block;
	box-sizing: border-box;			
	width: calc(54 / var(--screensize) * 100vw);	
	height: calc(32 / var(--screensize) * 100vw);
	border: 1px solid rgba(0, 0, 0, .1);
	border-radius: calc(30 / var(--screensize) * 100vw);
	vertical-align: top;
	background: var(--bg-overlay);
	transition: .2s;
}
.checkbox-ios .checkbox-ios-switch:before {
	content: '';
	position: absolute;
	top: calc(4 / var(--screensize) * 100vw);
	left: calc(5 / var(--screensize) * 100vw);
	display: inline-block;
	width: calc(22 / var(--screensize) * 100vw);	
	height: calc(22 / var(--screensize) * 100vw);
	border-radius: 50%;
	background: var(--text-white);
	box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
	transition: .15s;
}
.checkbox-ios input[type=checkbox] {
	display: block;	
	width: 0;
	height: 0;	
	position: absolute;
	z-index: -1;
	opacity: 0;
}
.checkbox-ios input[type=checkbox]:not(:disabled):active + .checkbox-ios-switch:before {
	box-shadow: inset 0 0 2px rgba(0, 0, 0, .3);
}
.checkbox-ios input[type=checkbox]:checked + .checkbox-ios-switch {
	background: var(--primary-purple);
}
.checkbox-ios input[type=checkbox]:checked + .checkbox-ios-switch:before {
	transform:translateX(calc(19 / var(--screensize) * 100vw));
}
 
/* Hover */
.checkbox-ios input[type="checkbox"]:not(:disabled) + .checkbox-ios-switch {
	cursor: pointer;
	border-color: rgba(0, 0, 0, .3);
}
 
/* Disabled */
.checkbox-ios input[type=checkbox]:disabled + .checkbox-ios-switch {
	filter: grayscale(70%);
	border-color: rgba(0, 0, 0, .1);
}
.checkbox-ios input[type=checkbox]:disabled + .checkbox-ios-switch:before {
	background: var(--ui-disabled);
}
 
/* Focus */
.checkbox-ios.focused .checkbox-ios-switch:before {
	box-shadow: inset 0px 0px 4px var(--ui-focus);
}

.accounts__body {
  display: flex;
  margin-top: calc(30 / var(--screensize) * 100vw);
}
.accounts__plate {
  background-color: var(--bg-light);
  border-radius: calc(10 / var(--screensize) * 100vw);
  box-shadow: 0px 4px 30px var(--overlay-shadow);
  width: calc(784 / var(--screensize) * 100vw);
  padding: calc(22 / var(--screensize) * 100vw) calc(30 / var(--screensize) * 100vw);
  height: 100%;
  margin-right: calc(20 / var(--screensize) * 100vw);
}

.accounts__plate:last-child {
  margin-right: 0;
}

.accounts__row__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accounts__row__head button {
  background: none;
  border: none;
  padding: 0;
  font-size: calc(22 / var(--screensize) * 100vw);
  font-weight: 500;
  color: var(--text-white);
  display: flex;
  align-items: center;
}

.accounts__row__head__button__svg {
  width: calc(15 / var(--screensize) * 100vw);
  height: calc(10 / var(--screensize) * 100vw);
  margin-left: calc(10 / var(--screensize) * 100vw);
  margin-top: calc(2/ var(--screensize) * 100vw);
}

.accounts__row {
  margin-bottom: calc(15 / var(--screensize) * 100vw);
}

.accounts__row:last-child {
  margin-bottom: 0;
}

.accounts__row__body__point {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: calc(15 / var(--screensize) * 100vw);
}

.accounts__row__body span.signin__form__field__input input, .accounts__row__body__point .selectNative, .accounts__row__body__point .selectCustom {
  height: calc(38 / var(--screensize) * 100vw);
  width: calc(180 / var(--screensize) * 100vw);
}
.accounts__row__body__point .selectCustom-trigger {
  padding: calc(8 / var(--screensize) * 100vw) 0.8rem;
}
.accounts__row__body__point .selectCustom-trigger::after {
  height: calc(38 / var(--screensize) * 100vw);
}

.accounts__row__body__point:last-child {
  margin-bottom: 0;
}

.accounts__row__body__group {
  margin-bottom: calc(20 / var(--screensize) * 100vw);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: calc(8 / var(--screensize) * 100vw);
  background-color: rgba(0, 0, 0, 0.1);
}

.accounts__row__body__group:last-child {
  margin-bottom: 0;
}

.accounts__row__body__group__header {
  padding: calc(12 / var(--screensize) * 100vw) calc(20 / var(--screensize) * 100vw);
  font-weight: 600;
  font-size: calc(14 / var(--screensize) * 100vw);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-color);
}

.accounts__row__body__group__content {
  padding: calc(15 / var(--screensize) * 100vw) calc(20 / var(--screensize) * 100vw);
}

.accounts__row__body {
  background-color: var(--bg-card);
  padding: calc(20 / var(--screensize) * 100vw) calc(30 / var(--screensize) * 100vw);
  border-radius: calc(10 / var(--screensize) * 100vw);
  margin-top: calc(15 / var(--screensize) * 100vw);
  display: none;
}

.accounts__row__body.active {
  display: block;
}

/* Функции в разработке */
.accounts__row.in-development {
  opacity: 0.7;
  position: relative;
}

.accounts__row.in-development .accounts__row__head {
  opacity: 0.8;
}

.accounts__row.in-development .accounts__row__body {
  opacity: 0.6;
}

.accounts__row__body__point.in-development {
  opacity: 0.6;
  position: relative;
}

.accounts__row__body__point.in-development::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  border-radius: calc(4 / var(--screensize) * 100vw);
  pointer-events: none;
  z-index: 1;
}

.accounts__row.in-development .accounts__row__body input,
.accounts__row.in-development .accounts__row__body select,
.accounts__row.in-development .accounts__row__body .selectCustom,
.accounts__row__body__point.in-development input,
.accounts__row__body__point.in-development select,
.accounts__row__body__point.in-development .selectCustom {
  opacity: 0.5;
  cursor: not-allowed !important;
}

.accounts__row.in-development .accounts__row__body label,
.accounts__row__body__point.in-development label {
  cursor: not-allowed !important;
}

.accounts__save {
  width: calc(180 / var(--screensize) * 100vw);
  margin-top: calc(30 / var(--screensize) * 100vw);
}


.promotions__info .main-plates__plate__field {
  width: calc(562 / var(--screensize) * 100vw);
  margin-left: 0;

}

.promotions__info .main-plates__plate__field .basic-btn {
  width: calc(160 / var(--screensize) * 100vw);
  margin-left: auto;
  flex-shrink: 0;
}

.promotions__info .main-plates__plate__field input {
  width: 100%;
}

.promotions__info {
  margin-bottom: calc(30 / var(--screensize) * 100vw);
}

.page-subtitle {
  font-size: calc(30 / var(--screensize) * 100vw);
  margin: 0;
}

.promotion-terms {
  margin-top: calc(20 / var(--screensize) * 100vw);
  padding: 0;
  margin-bottom: 0;
}

.promotion-terms li {
  font-size: calc(18 / var(--screensize) * 100vw);
  font-weight: 500;
  display: flex;
  color: var(--text-light);
  margin-bottom: calc(12 / var(--screensize) * 100vw);
}

.promotion-terms li svg {
  margin-right: calc(12 / var(--screensize) * 100vw);
  width: calc(30 / var(--screensize) * 100vw);
  height: calc(30 / var(--screensize) * 100vw);
}

.promotion-terms li span {
  padding-top: calc(2 / var(--screensize) * 100vw);
}

.promotion-terms li:last-child {
  margin-bottom: 0;
}

.promotion-wrapper .main-plates__plate {
  min-height: calc(190 / var(--screensize) * 100vw);
  height: auto;
}

.promotion-wrapper .main-plates__plate-2 .main-plates__plate-decor {
  width: calc(145 / var(--screensize) * 100vw);
}

.mob-menu-plate {
  display: none;
}

.menu__list li svg path {
 stroke: var(--text-white);
  
}

.menu__list li.active svg path {
  stroke: var(--primary-purple-light);
}

.menu__list li.active a {
  color: var(--primary-purple-light);
}


.theme-alternative .menu__list li.active a {
  color: var(--svg-primary) !important;
}

.pc__accounts .pc__session__body {
  display: none;
}

.popup {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-medium) 100%);
  border-radius: calc(15 / var(--screensize) * 100vw);
  padding: calc(40 / var(--screensize) * 100vw) calc(60 / var(--screensize) * 100vw);
  border: 1px solid var(--overlay-light);
  box-shadow: 0 calc(8 / var(--screensize) * 100vw) calc(30 / var(--screensize) * 100vw) var(--overlay-shadow-dark);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.popup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-purple) 0%, var(--primary-purple-accent) 50%, var(--primary-purple) 100%);
}

.popup:not(.template-popup):not(.mass-apply-popup) h2 {
  color: var(--text-white);
  font-size: calc(24 / var(--screensize) * 100vw);
  font-weight: 700;
  margin: 0 0 calc(30 / var(--screensize) * 100vw) 0;
  text-align: center;
  position: relative;
  text-shadow: 0 calc(2 / var(--screensize) * 100vw) calc(4 / var(--screensize) * 100vw) rgba(0, 0, 0, 0.3);
}

.popup:not(.template-popup):not(.mass-apply-popup) h2::after {
  content: '';
  position: absolute;
  bottom: calc(-8 / var(--screensize) * 100vw);
  left: 50%;
  transform: translateX(-50%);
  width: calc(50 / var(--screensize) * 100vw);
  height: 3px;
  background: linear-gradient(90deg, var(--primary-purple) 0%, var(--primary-purple-accent) 100%);
  border-radius: 2px;
}

.popup h3 {
  text-align: center;
  font-size: calc(20 / var(--screensize) * 100vw);
  margin: 0 0 calc(15 / var(--screensize) * 100vw) 0;
  color: var(--text-white);
  font-weight: 600;
}

.popup p {
  font-size: calc(18 / var(--screensize) * 100vw);
  color: var(--text-light);
  margin-bottom: calc(30 / var(--screensize) * 100vw);
}

.secondary-btn {
  background: var(--bg-medium);
  color: var(--text-white);
  transition: .2s ease;
  border: none;
  width: 100%;
  height: calc(54 / var(--screensize) * 100vw);
  border-radius: calc(50 / var(--screensize)* 100vw);
  margin-top: calc(10 / var(--screensize) * 100vw);
}

.secondary-btn:hover {
  transition: .2s ease;
  opacity: .4;
}

.popup-wrapper {
  position: fixed;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: .2s ease;
  z-index: -1;
}

.popup-wrapper.active {
  top: 50%;
  opacity: 1;
  z-index: 2147483647;
  transition: .2s ease;
}

/* На мобильных устройствах добавляем нижний отступ для popup-wrapper, чтобы кнопки не перекрывались виджетом */
@media (max-width: 500px) {
  .popup-wrapper.active {
    top: 50%;
    transform: translate(-50%, -50%);
    max-height: 95vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .popup-wrapper.active .popup {
    position: relative;
  }
}

.close-popup-btn {
  position: absolute;
  top: calc(20 / var(--screensize) * 100vw);
  right: calc(20 / var(--screensize) * 100vw);
  padding: calc(8 / var(--screensize) * 100vw);
  border: none;
  background: var(--overlay-muted);
  border-radius: calc(8 / var(--screensize) * 100vw);
  border: 1px solid var(--overlay-light);
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 1;
}

.close-popup-btn:hover {
  background: var(--overlay-medium);
  border-color: var(--primary-purple-light);
  transform: scale(1.1);
}

.close-popup-btn svg {
  width: calc(20 / var(--screensize) * 100vw);
  height: calc(20 / var(--screensize) * 100vw);
  transition: all 0.2s ease;
}

.close-popup-btn:hover svg {
  stroke: var(--primary-purple);
}

.search-accounts {
  position: relative;
  margin-bottom: calc(20 / var(--screensize) * 100vw);
}
.search-accounts .signin__form__field__input:after {
  content: "";
  background-image: url("../images/search-icon.svg");
  width: calc(20 / var(--screensize) * 100vw);
  height: calc(20 / var(--screensize) * 100vw);
  display: block;
  position: absolute;
  background-size: cover;
  right: calc(20 / var(--screensize) * 100vw);
}

.pc__accounts__body .search-accounts,
.pc__accounts__body .pc__accounts__body__row span:last-child,
.pc__accounts__body .pc__accounts__body__btns  {
  display: none;
}


.pc__accounts__body.edit-mode .search-accounts, 
.pc__accounts__body.edit-mode .pc__accounts__body__row span:last-child,
.pc__accounts__body.edit-mode .pc__accounts__body__btns  {
  display: block;
}

.pc__accounts__body.edit-mode .pc__accounts__body__row span:first-child {
  display: none;
}

.pc__accounts__body.edit-mode .scroll-area-wrap {
  background-color: var(--bg-dark);
}

.pc__accounts__body .cart-checkbox span:before {
  width: calc(18 / var(--screensize) * 100vw);
  height: calc(18 / var(--screensize) * 100vw);
}

.pc__accounts__body .cart-checkbox {
  font-size: calc(18 / var(--screensize) * 100vw);
}

.pc__accounts__body .cart-checkbox input:checked + span {
  color: var(--primary-purple-light);
}

.pc__accounts__body__btns {
  margin-top: calc(20 / var(--screensize) * 100vw);
}

.accounts__stats {
  width: calc(400 / var(--screensize) * 100vw);
  display: block;
  margin-bottom: calc(30 / var(--screensize) * 100vw);
}
.accounts__invalid {
  color: var(--status-error);
  font-size: calc(18 / var(--screensize) * 100vw);
  font-weight: 500;
  display: flex;
  align-items: center;
}

.accounts__invalid svg {
  margin-right: calc(10 / var(--screensize) * 100vw);
}

.accounts__subhead {
  margin-top: calc(15 / var(--screensize) * 100vw);
}

.accounts__subhead__create {
  display: none;
}

.js-selectCustom.isActive .selectCustom-trigger::after {
  background-color: var(--primary-purple);
}
@media (max-width: 500px) {

  .accounts__subhead {
    display: flex;
    justify-content: space-between;
  }

  .accounts__subhead__create {
    display: block;
    color: var(--primary-purple-light);
    text-decoration: underline;
    font-size: calc(14 / var(--screensize) * 100vw);
  }

  .pc__accounts .pc__session__body {
    display: block;
  }
  .menu {
    display: none;
  }

  .page-title {
    font-size: calc(24 / var(--screensize) * 100vw);
  }

  .content-wrapper {
    padding: calc(20 / var(--screensize) * 100vw);
  }

  .setup-module-wrap p {
    font-size: calc(14 / var(--screensize) * 100vw);
  }

  .main-plates__plate__field {
    flex-direction: column;
    background-color: var(--bg-light);
    border: none;
    padding: calc(20 / var(--screensize) * 100vw);
    width: 100%;
    border-radius: calc(10 / var(--screensize) * 100vw);
  }

  .main-plates__plate__field input {
    margin-bottom: calc(10 / var(--screensize) * 100vw);
    height: calc(50 / var(--screensize) * 100vw);
    background-color: var(--bg-medium);
    border-radius: calc(50 / var(--screensize) * 100vw);
    color: var(--text-light);
    font-size: calc(14 / var(--screensize) * 100vw);
  }

  .promotions__info .main-plates__plate__field {
    width: 100%;
  }

  .promotions__info .main-plates__plate__field .basic-btn {
    margin-left: 0;
    width: 100%;
  }

  .page-subtitle {
    font-size: calc(22 / var(--screensize) * 100vw);
  }

  .main-plates {
    flex-direction: column;
  }

  .promotion-terms li svg {
    flex-shrink: 0;
  }

  .promotion-terms li {
    font-size: calc(14 / var(--screensize) * 100vw);
  }

  .promotion-terms li span {
    padding-top: calc(5 / var(--screensize) * 100vw);
  }

  /* Адаптивные стили для нового дизайна акций */
  .promo-page-header {
    margin-bottom: calc(30 / var(--screensize) * 100vw);
  }

  .promo-subtitle {
    font-size: calc(14 / var(--screensize) * 100vw);
    margin-top: calc(10 / var(--screensize) * 100vw);
  }

  .promo-section {
    margin-bottom: calc(40 / var(--screensize) * 100vw);
  }

  .promo-section-title {
    font-size: calc(24 / var(--screensize) * 100vw);
    margin-bottom: calc(20 / var(--screensize) * 100vw);
  }

  .promo-card {
    padding: calc(25 / var(--screensize) * 100vw);
    border-radius: calc(16 / var(--screensize) * 100vw);
  }

  .promo-card-header {
    margin-bottom: calc(25 / var(--screensize) * 100vw);
    gap: calc(15 / var(--screensize) * 100vw);
  }

  .promo-icon-wrapper {
    width: calc(50 / var(--screensize) * 100vw);
    height: calc(50 / var(--screensize) * 100vw);
    border-radius: calc(12 / var(--screensize) * 100vw);
  }

  .promo-card-title {
    font-size: calc(20 / var(--screensize) * 100vw);
    margin-bottom: calc(6 / var(--screensize) * 100vw);
  }

  .promo-card-description {
    font-size: calc(14 / var(--screensize) * 100vw);
  }

  .promo-link-field {
    flex-direction: column;
    gap: calc(12 / var(--screensize) * 100vw);
  }

  .promo-link-input {
    padding: calc(14 / var(--screensize) * 100vw) calc(18 / var(--screensize) * 100vw);
    font-size: calc(14 / var(--screensize) * 100vw);
    border-radius: calc(10 / var(--screensize) * 100vw);
  }

  .promo-link-btn {
    padding: calc(14 / var(--screensize) * 100vw) calc(25 / var(--screensize) * 100vw);
    font-size: calc(14 / var(--screensize) * 100vw);
    border-radius: calc(10 / var(--screensize) * 100vw);
    width: 100%;
  }

  .promo-terms-grid {
    grid-template-columns: 1fr;
    gap: calc(20 / var(--screensize) * 100vw);
  }

  .promo-term-card {
    padding: calc(20 / var(--screensize) * 100vw);
    border-radius: calc(14 / var(--screensize) * 100vw);
    gap: calc(12 / var(--screensize) * 100vw);
  }

  .promo-term-icon {
    width: calc(40 / var(--screensize) * 100vw);
    height: calc(40 / var(--screensize) * 100vw);
    border-radius: calc(10 / var(--screensize) * 100vw);
  }

  .promo-term-text {
    font-size: calc(14 / var(--screensize) * 100vw);
    padding-top: calc(2 / var(--screensize) * 100vw);
  }

  .promo-stats-grid {
    grid-template-columns: 1fr;
    gap: calc(20 / var(--screensize) * 100vw);
  }

  .promo-stats-list {
    gap: calc(10 / var(--screensize) * 100vw);
    max-height: calc(300 / var(--screensize) * 100vw);
  }

  .promo-stats-item {
    padding: calc(10 / var(--screensize) * 100vw) calc(14 / var(--screensize) * 100vw);
    border-radius: calc(8 / var(--screensize) * 100vw);
  }

  .promo-stats-value {
    font-size: calc(14 / var(--screensize) * 100vw);
  }

  .promo-stats-empty {
    font-size: calc(14 / var(--screensize) * 100vw);
    padding: calc(20 / var(--screensize) * 100vw) 0;
  }

  .promo-bonus-log {
    gap: calc(10 / var(--screensize) * 100vw);
    max-height: calc(300 / var(--screensize) * 100vw);
  }

  .promo-bonus-item {
    padding: calc(12 / var(--screensize) * 100vw) calc(16 / var(--screensize) * 100vw);
    border-radius: calc(8 / var(--screensize) * 100vw);
    gap: calc(5 / var(--screensize) * 100vw);
    border-left-width: calc(3 / var(--screensize) * 100vw);
  }

  .promo-bonus-date {
    font-size: calc(11 / var(--screensize) * 100vw);
  }

  .promo-bonus-amount {
    font-size: calc(16 / var(--screensize) * 100vw);
  }

  .promo-bonus-reason {
    font-size: calc(12 / var(--screensize) * 100vw);
  }

  /* Адаптивные стили для страницы fbots+ */
  .stats-page-header {
    margin-bottom: calc(20 / var(--screensize) * 100vw);
  }

  .stats-subtitle {
    font-size: calc(14 / var(--screensize) * 100vw);
    margin-top: calc(6 / var(--screensize) * 100vw);
    margin-bottom: calc(12 / var(--screensize) * 100vw);
  }

  .stats-charts-button {
    padding: calc(12 / var(--screensize) * 100vw) calc(24 / var(--screensize) * 100vw);
    font-size: calc(14 / var(--screensize) * 100vw);
    border-radius: calc(10 / var(--screensize) * 100vw);
    gap: calc(8 / var(--screensize) * 100vw);
    margin-top: calc(15 / var(--screensize) * 100vw);
  }

  .stats-charts-button svg {
    width: calc(18 / var(--screensize) * 100vw);
    height: calc(18 / var(--screensize) * 100vw);
  }

  .stats-section {
    margin-bottom: calc(20 / var(--screensize) * 100vw);
  }

  .stats-selector-card {
    padding: calc(18 / var(--screensize) * 100vw);
    border-radius: calc(14 / var(--screensize) * 100vw);
    max-width: 100%;
    margin-bottom: calc(20 / var(--screensize) * 100vw);
  }

  .stats-selector-header {
    margin-bottom: calc(12 / var(--screensize) * 100vw);
    gap: calc(10 / var(--screensize) * 100vw);
  }

  .stats-icon-wrapper {
    width: calc(36 / var(--screensize) * 100vw);
    height: calc(36 / var(--screensize) * 100vw);
    border-radius: calc(8 / var(--screensize) * 100vw);
  }

  .stats-selector-title {
    font-size: calc(15 / var(--screensize) * 100vw);
  }

  .stats-table-wrapper {
    padding: calc(15 / var(--screensize) * 100vw);
    border-radius: calc(14 / var(--screensize) * 100vw);
  }

  .stats-table {
    font-size: calc(13 / var(--screensize) * 100vw);
  }

  .stats-table th {
    padding: calc(10 / var(--screensize) * 100vw) calc(12 / var(--screensize) * 100vw);
    font-size: calc(13 / var(--screensize) * 100vw);
  }

  .stats-table td {
    padding: calc(8 / var(--screensize) * 100vw) calc(12 / var(--screensize) * 100vw);
  }

  .stats-table-total td {
    padding: calc(10 / var(--screensize) * 100vw) calc(12 / var(--screensize) * 100vw);
  }

  .main-plates__plate {
    width: 100%;
    margin-bottom: calc(20 / var(--screensize) * 100vw);
    height: auto;
  }

  .main-plates__plate:last-child {
    margin-bottom: 0;
  }

  .main-plates__plate h2 {
    font-size: calc(22 / var(--screensize) * 100vw);
  }

  .main-plates__plate p {
    font-size: calc(14 / var(--screensize) * 100vw);
    margin-bottom: calc(10 / var(--screensize) * 100vw);
  }
  
  .mob-menu {
    display: flex;
    justify-content: space-between;
    background-color: var(--bg-dark);
    align-items: center;
    padding: calc(15 / var(--screensize) * 100vw) calc(20 / var(--screensize) * 100vw);
    position: sticky;
    top: 0;
    z-index: 2;
  }

  .content {
    display: block;
  }

  .logo {
    margin: 0;
  }

  .mob-menu__burger {
    background: none;
    border: none;
    padding: 0;
  }

  .mob-menu__burger svg {
    width: calc(28 / var(--screensize) * 100vw);
    height: calc(28 / var(--screensize) * 100vw);
  }

  .mob-menu-plate {
    position: fixed;
    top: 0;
    width: calc(215 / var(--screensize) * 100vw);
    height: 100vh;
    right: calc(-215 / var(--screensize) * 100vw);
    transition: .3s ease;
    display: flex; 
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    background-color: var(--bg-dark);
    z-index: 2147483647;
    padding: calc(75 / var(--screensize) * 100vw) calc(20 / var(--screensize) * 100vw) calc(30 / var(--screensize) * 100vw);
  }

  .mob-menu-plate.active {
    right: 0;
    transition: .32s ease;
    opacity: 1;
    visibility: visible;
  }

  .menu__list li a {
    font-size: calc(18 / var(--screensize) * 100vw);
  }

  .menu__list li {
    margin-bottom: calc(20 / var(--screensize) * 100vw);
    padding-left: 0;
  }

  .menu__bottom {
    padding: 0;
  }

  .mob-menu-plate__close {
    background: none;
    border: none;
    padding: 0;
  }

  .mob-menu-plate__close svg {
    display: block;
    width: calc(20 / var(--screensize) * 100vw);
    height: calc(20 / var(--screensize) * 100vw);
    position: absolute;
    top: calc(20 / var(--screensize) * 100vw);
    right: calc(20 / var(--screensize) * 100vw);
  }
  
  .main-data {
    flex-direction: column;
  }

  .main-data__item {
    margin-bottom: calc(10 / var(--screensize) * 100vw);
    width: 100%;
  }

  .main-plates__plate-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-plates__plate-row .main-plates__plate__field {
    padding: 0;
    margin-left: 0;
  }

  .main-plates__plate__field input {
    width: 100%;
  }

  .main-plates__plate-row a.basic-btn {
    background: none;
    width: fit-content;
    height: auto;
    font-size: calc(14 / var(--screensize) * 100vw);
    text-decoration: underline;
    display: block;
    color: var(--primary-purple-light);
  }

  .main-plates__plate__field .basic-btn {
    width: 100%;
    max-width: unset;
  }

  .accounts__body {
    flex-direction: column;
    margin-top: calc(20 / var(--screensize) * 100vw);
  }

  .accounts__plate {
    width: 100%;
    padding: calc(10 / var(--screensize) * 100vw);
    /*border-radius: 0;*/
    box-shadow: none;
  }

  .accounts__plate:last-child {
    padding-top: 0;
  }

  .accounts__row__head button {
    font-size: calc(16 / var(--screensize) * 100vw);
    flex-wrap: wrap;
    gap: calc(5 / var(--screensize) * 100vw);
  }

  .accounts__row__head button svg {
    width: calc(8 / var(--screensize) * 100vw);
    height: calc(8 / var(--screensize) * 100vw);
  }

  .accounts__row__head button .in-dev-badge {
    font-size: calc(11 / var(--screensize) * 100vw) !important;
  }

  .accounts__row__body__point__span .in-dev-badge {
    font-size: calc(10 / var(--screensize) * 100vw) !important;
  }

  .accounts__row__body  {
    padding: calc(15 / var(--screensize) * 100vw);
  }

  .selectNative, .selectCustom {
    width: calc(264 / var(--screensize) * 100vw);
    height: calc(46 / var(--screensize) * 100vw);
    
  }

  .selectCustom-trigger, .big-btn {
    font-size: calc(15 / var(--screensize) * 100vw);
    padding: calc(13 / var(--screensize) * 100vw);
  }

  .accounts__row__body__point .selectCustom-trigger, .selectCustom-option {
    font-size: calc(12 / var(--screensize) * 100vw);
  }

  .accounts__row__body__point .selectCustom-options {
    top: calc(27 / var(--screensize)* 100vw + 10 / var(--screensize)* 100vw);
  }

  .accounts__row__body__point__span {
    max-width: 40%;
    font-size: calc(12 / var(--screensize) * 100vw);
  }

  .selectCustom-trigger::after, .big-btn::after {
    width: calc(46 / var(--screensize)* 100vw);
    height: calc(46 / var(--screensize)* 100vw);
  }

  .accounts__head .basic-btn {
    display: none;
  }

  .accounts__head .btn-remove {
    margin-right: 0;
    width: calc(46 / var(--screensize) * 100vw);
    height: calc(46 / var(--screensize) * 100vw);
  }

  /* Адаптивные стили для нового дизайна тарифов */
  .rates-page-header {
    margin-bottom: calc(30 / var(--screensize) * 100vw);
  }

  .rates-subtitle {
    font-size: calc(14 / var(--screensize) * 100vw);
    margin-top: calc(10 / var(--screensize) * 100vw);
  }

  .rates-section {
    margin-bottom: calc(40 / var(--screensize) * 100vw);
  }

  .rates-section-title {
    font-size: calc(24 / var(--screensize) * 100vw);
    margin-bottom: calc(20 / var(--screensize) * 100vw);
  }

  .rates-grid {
    grid-template-columns: 1fr;
    gap: calc(20 / var(--screensize) * 100vw);
    margin-bottom: calc(30 / var(--screensize) * 100vw);
  }

  .rate-card {
    padding: calc(25 / var(--screensize) * 100vw);
    border-radius: calc(16 / var(--screensize) * 100vw);
  }

  .rate-badge {
    top: calc(15 / var(--screensize) * 100vw);
    right: calc(15 / var(--screensize) * 100vw);
    padding: calc(5 / var(--screensize) * 100vw) calc(12 / var(--screensize) * 100vw);
    font-size: calc(10 / var(--screensize) * 100vw);
    border-radius: calc(15 / var(--screensize) * 100vw);
  }

  .rate-card-header {
    margin-bottom: calc(25 / var(--screensize) * 100vw);
    gap: calc(15 / var(--screensize) * 100vw);
  }

  .rate-icon-wrapper {
    width: calc(60 / var(--screensize) * 100vw);
    height: calc(60 / var(--screensize) * 100vw);
    border-radius: calc(12 / var(--screensize) * 100vw);
    padding: calc(10 / var(--screensize) * 100vw);
  }

  .rate-title {
    font-size: calc(20 / var(--screensize) * 100vw);
    margin-bottom: calc(10 / var(--screensize) * 100vw);
  }

  .price-amount {
    font-size: calc(28 / var(--screensize) * 100vw);
  }

  .price-period {
    font-size: calc(14 / var(--screensize) * 100vw);
  }

  .rate-card-body {
    gap: calc(20 / var(--screensize) * 100vw);
  }

  .rate-features {
    gap: calc(12 / var(--screensize) * 100vw);
  }

  .rate-feature {
    font-size: calc(14 / var(--screensize) * 100vw);
    gap: calc(10 / var(--screensize) * 100vw);
  }

  .feature-icon {
    width: calc(18 / var(--screensize) * 100vw);
    height: calc(18 / var(--screensize) * 100vw);
  }

  .rate-btn {
    padding: calc(14 / var(--screensize) * 100vw) calc(25 / var(--screensize) * 100vw);
    font-size: calc(14 / var(--screensize) * 100vw);
    border-radius: calc(10 / var(--screensize) * 100vw);
  }

  /* Старые стили для обратной совместимости */
  .rates-module-wrap {
    flex-direction: column;
    display: flex;
  }

  .rates__item {
    margin-bottom: calc(20 / var(--screensize) * 100vw);
    padding: calc(20 / var(--screensize) * 100vw);
  }
  
  .rates__item__head img {
    width: calc(64 / var(--screensize) * 100vw);
    height: calc(64 / var(--screensize) * 100vw);
  }

  .rates__item__head__text p {
    font-size: calc(22 / var(--screensize) * 100vw);
  }

  .rates__item__head__text span {
    font-size: calc(24 / var(--screensize) * 100vw);
  }

  .rates__item__body ul li {
    font-size: calc(14 / var(--screensize) * 100vw);
  }

  .pc__session__head {
    flex-direction: column;
  }

  .pc__session__head .selectNative, .pc__session__head .selectCustom {
    width: 100%;
  }

  .pc__session__head__actions {
    margin-left: 0;
    margin-top: calc(10 / var(--screensize) * 100vw);
  }

  .action-btn {
    width: calc(46 / var(--screensize) * 100vw);
    height: calc(46 / var(--screensize) * 100vw);
  }

  .pc__session .pc__session__body {
    display: none;
  }

  .pc__session__body {
    height: calc(200 / var(--screensize) * 100vw);
  }

  .pc-module-wrap {
    display: block;
  }

  .big-btn {
    height: calc(46 / var(--screensize) * 100vw);
  }

  .pc__actions {
    display: none;
  }

  .pc__session__body .scroll-area p {
    font-size: calc(12 / var(--screensize) * 100vw);
  }

  .scroll-area-wrap {
    padding: calc(20 / var(--screensize) * 100vw);
  }

  .pc__accounts__body {
    margin-bottom: calc(10 / var(--screensize) * 100vw);
  }

  .pc__accounts__body__row {
    font-size: calc(16 / var(--screensize) * 100vw);
  }

  .setup-module-wrap iframe {
    width: 100%;
    height: auto;
  }

  .new-account__plate {
    width: 100%;
    padding: calc(20 / var(--screensize) * 100vw);
  }

  .new-account__plate h2 {
    font-size: calc(22 / var(--screensize) * 100vw);
  }

  .accounts__stats {
    width: 100%;
  }

  .accounts__save {
    width: calc(320 / var(--screensize) * 100vw);
    position: fixed;
    bottom: calc(15 / var(--screensize) * 100vw);
  }

  .accounts {
    padding-bottom: calc(60 / var(--screensize) * 100vw);
  }

  .accounts__invalid {
    font-size: calc(14 / var(--screensize) * 100vw);
  }

  .accounts__row__body span.signin__form__field__input input, .accounts__row__body__point .selectNative, .accounts__row__body__point .selectCustom  {
    height: calc(34 / var(--screensize) * 100vw);
    /*width: calc(116 / var(--screensize) * 100vw);*/
  }

  .accounts__row__body__point .selectCustom-trigger::after {
    height: calc(34 / var(--screensize) * 100vw);
  }

  form .cart-checkbox {
    font-size: calc(16 / var(--screensize) * 100vw);
  }

  .popup:not(.template-popup):not(.mass-apply-popup) h2 {
    font-size: calc(22 / var(--screensize) * 100vw);
  }

  .signin__form__field span {
    font-size: calc(14 / var(--screensize) * 100vw);
  }

  .popup:not(.template-popup):not(.mass-apply-popup) {
    padding: calc(20 / var(--screensize) * 100vw);
    width: calc(90vw);
    max-width: calc(90vw);
  }

  .popup .selectNative, .popup .selectCustom {
    width: 100%;
  }
}

form .cart-checkbox {
  margin-bottom: calc(20 / var(--screensize) * 100vw);
}


.overlay {
  background-color: var(--overlay-dark);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  position: fixed;
  display: none;
  z-index: -1;
}

.overlay.active {
  display: block;
  z-index: 100;
}

.tariff-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.tariff-btn {
  background: #1d1c2a;
  border: 2px solid #2f2e41;
  color: #b6aadf;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
  transition: 0.2s ease;
}

.tariff-btn:hover {
  border-color: #7a5bff;
}

.tariff-btn.selected {
  background: linear-gradient(90deg, #7a5bff, var(--form-gradient));
  color: var(--text-white);
  border-color: transparent;
}

.tariff-btn.disabled,
.tariff-btn:disabled {
  background: #1a1926;
  border-color: #2a2938;
  color: #6b6b7a;
  cursor: not-allowed;
  opacity: 0.5;
  position: relative;
}

.tariff-btn.disabled:hover,
.tariff-btn:disabled:hover {
  border-color: #2a2938;
  background: #1a1926;
}

.tariff-btn.disabled::after,
.tariff-btn:disabled::after {
  content: "🔒";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
}

.bonus-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #b6aadf;
  white-space: nowrap;
}

.bonus-label {
  font-size: 13px;
  color: #b6aadf;
}

.signin__form__field input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: #2f2e41;
  border-radius: 4px;
  outline: none;
  transition: background 0.2s;
}

.signin__form__field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: #7a5bff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 0 2px var(--text-white);
  transition: background 0.2s;
}

.final-price {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-amount {
  font-size: 18px;
  font-weight: bold;
  color: var(--text-white);
}

.mode-block {
  margin-top: 10px;
}
.days-checkboxes label {
  display: inline-block;
  margin-right: 6px;
  color: var(--text-muted);
}
.filter-list {
  list-style: none;
  padding-left: 0;
}
.filter-list li {
  background: var(--form-bg);
  margin: 5px 0;
  padding: 8px;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  color: var(--text-white);
}
.filter-list button {
  background: transparent;
  color: #ff8888;
  border: none;
  cursor: pointer;
}


input[type="time"] {
  background-color: var(--form-bg);
  border: 1px solid var(--form-border);
  color: #eee;
  padding: 10px 12px;
  font-size: 14px;
  border-radius: 10px;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  transition: all 0.2s ease;
}

input[type="time"]:focus {
  outline: none;
  border-color: var(--form-focus);
  box-shadow: 0 0 0 2px var(--overlay-focus);
  background-color: #35295c;
}

.styled-select,
input[type="datetime-local"] {
  width: 100%;
  padding: 10px;
  background-color: var(--form-bg);
  color: var(--text-white);
  border: 1px solid var(--form-border);
  border-radius: 8px;
  margin-top: 6px;
  font-size: 14px;
}

.styled-select:focus,
input[type="time"]:focus,
input[type="datetime-local"]:focus {
  outline: none;
  border-color: var(--form-focus);
  box-shadow: 0 0 0 2px var(--overlay-focus-strong);
}

.day-buttons {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-top: 8px;
  margin-bottom: 12px;
}

.day-buttons button {
  flex: 1;
  padding: 8px 0;
  border-radius: 8px;
  border: 1px solid var(--form-border);
  background-color: var(--form-bg);
  color: var(--text-muted);
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
}

.day-buttons button.active {
  background: linear-gradient(to right, var(--form-focus), #d84be1);
  color: var(--text-white);
  border-color: var(--form-focus);
}

.filter-list li {
  background: #3c2d60;
  margin: 5px 0;
  padding: 8px 12px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.filter-list button {
  background: none;
  color: #ff8888;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background: linear-gradient(to right, #a78bfa, #f472b6);
  color: var(--text-white);
  padding: 12px 18px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  font-size: 14px;
  animation: fadein 0.3s ease, fadeout 0.3s ease 3.7s;
  opacity: 1;
  pointer-events: none;
  position: relative;
  overflow: hidden;
}

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

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

.payment-buttons-row {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.counter-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(20 / var(--screensize) * 100vw);
  margin: calc(30 / var(--screensize) * 100vw) 0;
}

.counter-btn {
  width: calc(54 / var(--screensize) * 100vw);
  height: calc(54 / var(--screensize) * 100vw);
  background-color: var(--overlay-light);
  border: 1px solid var(--overlay-medium);
  border-radius: calc(10 / var(--screensize) * 100vw);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: calc(24 / var(--screensize) * 100vw);
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s ease;
}

.counter-btn:hover {
  background-color: var(--primary-purple-dark);
  border-color: var(--primary-purple-dark);
}

.counter-value {
  font-size: calc(24 / var(--screensize) * 100vw);
  font-weight: bold;
  color: var(--text-white);
  min-width: calc(60 / var(--screensize) * 100vw);
  text-align: center;
}

.apply-btn {
  margin-top: calc(30 / var(--screensize) * 100vw);
}

@media (max-width: 500px) {
  .counter-controls {
    gap: calc(15 / var(--screensize) * 100vw);
    margin: calc(20 / var(--screensize) * 100vw) 0;
  }

  .counter-btn {
    width: calc(46 / var(--screensize) * 100vw);
    height: calc(46 / var(--screensize) * 100vw);
    font-size: calc(20 / var(--screensize) * 100vw);
  }

  .counter-value {
    font-size: calc(20 / var(--screensize) * 100vw);
    min-width: calc(50 / var(--screensize) * 100vw);
  }

  .apply-btn {
    margin-top: calc(20 / var(--screensize) * 100vw);
  }
}

/* Additional Cost Info Styles */
.additional-cost-info {
  margin-top: calc(25 / var(--screensize) * 100vw);
  padding: calc(20 / var(--screensize) * 100vw);
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-medium) 100%);
  border-radius: calc(12 / var(--screensize) * 100vw);
  border: 1px solid var(--overlay-light);
  box-shadow: 0 calc(4 / var(--screensize) * 100vw) calc(20 / var(--screensize) * 100vw) var(--overlay-shadow);
  position: relative;
  overflow: hidden;
}

.additional-cost-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-purple) 0%, var(--primary-purple-accent) 50%, var(--primary-purple) 100%);
}

.additional-cost-info h3 {
  color: var(--text-white);
  font-size: calc(18 / var(--screensize) * 100vw);
  font-weight: 600;
  margin: 0 0 calc(15 / var(--screensize) * 100vw) 0;
  text-align: center;
  position: relative;
}

.additional-cost-info h3::after {
  content: '';
  position: absolute;
  bottom: calc(-5 / var(--screensize) * 100vw);
  left: 50%;
  transform: translateX(-50%);
  width: calc(30 / var(--screensize) * 100vw);
  height: 2px;
  background: var(--primary-purple);
  border-radius: 1px;
}

.cost-breakdown {
  margin-top: calc(15 / var(--screensize) * 100vw);
}

.cost-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: calc(12 / var(--screensize) * 100vw);
  padding: calc(10 / var(--screensize) * 100vw) calc(15 / var(--screensize) * 100vw);
  background: var(--overlay-muted);
  border-radius: calc(8 / var(--screensize) * 100vw);
  border: 1px solid var(--overlay-light);
  transition: all 0.2s ease;
}

.cost-item:hover {
  background: var(--overlay-medium);
  border-color: var(--primary-purple-light);
  transform: translateY(-1px);
}

.cost-item span:first-child {
  color: var(--text-light);
  font-size: calc(14 / var(--screensize) * 100vw);
  font-weight: 500;
}

.cost-item span:last-child {
  color: var(--text-white);
  font-size: calc(16 / var(--screensize) * 100vw);
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-accent) 100%);
  padding: calc(4 / var(--screensize) * 100vw) calc(12 / var(--screensize) * 100vw);
  border-radius: calc(20 / var(--screensize) * 100vw);
  min-width: calc(60 / var(--screensize) * 100vw);
  text-align: center;
}

.cost-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: calc(15 / var(--screensize) * 100vw);
  padding: calc(15 / var(--screensize) * 100vw) calc(20 / var(--screensize) * 100vw);
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-accent) 100%);
  border-radius: calc(10 / var(--screensize) * 100vw);
  border: 1px solid var(--primary-purple-light);
  box-shadow: 0 calc(4 / var(--screensize) * 100vw) calc(15 / var(--screensize) * 100vw) rgba(116, 65, 255, 0.3);
  position: relative;
  overflow: hidden;
}

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

.cost-total:hover::before {
  left: 100%;
}

.cost-total span:first-child {
  color: var(--text-white);
  font-size: calc(16 / var(--screensize) * 100vw);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cost-total span:last-child {
  color: var(--text-white);
  font-size: calc(20 / var(--screensize) * 100vw);
  font-weight: 700;
  text-shadow: 0 calc(2 / var(--screensize) * 100vw) calc(4 / var(--screensize) * 100vw) rgba(0, 0, 0, 0.3);
}

@media (max-width: 500px) {
  .additional-cost-info {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
  }

  .additional-cost-info h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .cost-item {
    margin-bottom: 10px;
    padding: 8px 12px;
    border-radius: 6px;
  }

  .cost-item span:first-child {
    font-size: 13px;
  }

  .cost-item span:last-child {
    font-size: 14px;
    padding: 3px 10px;
    border-radius: 15px;
  }

  .cost-total {
    margin-top: 12px;
    padding: 12px 15px;
    border-radius: 8px;
  }

  .cost-total span:first-child {
    font-size: 14px;
  }

  .cost-total span:last-child {
    font-size: 18px;
  }
}

/* Manage Subscription Form Styles */
.quota-section {
  margin-bottom: calc(25 / var(--screensize) * 100vw);
  padding: calc(20 / var(--screensize) * 100vw);
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-medium) 100%);
  border-radius: calc(12 / var(--screensize) * 100vw);
  border: 1px solid var(--overlay-light);
  box-shadow: 0 calc(4 / var(--screensize) * 100vw) calc(20 / var(--screensize) * 100vw) var(--overlay-shadow);
  position: relative;
  overflow: hidden;
}

.quota-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-purple) 0%, var(--primary-purple-accent) 50%, var(--primary-purple) 100%);
}

.quota-section h3 {
  color: var(--text-white);
  font-size: calc(18 / var(--screensize) * 100vw);
  font-weight: 600;
  margin: 0 0 calc(15 / var(--screensize) * 100vw) 0;
  text-align: center;
  position: relative;
}

.quota-section h3::after {
  content: '';
  position: absolute;
  bottom: calc(-5 / var(--screensize) * 100vw);
  left: 50%;
  transform: translateX(-50%);
  width: calc(30 / var(--screensize) * 100vw);
  height: 2px;
  background: var(--primary-purple);
  border-radius: 1px;
}

.quota-section .counter-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(20 / var(--screensize) * 100vw);
  margin: 0;
  padding: calc(15 / var(--screensize) * 100vw);
  background: var(--overlay-muted);
  border-radius: calc(8 / var(--screensize) * 100vw);
  border: 1px solid var(--overlay-light);
}

.quota-section .counter-btn {
  width: calc(54 / var(--screensize) * 100vw);
  height: calc(54 / var(--screensize) * 100vw);
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-accent) 100%);
  border: 1px solid var(--primary-purple-light);
  border-radius: calc(10 / var(--screensize) * 100vw);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: calc(24 / var(--screensize) * 100vw);
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 calc(2 / var(--screensize) * 100vw) calc(8 / var(--screensize) * 100vw) rgba(116, 65, 255, 0.3);
}

.quota-section .counter-btn:hover {
  background: linear-gradient(135deg, var(--primary-purple-accent) 0%, var(--primary-purple) 100%);
  border-color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 calc(4 / var(--screensize) * 100vw) calc(12 / var(--screensize) * 100vw) rgba(116, 65, 255, 0.4);
}

.quota-section .counter-btn:active {
  transform: translateY(0);
  box-shadow: 0 calc(2 / var(--screensize) * 100vw) calc(4 / var(--screensize) * 100vw) rgba(116, 65, 255, 0.3);
}

.quota-section .counter-value {
  font-size: calc(28 / var(--screensize) * 100vw);
  font-weight: bold;
  color: var(--text-white);
  min-width: calc(80 / var(--screensize) * 100vw);
  text-align: center;
  background: var(--overlay-medium);
  padding: calc(10 / var(--screensize) * 100vw) calc(15 / var(--screensize) * 100vw);
  border-radius: calc(8 / var(--screensize) * 100vw);
  border: 1px solid var(--overlay-light);
  text-shadow: 0 calc(2 / var(--screensize) * 100vw) calc(4 / var(--screensize) * 100vw) rgba(0, 0, 0, 0.3);
}

.apply-btn {
  margin-top: calc(30 / var(--screensize) * 100vw);
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-accent) 100%);
  border: 1px solid var(--primary-purple-light);
  box-shadow: 0 calc(4 / var(--screensize) * 100vw) calc(15 / var(--screensize) * 100vw) rgba(116, 65, 255, 0.3);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

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

.apply-btn:hover {
  background: linear-gradient(135deg, var(--primary-purple-accent) 0%, var(--primary-purple) 100%);
  border-color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 calc(6 / var(--screensize) * 100vw) calc(20 / var(--screensize) * 100vw) rgba(116, 65, 255, 0.4);
}

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

.apply-btn:active {
  transform: translateY(0);
  box-shadow: 0 calc(2 / var(--screensize) * 100vw) calc(8 / var(--screensize) * 100vw) rgba(116, 65, 255, 0.3);
}

@media (max-width: 500px) {
  .quota-section {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 10px;
  }

  .quota-section h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .quota-section .counter-controls {
    gap: 15px;
    padding: 12px;
    border-radius: 6px;
  }

  .quota-section .counter-btn {
    width: 46px;
    height: 46px;
    font-size: 20px;
    border-radius: 8px;
  }

  .quota-section .counter-value {
    font-size: 24px;
    min-width: 70px;
    padding: 8px 12px;
    border-radius: 6px;
  }

  .apply-btn {
    margin-top: 20px;
  }
}

/* Notification Error Styles */
.notification-error {
  margin-top: calc(20 / var(--screensize) * 100vw);
  padding: calc(15 / var(--screensize) * 100vw);
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 107, 107, 0.05) 100%);
  border-radius: calc(10 / var(--screensize) * 100vw);
  border: 1px solid rgba(255, 107, 107, 0.3);
  box-shadow: 0 calc(4 / var(--screensize) * 100vw) calc(15 / var(--screensize) * 100vw) rgba(255, 107, 107, 0.2);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.notification-error.show {
  opacity: 1;
  transform: translateY(0);
}

.notification-content {
  display: flex;
  flex-direction: column;
  gap: calc(12 / var(--screensize) * 100vw);
}

.notification-header {
  display: flex;
  align-items: center;
  gap: calc(8 / var(--screensize) * 100vw);
}

.notification-icon {
  flex-shrink: 0;
}

.notification-text {
  flex: 1;
  min-width: 0;
}

.notification-text p {
  color: var(--text-white);
  font-size: calc(14 / var(--screensize) * 100vw);
  margin: 0;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.notification-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: calc(8 / var(--screensize) * 100vw);
}

.notification-btn {
  background: linear-gradient(135deg, #FF6B6B 0%, #FF5252 100%);
  color: var(--text-white);
  border: none;
  border-radius: calc(6 / var(--screensize) * 100vw);
  padding: calc(8 / var(--screensize) * 100vw) calc(16 / var(--screensize) * 100vw);
  font-size: calc(13 / var(--screensize) * 100vw);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 calc(2 / var(--screensize) * 100vw) calc(8 / var(--screensize) * 100vw) rgba(255, 107, 107, 0.3);
  white-space: nowrap;
  flex-shrink: 0;
}

.notification-btn:hover {
  background: linear-gradient(135deg, #FF5252 0%, #FF6B6B 100%);
  transform: translateY(-1px);
  box-shadow: 0 calc(4 / var(--screensize) * 100vw) calc(12 / var(--screensize) * 100vw) rgba(255, 107, 107, 0.4);
}

.notification-btn:active {
  transform: translateY(0);
  box-shadow: 0 calc(2 / var(--screensize) * 100vw) calc(6 / var(--screensize) * 100vw) rgba(255, 107, 107, 0.3);
}

@media (max-width: 500px) {
  .notification-error {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
  }

  .notification-content {
    gap: 10px;
  }

  .notification-header {
    gap: 6px;
  }

  .notification-text p {
    font-size: 13px;
  }

  .notification-actions {
    margin-top: 6px;
  }

  .notification-btn {
    border-radius: 5px;
    padding: 6px 12px;
    font-size: 12px;
  }
}

/* Manage Subscription Popup Specific Styles */
.manage-subscription-popup {
  width: calc(500 / var(--screensize) * 100vw);
  max-width: 500px;
  min-width: 320px;
  box-sizing: border-box;
}

.manage-subscription-popup .notification-error {
  margin-top: calc(20 / var(--screensize) * 100vw);
  padding: calc(15 / var(--screensize) * 100vw);
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 107, 107, 0.05) 100%);
  border-radius: calc(10 / var(--screensize) * 100vw);
  border: 1px solid rgba(255, 107, 107, 0.3);
  box-shadow: 0 calc(4 / var(--screensize) * 100vw) calc(15 / var(--screensize) * 100vw) rgba(255, 107, 107, 0.2);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.manage-subscription-popup .notification-error.show {
  opacity: 1;
  transform: translateY(0);
}

.manage-subscription-popup .notification-content {
  display: flex;
  flex-direction: column;
  gap: calc(12 / var(--screensize) * 100vw);
  width: 100%;
}

.manage-subscription-popup .notification-header {
  display: flex;
  align-items: flex-start;
  gap: calc(8 / var(--screensize) * 100vw);
  width: 100%;
}

.manage-subscription-popup .notification-icon {
  flex-shrink: 0;
  margin-top: calc(2 / var(--screensize) * 100vw);
}

.manage-subscription-popup .notification-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.manage-subscription-popup .notification-text p {
  color: var(--text-white);
  font-size: calc(14 / var(--screensize) * 100vw);
  margin: 0;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.manage-subscription-popup .notification-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: calc(8 / var(--screensize) * 100vw);
  width: 100%;
}

.manage-subscription-popup .notification-btn {
  background: linear-gradient(135deg, #FF6B6B 0%, #FF5252 100%);
  color: var(--text-white);
  border: none;
  border-radius: calc(6 / var(--screensize) * 100vw);
  padding: calc(8 / var(--screensize) * 100vw) calc(16 / var(--screensize) * 100vw);
  font-size: calc(13 / var(--screensize) * 100vw);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 calc(2 / var(--screensize) * 100vw) calc(8 / var(--screensize) * 100vw) rgba(255, 107, 107, 0.3);
  white-space: nowrap;
  flex-shrink: 0;
}

.manage-subscription-popup .notification-btn:hover {
  background: linear-gradient(135deg, #FF5252 0%, #FF6B6B 100%);
  transform: translateY(-1px);
  box-shadow: 0 calc(4 / var(--screensize) * 100vw) calc(12 / var(--screensize) * 100vw) rgba(255, 107, 107, 0.4);
}

.manage-subscription-popup .notification-btn:active {
  transform: translateY(0);
  box-shadow: 0 calc(2 / var(--screensize) * 100vw) calc(6 / var(--screensize) * 100vw) rgba(255, 107, 107, 0.3);
}

@media (max-width: 500px) {
  .manage-subscription-popup {
    width: calc(320 / var(--screensize) * 100vw);
    min-width: 280px;
  }

  .manage-subscription-popup .notification-error {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
  }

  .manage-subscription-popup .notification-content {
    gap: 10px;
  }

  .manage-subscription-popup .notification-header {
    gap: 6px;
  }

  .manage-subscription-popup .notification-text p {
    font-size: 13px;
  }

  .manage-subscription-popup .notification-actions {
    margin-top: 6px;
  }

  .manage-subscription-popup .notification-btn {
    border-radius: 5px;
    padding: 6px 12px;
    font-size: 12px;
  }
}

/* Payment Popup Specific Styles */
.payment-popup {
  width: calc(600 / var(--screensize) * 100vw);
  max-width: 600px;
  min-width: 400px;
  max-height: 90vh;
  overflow-y: auto;
  box-sizing: border-box;
  padding: calc(30 / var(--screensize) * 100vw) calc(40 / var(--screensize) * 100vw) !important;
}

.payment-popup h2 {
  margin-bottom: calc(20 / var(--screensize) * 100vw) !important;
  font-size: calc(20 / var(--screensize) * 100vw) !important;
}

.payment-popup .signin__form__field {
  margin-bottom: calc(12 / var(--screensize) * 100vw) !important;
}

.payment-popup .signin__form__field:last-child {
  margin-bottom: calc(15 / var(--screensize) * 100vw) !important;
}

.payment-popup .tariff-btns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: calc(10 / var(--screensize) * 100vw);
  margin-bottom: calc(15 / var(--screensize) * 100vw);
}

.payment-popup .tariff-btn {
  padding: calc(14 / var(--screensize) * 100vw) calc(12 / var(--screensize) * 100vw);
  font-size: calc(14 / var(--screensize) * 100vw);
  min-height: calc(65 / var(--screensize) * 100vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: calc(6 / var(--screensize) * 100vw);
}

.payment-popup .tariff-btn .price {
  font-size: calc(20 / var(--screensize) * 100vw);
  font-weight: 700;
}

.payment-popup .final-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(15 / var(--screensize) * 100vw);
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-accent) 100%);
  border-radius: calc(8 / var(--screensize) * 100vw);
  margin-top: calc(15 / var(--screensize) * 100vw);
  border: 1px solid var(--primary-purple-light);
  box-shadow: 0 calc(4 / var(--screensize) * 100vw) calc(15 / var(--screensize) * 100vw) rgba(116, 65, 255, 0.3);
}

.payment-popup .final-price span {
  color: var(--text-white);
  font-size: calc(18 / var(--screensize) * 100vw);
  font-weight: 600;
}

.payment-popup .price-amount {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  font-size: calc(24 / var(--screensize) * 100vw);
  font-weight: 700;
}

.payment-popup .bonus-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: calc(10 / var(--screensize) * 100vw);
}

.payment-popup .bonus-line span:first-child {
  color: var(--text-light);
  font-size: calc(16 / var(--screensize) * 100vw);
}

.payment-popup .bonus-line span:last-child {
  color: var(--text-white);
  font-size: calc(14 / var(--screensize) * 100vw);
  background: var(--overlay-medium);
  padding: calc(4 / var(--screensize) * 100vw) calc(12 / var(--screensize) * 100vw);
  border-radius: calc(20 / var(--screensize) * 100vw);
  border: 1px solid var(--overlay-light);
}

@media (max-width: 500px) {
  .payment-popup {
    width: calc(350 / var(--screensize) * 100vw);
    min-width: 300px;
    padding-bottom: 100px; /* Отступ снизу для кнопки, чтобы не перекрывалась виджетом salebot */
    margin-bottom: 0;
  }
  
  .payment-popup form {
    padding-bottom: 20px; /* Дополнительный отступ для формы */
  }
  
  .payment-popup form .basic-btn {
    margin-bottom: 20px; /* Явный отступ снизу для кнопки "Продлить" */
  }

  .payment-popup .tariff-btns {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 15px;
  }

  .payment-popup .tariff-btn {
    padding: 15px 12px;
    font-size: 14px;
    min-height: 60px;
    gap: 6px;
  }

  .payment-popup .tariff-btn .price {
    font-size: 18px;
  }

  .payment-popup .final-price {
    padding: 15px;
    margin-top: 20px;
    border-radius: 8px;
  }

  .payment-popup .final-price span {
    font-size: 16px;
  }

  .payment-popup .price-amount {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    font-size: 20px;
  }

  .payment-popup .bonus-line {
    margin-bottom: 8px;
  }

  .payment-popup .bonus-line span:first-child {
    font-size: 14px;
  }

  .payment-popup .bonus-line span:last-child {
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 15px;
  }

  /* Скрытие виджета salebot при активном popup на мобильных */
  .popup-wrapper.active ~ * .salebot,
  .popup-wrapper.active ~ .salebot,
  body:has(.popup-wrapper.active) .salebot,
  .popup-wrapper.active .salebot {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* Универсальное правило для скрытия salebot при активном popup на всех устройствах */
.popup-wrapper.active ~ * .salebot,
.popup-wrapper.active ~ .salebot,
body:has(.popup-wrapper.active) .salebot {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

/* Скрытие виджета salebot через класс */
.salebot-hidden,
.salebot-hidden iframe,
.salebot-hidden * {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

/* Защита мобильного меню от скрытия через salebot-hidden */
.mob-menu-plate.salebot-hidden,
.mob-menu-plate.salebot-hidden * {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  z-index: 2147483647 !important;
}

.mob-menu-plate.active.salebot-hidden,
.mob-menu-plate.active.salebot-hidden * {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  z-index: 2147483647 !important;
}

/* Payment Buttons Row Mobile Fix */
.payment-buttons-row {
  display: flex;
  gap: calc(15 / var(--screensize) * 100vw);
  flex-wrap: wrap;
}

.payment-buttons-row .basic-btn {
  flex: 1;
  min-width: calc(120 / var(--screensize) * 100vw);
  height: calc(54 / var(--screensize) * 100vw);
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  text-align: center;
}

@media (max-width: 500px) {
  .payment-buttons-row {
    flex-direction: column;
    gap: calc(12 / var(--screensize) * 100vw);
  }

  .payment-buttons-row .basic-btn {
    flex: none;
    width: 100%;
    height: calc(50 / var(--screensize) * 100vw);
    margin-bottom: 0;
    box-sizing: border-box;
  }

  .payment-buttons-row .basic-btn:last-child {
    margin-bottom: 0;
  }
}

/* Additional mobile improvements for main plates */
@media (max-width: 500px) {
  .main-plates__plate {
    padding: calc(20 / var(--screensize) * 100vw);
  }

  .main-plates__plate h2 {
    font-size: calc(18 / var(--screensize) * 100vw);
    margin-bottom: calc(12 / var(--screensize) * 100vw);
  }

  .main-plates__plate p {
    font-size: calc(14 / var(--screensize) * 100vw);
    margin-bottom: calc(20 / var(--screensize) * 100vw);
    line-height: 1.4;
  }
}

/* Общие стили для уведомлений */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    color: white;
    font-weight: 500;
    z-index: 10000;
    max-width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease-out;
}

.notification.success {
    background-color: #4caf50;
}

.notification.error {
    background-color: #f44336;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Orange Theme - Card Styling */
.theme-alternative .main-plates__plate {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-light));
  border: 2px solid var(--svg-primary);
  box-shadow: 
    0 6px 20px rgba(255, 107, 53, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.theme-alternative .main-plates__plate::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--svg-primary), var(--svg-primary-light), var(--svg-primary));
}

.theme-alternative .main-plates__plate:hover {
  border-color: var(--svg-primary-light);
  box-shadow: 
    0 8px 24px rgba(255, 107, 53, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.theme-alternative .main-plates__plate h2 {
  color: var(--text-white);
  background: linear-gradient(135deg, var(--svg-primary), var(--svg-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 0, 0, 0.3);
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
  font-weight: 700;
}

.theme-alternative .main-plates__plate p {
  color: var(--text-light);
  font-weight: 500;
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* Orange Theme - Main Data Items Enhanced */
.theme-alternative .main-data__item {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-medium));
  border: 2px solid var(--svg-primary);
  box-shadow: 
    0 4px 16px rgba(255, 107, 53, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.theme-alternative .main-data__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--svg-primary), var(--svg-primary-light));
}

.theme-alternative .main-data__item:hover {
  border-color: var(--svg-primary-light);
  box-shadow: 
    0 6px 20px rgba(255, 107, 53, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.theme-alternative .main-data__item-text span {
  color: var(--text-light);
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.theme-alternative .main-data__item-text p {
  color: var(--text-white);
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 0, 0, 0.4);
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

/* User Login Item - Alternative Theme */
.theme-alternative .main-data__item--user::before {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.15) 0%, rgba(232, 90, 43, 0.15) 100%);
}

.theme-alternative .main-data__user-icon {
  color: var(--primary-purple-light);
}

/* Orange Theme - Status Indicator Enhanced */
.theme-alternative .status-online {
  background: linear-gradient(135deg, var(--svg-primary), var(--svg-primary-light));
  color: var(--text-white);
  border: 2px solid var(--svg-primary-accent);
  box-shadow: 
    0 4px 12px rgba(255, 107, 53, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-weight: 600;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 0, 0, 0.4);
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

.theme-alternative .status-online::before {
  background-color: var(--text-white);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
  border: 2px solid var(--text-white);
}

/* Orange theme for card icons */
.theme-alternative .main-plates__plate .icon-container {
  background: linear-gradient(135deg, var(--svg-primary), var(--svg-primary-light));
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}


/* Orange theme for all menu elements */
.theme-alternative .menu__list li a {
  color: var(--text-white) !important;
}

.theme-alternative .menu__list li.active a {
  color: var(--svg-primary) !important;
}

/* Orange theme for menu bottom */
.theme-alternative .menu__bottom__install {
  color: var(--text-white) !important;
}


/* Text styling for orange theme */
.theme-alternative .main-plates__plate h2 {
  color: var(--text-light);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.theme-alternative .main-plates__plate .tariff-text {
  color: var(--svg-primary);
  font-weight: 600;
}

.theme-alternative .main-plates__plate .subscription-text {
  color: var(--svg-primary-light);
  font-weight: 600;
}

.theme-alternative .main-plates__plate .bonus-text {
  color: var(--svg-accent);
  font-weight: 600;
}

/* Orange theme for status indicators */
.theme-alternative .status-indicator {
  background: linear-gradient(135deg, var(--svg-primary), var(--svg-primary-light));
  border-radius: 50%;
  width: 12px;
  height: 12px;
  display: inline-block;
  margin-right: 8px;
  box-shadow: 0 2px 4px rgba(255, 107, 53, 0.4);
}

/* Premium styling for special elements */
.theme-alternative .premium-element {
  background: linear-gradient(135deg, var(--svg-primary), var(--svg-accent));
  border-radius: 8px;
  padding: 16px;
  box-shadow: 
    0 4px 12px rgba(255, 107, 53, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Orange theme for form elements */
.theme-alternative .signin__form__field input:focus {
  border-color: var(--svg-primary);
  box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2);
}

.theme-alternative .basic-btn {
  background: linear-gradient(135deg, var(--svg-primary), var(--svg-primary-light));
  border: 1px solid var(--svg-primary-dark);
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.theme-alternative .basic-btn:hover {
  background: linear-gradient(135deg, var(--svg-primary-light), var(--svg-accent));
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

/* Orange Theme - Cloud Icons Specific Styling */
.theme-alternative .cloud-icon-container {
  background: linear-gradient(135deg, var(--svg-primary), var(--svg-primary-light));
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


/* Orange theme for card layouts */
.theme-alternative .card-layout {
  background: var(--bg-card);
  border: 1px solid var(--svg-primary);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 
    0 4px 12px rgba(255, 107, 53, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.theme-alternative .card-layout:hover {
  border-color: var(--svg-primary-light);
  box-shadow: 
    0 6px 16px rgba(255, 107, 53, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Orange theme for text elements */
.theme-alternative .card-title {
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 8px;
}

.theme-alternative .card-value {
  color: var(--svg-primary);
  font-weight: 700;
  font-size: 1.2em;
}

.theme-alternative .card-label {
  color: var(--text-muted);
  font-size: 0.9em;
  margin-bottom: 4px;
}


/* Orange Theme - Payment Popup Enhanced Styling */
.theme-alternative .payment-popup {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-medium) 100%);
  border: 2px solid var(--svg-primary);
  box-shadow: 
    0 8px 32px rgba(255, 107, 53, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.theme-alternative .payment-popup::before {
  background: linear-gradient(90deg, var(--svg-primary) 0%, var(--svg-primary-light) 50%, var(--svg-primary) 100%);
  height: 4px;
}

.theme-alternative .payment-popup h2 {
  color: var(--text-white);
  background: linear-gradient(135deg, var(--svg-primary), var(--svg-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 0, 0, 0.3);
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

.theme-alternative .payment-popup h2::after {
  background: linear-gradient(90deg, var(--svg-primary), var(--svg-primary-light));
  height: 3px;
}

/* Orange Theme - Tariff Buttons Enhanced */
.theme-alternative .payment-popup .tariff-btn {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-medium));
  border: 2px solid var(--ui-border);
  color: var(--text-light);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.theme-alternative .payment-popup .tariff-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
  transition: left 0.5s ease;
}

.theme-alternative .payment-popup .tariff-btn:hover {
  border-color: var(--svg-primary);
  background: linear-gradient(135deg, var(--bg-light), var(--bg-card));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

.theme-alternative .payment-popup .tariff-btn:hover::before {
  left: 100%;
}

.theme-alternative .payment-popup .tariff-btn.selected {
  background: linear-gradient(135deg, var(--svg-primary), var(--svg-primary-light));
  border-color: var(--svg-primary-accent);
  color: var(--text-white);
  box-shadow: 
    0 4px 16px rgba(255, 107, 53, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.theme-alternative .payment-popup .tariff-btn.selected .price {
  color: var(--text-white);
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 0, 0, 0.4);
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

/* Orange Theme - Bonus Section Enhanced */
.theme-alternative .payment-popup .bonus-line {
  background: var(--overlay-muted);
  padding: calc(12 / var(--screensize) * 100vw) calc(16 / var(--screensize) * 100vw);
  border-radius: calc(8 / var(--screensize) * 100vw);
  border: 1px solid var(--overlay-light);
  margin-bottom: calc(15 / var(--screensize) * 100vw);
}

.theme-alternative .payment-popup .bonus-line span:first-child {
  color: var(--text-light);
  font-weight: 600;
}

.theme-alternative .payment-popup .bonus-line span:last-child {
  background: linear-gradient(135deg, var(--svg-primary), var(--svg-primary-light));
  color: var(--text-white);
  padding: calc(6 / var(--screensize) * 100vw) calc(12 / var(--screensize) * 100vw);
  border-radius: calc(20 / var(--screensize) * 100vw);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 0, 0, 0.3);
}

/* Orange Theme - Range Slider Enhanced */
.theme-alternative .payment-popup input[type="range"] {
  background: var(--bg-medium);
  border: 1px solid var(--ui-border);
  border-radius: calc(4 / var(--screensize) * 100vw);
  height: 8px;
}

.theme-alternative .payment-popup input[type="range"]::-webkit-slider-thumb {
  background: linear-gradient(135deg, var(--svg-primary), var(--svg-primary-light));
  border: 2px solid var(--text-white);
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
  width: 20px;
  height: 20px;
}

.theme-alternative .payment-popup input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.6);
}

/* Orange Theme - Final Price Enhanced */
.theme-alternative .payment-popup .final-price {
  background: linear-gradient(135deg, var(--svg-primary), var(--svg-primary-light));
  border: 2px solid var(--svg-primary-accent);
  box-shadow: 
    0 6px 20px rgba(255, 107, 53, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.theme-alternative .payment-popup .final-price::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.8s ease;
}

.theme-alternative .payment-popup .final-price:hover::before {
  left: 100%;
}

.theme-alternative .payment-popup .final-price span {
  color: var(--text-white);
  font-weight: 600;
}

.theme-alternative .payment-popup .price-amount {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  font-size: calc(24 / var(--screensize) * 100vw);
  font-weight: 700;
}

/* Orange Theme - Submit Button Enhanced */
.theme-alternative .payment-popup .basic-btn {
  background: linear-gradient(135deg, var(--svg-primary), var(--svg-primary-light));
  border: 2px solid var(--svg-primary-accent);
  color: var(--text-white);
  box-shadow: 
    0 4px 16px rgba(255, 107, 53, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 0, 0, 0.4);
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

.theme-alternative .payment-popup .basic-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.6s ease;
}

.theme-alternative .payment-popup .basic-btn:hover {
  background: linear-gradient(135deg, var(--svg-primary-light), var(--svg-accent));
  transform: translateY(-2px);
  box-shadow: 
    0 6px 20px rgba(255, 107, 53, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.theme-alternative .payment-popup .basic-btn:hover::before {
  left: 100%;
}

.theme-alternative .payment-popup .basic-btn:active {
  transform: translateY(0);
  box-shadow: 
    0 2px 8px rgba(255, 107, 53, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Orange Theme - Close Button Enhanced */
.theme-alternative .payment-popup .close-popup-btn {
  background: linear-gradient(135deg, var(--overlay-muted), var(--bg-medium));
  border: 2px solid var(--ui-border);
  transition: all 0.3s ease;
}

.theme-alternative .payment-popup .close-popup-btn:hover {
  background: linear-gradient(135deg, var(--overlay-medium), var(--overlay-light));
  border-color: var(--svg-primary);
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}


/* Orange Theme - Form Fields Enhanced */
.theme-alternative .payment-popup .signin__form__field span {
  color: var(--text-light);
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* Orange Theme - Enhanced Text Contrast */
.theme-alternative .payment-popup .signin__form__field input[type="range"] {
  background: var(--bg-medium);
  border: 2px solid var(--ui-border);
  border-radius: calc(4 / var(--screensize) * 100vw);
  height: 8px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.theme-alternative .payment-popup .signin__form__field input[type="range"]::-webkit-slider-track {
  background: var(--bg-medium);
  border-radius: calc(4 / var(--screensize) * 100vw);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.theme-alternative .payment-popup .signin__form__field input[type="range"]::-webkit-slider-thumb {
  background: linear-gradient(135deg, var(--svg-primary), var(--svg-primary-light));
  border: 3px solid var(--bg-dark);
  box-shadow: 
    0 2px 8px rgba(255, 107, 53, 0.4),
    0 0 0 2px var(--bg-dark);
  width: 20px;
  height: 20px;
}

/* Orange Theme - Mobile Responsiveness */
@media (max-width: 500px) {
  .theme-alternative .payment-popup {
    border-width: 1px;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.2);
  }
  
/* Template Popup Styles */
.popup.template-popup {
  max-width: calc(500 / var(--screensize) * 100vw);
  width: calc(500 / var(--screensize) * 100vw);
  min-width: calc(320 / var(--screensize) * 100vw);
}

.template-popup__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: calc(30 / var(--screensize) * 100vw);
}

.template-popup__icon {
  width: calc(64 / var(--screensize) * 100vw);
  height: calc(64 / var(--screensize) * 100vw);
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-accent) 100%);
  border-radius: calc(16 / var(--screensize) * 100vw);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: calc(15 / var(--screensize) * 100vw);
  box-shadow: 0 calc(4 / var(--screensize) * 100vw) calc(12 / var(--screensize) * 100vw) rgba(159, 92, 200, 0.3);
}

.template-popup__icon svg {
  width: calc(32 / var(--screensize) * 100vw);
  height: calc(32 / var(--screensize) * 100vw);
  color: var(--text-white);
}

.template-popup__header h2,
.mass-apply-popup__header h2 {
  display: inline-flex;
  align-items: center;
  gap: calc(8 / var(--screensize) * 100vw);
}

.template-popup__header .info-icon-link,
.mass-apply-popup__header .info-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(20 / var(--screensize) * 100vw);
  height: calc(20 / var(--screensize) * 100vw);
  color: #5A9FD4;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
  text-decoration: none;
}

.template-popup__header .info-icon-link:hover,
.mass-apply-popup__header .info-icon-link:hover {
  opacity: 1;
  transform: scale(1.1);
}

.template-popup__header .info-icon-link svg,
.mass-apply-popup__header .info-icon-link svg {
  width: 100%;
  height: 100%;
}

.template-popup__section {
  margin-bottom: calc(25 / var(--screensize) * 100vw);
}

.template-popup__label {
  display: flex;
  align-items: center;
  gap: calc(8 / var(--screensize) * 100vw);
  color: var(--text-white);
  font-weight: 600;
  margin-bottom: calc(12 / var(--screensize) * 100vw);
}

.template-popup__label svg {
  width: calc(18 / var(--screensize) * 100vw);
  height: calc(18 / var(--screensize) * 100vw);
  color: var(--primary-purple-light);
}

.template-popup__actions {
  display: flex;
  flex-direction: column;
  gap: calc(12 / var(--screensize) * 100vw);
  margin-top: calc(20 / var(--screensize) * 100vw);
}

.template-popup__actions .template-popup__btn {
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}

.template-popup__actions .template-popup__btn:not(:last-child) {
  margin-bottom: calc(12 / var(--screensize) * 100vw) !important;
}

.popup.template-popup button.template-popup__btn,
.template-popup button.template-popup__btn,
#template-popup button.template-popup__btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: calc(10 / var(--screensize) * 100vw) !important;
  padding: calc(14 / var(--screensize) * 100vw) calc(24 / var(--screensize) * 100vw) !important;
  border-radius: calc(12 / var(--screensize) * 100vw) !important;
  border: none !important;
  font-size: calc(16 / var(--screensize) * 100vw) !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
  box-sizing: border-box !important;
  text-align: center !important;
  line-height: normal !important;
}

.popup.template-popup .template-popup__btn svg,
.template-popup .template-popup__btn svg {
  width: calc(18 / var(--screensize) * 100vw);
  height: calc(18 / var(--screensize) * 100vw);
  flex-shrink: 0;
}

.popup.template-popup button.template-popup__btn--primary,
.template-popup button.template-popup__btn--primary,
#template-popup button.template-popup__btn--primary {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-accent) 100%) !important;
  background-color: var(--primary-purple) !important;
  color: var(--text-white) !important;
  box-shadow: 0 calc(4 / var(--screensize) * 100vw) calc(12 / var(--screensize) * 100vw) rgba(159, 92, 200, 0.3) !important;
}

.popup.template-popup button.template-popup__btn--primary:hover,
.template-popup button.template-popup__btn--primary:hover,
#template-popup button.template-popup__btn--primary:hover {
  background: linear-gradient(135deg, var(--primary-purple-accent) 0%, var(--primary-purple) 100%) !important;
  background-color: var(--primary-purple-accent) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 calc(6 / var(--screensize) * 100vw) calc(16 / var(--screensize) * 100vw) rgba(159, 92, 200, 0.4) !important;
  color: var(--text-white) !important;
}

.popup.template-popup button.template-popup__btn--secondary,
.template-popup button.template-popup__btn--secondary,
#template-popup button.template-popup__btn--secondary {
  background: var(--bg-medium) !important;
  background-color: var(--bg-medium) !important;
  color: var(--text-white) !important;
  border: 1px solid var(--overlay-light) !important;
  border-width: 1px !important;
}

.popup.template-popup button.template-popup__btn--secondary:hover,
.template-popup button.template-popup__btn--secondary:hover,
#template-popup button.template-popup__btn--secondary:hover {
  background: var(--overlay-medium) !important;
  background-color: var(--overlay-medium) !important;
  border-color: var(--primary-purple-light) !important;
  color: var(--text-white) !important;
}

.popup.template-popup button.template-popup__btn--danger,
.template-popup button.template-popup__btn--danger,
#template-popup button.template-popup__btn--danger {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
  background-color: #dc3545 !important;
  color: var(--text-white) !important;
  box-shadow: 0 calc(4 / var(--screensize) * 100vw) calc(12 / var(--screensize) * 100vw) rgba(220, 53, 69, 0.3) !important;
}

.popup.template-popup button.template-popup__btn--danger:hover,
.template-popup button.template-popup__btn--danger:hover,
#template-popup button.template-popup__btn--danger:hover {
  background: linear-gradient(135deg, #c82333 0%, #dc3545 100%) !important;
  background-color: #c82333 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 calc(6 / var(--screensize) * 100vw) calc(16 / var(--screensize) * 100vw) rgba(220, 53, 69, 0.4) !important;
  color: var(--text-white) !important;
}

.template-popup__divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--overlay-light) 50%, transparent 100%);
  margin: calc(25 / var(--screensize) * 100vw) 0;
}

.template-popup__create-section {
  margin-top: calc(25 / var(--screensize) * 100vw);
  padding: calc(20 / var(--screensize) * 100vw);
  background: var(--bg-medium);
  border-radius: calc(12 / var(--screensize) * 100vw);
  border: 1px solid var(--overlay-light);
}

.template-popup__form {
  margin-top: 0;
}

.template-popup__form-header {
  display: flex;
  align-items: center;
  gap: calc(10 / var(--screensize) * 100vw);
  color: var(--text-white);
  font-weight: 600;
  margin-bottom: calc(15 / var(--screensize) * 100vw);
  font-size: calc(16 / var(--screensize) * 100vw);
}

.template-popup__form-header svg {
  width: calc(20 / var(--screensize) * 100vw);
  height: calc(20 / var(--screensize) * 100vw);
  color: var(--primary-purple-light);
}

.template-popup__submit {
  margin-top: calc(15 / var(--screensize) * 100vw);
}

/* Mass Apply Popup Styles - Desktop */
.popup.mass-apply-popup {
  max-width: calc(600 / var(--screensize) * 100vw);
  width: calc(600 / var(--screensize) * 100vw);
  min-width: calc(320 / var(--screensize) * 100vw);
  padding: calc(40 / var(--screensize) * 100vw) calc(60 / var(--screensize) * 100vw);
}

/* Заголовок попапа - убираем все стандартные стили */
.popup.mass-apply-popup .mass-apply-popup__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: calc(30 / var(--screensize) * 100vw);
  margin-top: 0;
  padding-top: 0;
}

.popup.mass-apply-popup .mass-apply-popup__header h2 {
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
  font-size: calc(24 / var(--screensize) * 100vw) !important;
  font-weight: 700 !important;
  color: var(--text-white) !important;
  text-shadow: none !important;
  position: relative !important;
}

.popup.mass-apply-popup .mass-apply-popup__header h2::after {
  display: none !important;
  content: none !important;
}

.popup.mass-apply-popup .mass-apply-popup__icon {
  width: calc(64 / var(--screensize) * 100vw);
  height: calc(64 / var(--screensize) * 100vw);
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-accent) 100%);
  border-radius: calc(16 / var(--screensize) * 100vw);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: calc(15 / var(--screensize) * 100vw);
  margin-top: 0;
  box-shadow: 0 calc(4 / var(--screensize) * 100vw) calc(12 / var(--screensize) * 100vw) rgba(159, 92, 200, 0.3);
}

.popup.mass-apply-popup .mass-apply-popup__icon svg {
  width: calc(32 / var(--screensize) * 100vw);
  height: calc(32 / var(--screensize) * 100vw);
  color: var(--text-white);
}

/* Секции формы */
.popup.mass-apply-popup .mass-apply-popup__section {
  margin-bottom: calc(25 / var(--screensize) * 100vw);
  width: 100%;
}

.popup.mass-apply-popup .mass-apply-popup__section:first-of-type {
  margin-top: 0;
}

/* Лейблы */
.popup.mass-apply-popup .mass-apply-popup__label {
  display: flex;
  align-items: center;
  gap: calc(8 / var(--screensize) * 100vw);
  color: var(--text-white);
  font-weight: 600;
  font-size: calc(16 / var(--screensize) * 100vw);
  margin-bottom: calc(12 / var(--screensize) * 100vw);
  width: 100%;
}

.popup.mass-apply-popup .mass-apply-popup__label svg {
  width: calc(18 / var(--screensize) * 100vw);
  height: calc(18 / var(--screensize) * 100vw);
  color: var(--primary-purple-light);
  flex-shrink: 0;
}

/* Разделитель */
.popup.mass-apply-popup .mass-apply-popup__divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--overlay-light) 50%, transparent 100%);
  margin: calc(25 / var(--screensize) * 100vw) 0;
  width: 100%;
  border: none;
}

/* Заголовок секции аккаунтов */
.popup.mass-apply-popup .mass-apply-popup__accounts-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: calc(15 / var(--screensize) * 100vw);
  width: 100%;
  gap: calc(12 / var(--screensize) * 100vw);
}

.popup.mass-apply-popup .mass-apply-popup__accounts-header .mass-apply-popup__label {
  margin-bottom: 0;
  flex: 1;
}

.popup.mass-apply-popup .mass-apply-popup__count {
  display: flex;
  align-items: baseline;
  gap: calc(6 / var(--screensize) * 100vw);
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-accent) 100%);
  padding: calc(8 / var(--screensize) * 100vw) calc(16 / var(--screensize) * 100vw);
  border-radius: calc(20 / var(--screensize) * 100vw);
  box-shadow: 0 calc(2 / var(--screensize) * 100vw) calc(8 / var(--screensize) * 100vw) rgba(159, 92, 200, 0.3);
  flex-shrink: 0;
}

.popup.mass-apply-popup .mass-apply-popup__count-number {
  font-size: calc(18 / var(--screensize) * 100vw);
  font-weight: 700;
  color: var(--text-white);
  line-height: 1;
}

.popup.mass-apply-popup .mass-apply-popup__count-text {
  font-size: calc(14 / var(--screensize) * 100vw);
  font-weight: 500;
  color: var(--text-white);
  opacity: 0.9;
  line-height: 1;
}

/* Поле поиска */
.popup.mass-apply-popup .mass-apply-popup__search {
  margin-bottom: calc(15 / var(--screensize) * 100vw);
  width: 100%;
}

.popup.mass-apply-popup .mass-apply-popup__accounts-actions {
  display: flex !important;
  gap: calc(8 / var(--screensize) * 100vw) !important;
  margin-bottom: calc(12 / var(--screensize) * 100vw) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.popup.mass-apply-popup .mass-apply-popup__action-btn,
.popup.mass-apply-popup button.mass-apply-popup__action-btn,
#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__action-btn,
#mass-apply-template-popup .popup.mass-apply-popup button.mass-apply-popup__action-btn {
  flex: 1 !important;
  padding: calc(8 / var(--screensize) * 100vw) calc(12 / var(--screensize) * 100vw) !important;
  background: var(--bg-medium) !important;
  background-color: var(--bg-medium) !important;
  border: 1px solid var(--overlay-light) !important;
  border-radius: calc(8 / var(--screensize) * 100vw) !important;
  color: var(--text-white) !important;
  font-size: calc(14 / var(--screensize) * 100vw) !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
  display: block !important;
  width: auto !important;
  margin: 0 !important;
}

.popup.mass-apply-popup .mass-apply-popup__action-btn:hover,
.popup.mass-apply-popup button.mass-apply-popup__action-btn:hover,
#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__action-btn:hover,
#mass-apply-template-popup .popup.mass-apply-popup button.mass-apply-popup__action-btn:hover {
  background: var(--overlay-medium) !important;
  background-color: var(--overlay-medium) !important;
  border-color: var(--primary-purple-light) !important;
  color: var(--primary-purple-light) !important;
}

@media (min-width: 501px) {
  .popup.mass-apply-popup .mass-apply-popup__action-btn,
  .popup.mass-apply-popup button.mass-apply-popup__action-btn,
  #mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__action-btn,
  #mass-apply-template-popup .popup.mass-apply-popup button.mass-apply-popup__action-btn,
  #mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__action-btn,
  .popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__action-btn,
  #mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup button.mass-apply-popup__action-btn,
  .popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup button.mass-apply-popup__action-btn {
    flex: 1 !important;
    padding: 8px 12px !important;
    background: var(--bg-medium) !important;
    background-color: var(--bg-medium) !important;
    border: 1px solid var(--overlay-light) !important;
    border-radius: 8px !important;
    color: var(--text-white) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    margin: 0 !important;
    text-align: center !important;
    line-height: 1.4 !important;
  }
  
  .popup.mass-apply-popup .mass-apply-popup__action-btn:hover,
  .popup.mass-apply-popup button.mass-apply-popup__action-btn:hover,
  #mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__action-btn:hover,
  #mass-apply-template-popup .popup.mass-apply-popup button.mass-apply-popup__action-btn:hover,
  #mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__action-btn:hover,
  .popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__action-btn:hover,
  #mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup button.mass-apply-popup__action-btn:hover,
  .popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup button.mass-apply-popup__action-btn:hover {
    background: var(--overlay-medium) !important;
    background-color: var(--overlay-medium) !important;
    border-color: var(--primary-purple-light) !important;
    color: var(--primary-purple-light) !important;
  }
  
  .popup.mass-apply-popup .mass-apply-popup__accounts-actions,
  #mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__accounts-actions,
  .popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__accounts-actions {
    display: flex !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Список аккаунтов */
.popup.mass-apply-popup .mass-apply-popup__accounts-list {
  background: var(--bg-dark) !important;
  border-radius: calc(12 / var(--screensize) * 100vw) !important;
  border: 1px solid var(--overlay-light) !important;
  overflow: hidden !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.popup.mass-apply-popup .mass-apply-popup__accounts-content,
#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__accounts-content {
  height: calc(232 / var(--screensize) * 100vw) !important;
  max-height: calc(232 / var(--screensize) * 100vw) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: calc(10 / var(--screensize) * 100vw) !important;
  box-sizing: border-box !important;
}

/* Фиксированная высота для десктопа - помещается ровно 4 аккаунта, остальное под скролл */
@media (min-width: 501px) {
  .popup.mass-apply-popup .mass-apply-popup__accounts-content,
  #mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__accounts-content {
    height: 232px !important;
    max-height: 232px !important;
  }
}

.popup.mass-apply-popup .mass-apply-popup__accounts-content::-webkit-scrollbar {
  width: calc(6 / var(--screensize) * 100vw);
}

.popup.mass-apply-popup .mass-apply-popup__accounts-content::-webkit-scrollbar-track {
  background: var(--bg-medium);
  border-radius: calc(3 / var(--screensize) * 100vw);
}

.popup.mass-apply-popup .mass-apply-popup__accounts-content::-webkit-scrollbar-thumb {
  background: var(--primary-purple);
  border-radius: calc(3 / var(--screensize) * 100vw);
}

.popup.mass-apply-popup .mass-apply-popup__accounts-content::-webkit-scrollbar-thumb:hover {
  background: var(--primary-purple-accent);
}

.popup.mass-apply-popup .mass-apply-popup__accounts-content .pc__accounts__body__row,
.popup.mass-apply-popup .mass-apply-popup__accounts-content .pc_account.pc__accounts__body__row {
  background: var(--bg-medium) !important;
  border-radius: calc(8 / var(--screensize) * 100vw) !important;
  padding: calc(12 / var(--screensize) * 100vw) calc(16 / var(--screensize) * 100vw) !important;
  margin-bottom: calc(8 / var(--screensize) * 100vw) !important;
  transition: all 0.2s ease !important;
  border: 1px solid transparent !important;
  cursor: pointer !important;
  user-select: none !important;
  overflow: visible !important;
  word-wrap: break-word !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  font-size: calc(16 / var(--screensize) * 100vw) !important;
  font-weight: 500 !important;
  color: var(--text-white) !important;
  width: 100% !important;
}

.popup.mass-apply-popup .mass-apply-popup__accounts-content .pc__accounts__body__row span,
.popup.mass-apply-popup .mass-apply-popup__accounts-content .pc_account.pc__accounts__body__row span {
  display: flex !important;
  align-items: center !important;
  gap: calc(10 / var(--screensize) * 100vw) !important;
  overflow: visible !important;
  text-overflow: unset !important;
  white-space: normal !important;
  max-width: 100% !important;
  flex: 1 !important;
  width: 100% !important;
  color: var(--text-white) !important;
}

.popup.mass-apply-popup .mass-apply-popup__accounts-content .pc__accounts__body__row svg,
.popup.mass-apply-popup .mass-apply-popup__accounts-content .pc_account.pc__accounts__body__row svg {
  width: calc(18 / var(--screensize) * 100vw) !important;
  height: calc(18 / var(--screensize) * 100vw) !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  flex-shrink: 0 !important;
  color: var(--primary-purple-light) !important;
}

.popup.mass-apply-popup .mass-apply-popup__accounts-content .pc__accounts__body__row:hover,
.popup.mass-apply-popup .mass-apply-popup__accounts-content .pc_account.pc__accounts__body__row:hover {
  background: var(--overlay-medium) !important;
  border-color: var(--primary-purple-light) !important;
}

.popup.mass-apply-popup .mass-apply-popup__accounts-content .pc__accounts__body__row.mass-apply-account-selected,
.popup.mass-apply-popup .mass-apply-popup__accounts-content .pc__accounts__body__row[data-selected="true"] {
  background: linear-gradient(135deg, rgba(159, 92, 200, 0.2) 0%, rgba(159, 92, 200, 0.15) 100%) !important;
  background-color: rgba(159, 92, 200, 0.2) !important;
  border-color: var(--primary-purple) !important;
  border-width: 2px !important;
  border-style: solid !important;
  box-shadow: 0 calc(2 / var(--screensize) * 100vw) calc(8 / var(--screensize) * 100vw) rgba(159, 92, 200, 0.2) !important;
}

.popup.mass-apply-popup .mass-apply-popup__accounts-content .pc__accounts__body__row.mass-apply-account-selected:hover,
.popup.mass-apply-popup .mass-apply-popup__accounts-content .pc__accounts__body__row[data-selected="true"]:hover {
  background: linear-gradient(135deg, rgba(159, 92, 200, 0.3) 0%, rgba(159, 92, 200, 0.2) 100%) !important;
  background-color: rgba(159, 92, 200, 0.3) !important;
  border-color: var(--primary-purple-accent) !important;
}

.popup.mass-apply-popup .mass-apply-popup__accounts-content .pc__accounts__body__row:last-child {
  margin-bottom: 0;
}

/* Кнопки действий */
.popup.mass-apply-popup .mass-apply-popup__actions {
  display: flex !important;
  flex-direction: row !important;
  gap: calc(12 / var(--screensize) * 100vw) !important;
  margin-top: calc(25 / var(--screensize) * 100vw) !important;
  margin-bottom: 0 !important;
  width: 100% !important;
}

.popup.mass-apply-popup .mass-apply-popup__actions .mass-apply-popup__btn {
  margin: 0 !important;
  flex: 1 !important;
}

.popup.mass-apply-popup button.mass-apply-popup__btn,
.popup.mass-apply-popup .mass-apply-popup__btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: calc(10 / var(--screensize) * 100vw) !important;
  padding: calc(14 / var(--screensize) * 100vw) calc(24 / var(--screensize) * 100vw) !important;
  border-radius: calc(12 / var(--screensize) * 100vw) !important;
  border: none !important;
  font-size: calc(16 / var(--screensize) * 100vw) !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  text-align: center !important;
  line-height: normal !important;
  font-family: inherit !important;
  white-space: nowrap;
}

.popup.mass-apply-popup button.mass-apply-popup__btn svg,
.popup.mass-apply-popup .mass-apply-popup__btn svg {
  width: calc(18 / var(--screensize) * 100vw) !important;
  height: calc(18 / var(--screensize) * 100vw) !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.popup.mass-apply-popup button.mass-apply-popup__btn--primary,
.popup.mass-apply-popup .mass-apply-popup__btn--primary {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-accent) 100%) !important;
  background-color: var(--primary-purple) !important;
  color: var(--text-white) !important;
  box-shadow: 0 calc(4 / var(--screensize) * 100vw) calc(12 / var(--screensize) * 100vw) rgba(159, 92, 200, 0.3) !important;
}

.popup.mass-apply-popup button.mass-apply-popup__btn--primary:hover,
.popup.mass-apply-popup .mass-apply-popup__btn--primary:hover {
  background: linear-gradient(135deg, var(--primary-purple-accent) 0%, var(--primary-purple) 100%) !important;
  background-color: var(--primary-purple-accent) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 calc(6 / var(--screensize) * 100vw) calc(16 / var(--screensize) * 100vw) rgba(159, 92, 200, 0.4) !important;
  color: var(--text-white) !important;
}

.popup.mass-apply-popup button.mass-apply-popup__btn--secondary,
.popup.mass-apply-popup .mass-apply-popup__btn--secondary {
  background: var(--bg-medium) !important;
  background-color: var(--bg-medium) !important;
  color: var(--text-white) !important;
  border: 1px solid var(--overlay-light) !important;
}

.popup.mass-apply-popup button.mass-apply-popup__btn--secondary:hover,
.popup.mass-apply-popup .mass-apply-popup__btn--secondary:hover {
  background: var(--overlay-medium) !important;
  background-color: var(--overlay-medium) !important;
  border-color: var(--primary-purple-light) !important;
  color: var(--text-white) !important;
}

/* Mobile Responsiveness */
@media (max-width: 500px) {
  .popup-wrapper {
    max-height: 95vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .popup.template-popup,
  .popup.mass-apply-popup {
    max-width: 90vw !important;
    width: 90vw !important;
    min-width: 90vw !important;
    max-height: 90vh !important;
    padding: calc(20 / var(--screensize) * 100vw) calc(16 / var(--screensize) * 100vw);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .template-popup__header,
  .mass-apply-popup__header {
    margin-bottom: calc(20 / var(--screensize) * 100vw);
  }

  .template-popup__icon,
  .mass-apply-popup__icon {
    width: calc(40 / var(--screensize) * 100vw);
    height: calc(40 / var(--screensize) * 100vw);
    margin-bottom: calc(10 / var(--screensize) * 100vw);
  }

  .template-popup__icon svg,
  .mass-apply-popup__icon svg {
    width: calc(20 / var(--screensize) * 100vw);
    height: calc(20 / var(--screensize) * 100vw);
  }

  .popup.template-popup h2,
  .popup.mass-apply-popup h2 {
    font-size: calc(20 / var(--screensize) * 100vw);
    margin-bottom: calc(20 / var(--screensize) * 100vw);
  }

  .template-popup__header .info-icon-link,
  .mass-apply-popup__header .info-icon-link {
    width: calc(18 / var(--screensize) * 100vw);
    height: calc(18 / var(--screensize) * 100vw);
  }

  .template-popup__section,
  .mass-apply-popup__section {
    margin-bottom: calc(18 / var(--screensize) * 100vw);
  }

  .template-popup__label,
  .mass-apply-popup__label {
    font-size: calc(14 / var(--screensize) * 100vw);
    margin-bottom: calc(10 / var(--screensize) * 100vw);
  }

  .template-popup__divider,
  .mass-apply-popup__divider {
    margin: calc(18 / var(--screensize) * 100vw) 0;
  }

  .template-popup__actions,
  .mass-apply-popup__actions {
    flex-direction: column;
    gap: calc(10 / var(--screensize) * 100vw);
    margin-top: calc(20 / var(--screensize) * 100vw);
  }

  .template-popup__btn,
  .mass-apply-popup__btn {
    padding: calc(12 / var(--screensize) * 100vw) calc(20 / var(--screensize) * 100vw);
    font-size: calc(15 / var(--screensize) * 100vw);
  }

  .template-popup__create-section {
    margin-top: calc(18 / var(--screensize) * 100vw);
    padding: calc(16 / var(--screensize) * 100vw);
    border-radius: calc(10 / var(--screensize) * 100vw);
  }

  .template-popup__form {
    margin-top: 0;
  }

  .template-popup__form-header {
    font-size: calc(14 / var(--screensize) * 100vw);
    margin-bottom: calc(12 / var(--screensize) * 100vw);
  }

  .popup.mass-apply-popup .mass-apply-popup__header {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: calc(10 / var(--screensize) * 100vw) !important;
    margin-bottom: calc(20 / var(--screensize) * 100vw) !important;
  }

  .popup.mass-apply-popup .mass-apply-popup__header h2 {
    text-align: center !important;
    margin-bottom: 0 !important;
    font-size: calc(20 / var(--screensize) * 100vw) !important;
  }

  .popup.mass-apply-popup .mass-apply-popup__icon {
    display: flex !important;
    width: calc(40 / var(--screensize) * 100vw) !important;
    height: calc(40 / var(--screensize) * 100vw) !important;
    margin-bottom: calc(10 / var(--screensize) * 100vw) !important;
  }

  .popup.mass-apply-popup .mass-apply-popup__icon svg {
    display: block !important;
    width: calc(20 / var(--screensize) * 100vw) !important;
    height: calc(20 / var(--screensize) * 100vw) !important;
  }

  .popup.mass-apply-popup .mass-apply-popup__accounts-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: calc(8 / var(--screensize) * 100vw) !important;
    margin-bottom: calc(12 / var(--screensize) * 100vw) !important;
  }

  .popup.mass-apply-popup .mass-apply-popup__count {
    align-self: flex-end !important;
    padding: calc(6 / var(--screensize) * 100vw) calc(12 / var(--screensize) * 100vw) !important;
  }

  .popup.mass-apply-popup .mass-apply-popup__count-number {
    font-size: calc(16 / var(--screensize) * 100vw) !important;
  }

  .popup.mass-apply-popup .mass-apply-popup__count-text {
    font-size: calc(12 / var(--screensize) * 100vw) !important;
  }

  .popup.mass-apply-popup .mass-apply-popup__search {
    margin-bottom: calc(12 / var(--screensize) * 100vw) !important;
  }

  .popup.mass-apply-popup .mass-apply-popup__accounts-content,
  #mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__accounts-content {
    max-height: calc(232 / var(--screensize) * 100vw) !important;
    height: calc(232 / var(--screensize) * 100vw) !important;
    overflow-x: hidden;
  }

  .popup.mass-apply-popup .mass-apply-popup__accounts-content .pc__accounts__body__row {
    padding: calc(10 / var(--screensize) * 100vw) calc(12 / var(--screensize) * 100vw) !important;
    margin-bottom: calc(6 / var(--screensize) * 100vw) !important;
    font-size: calc(14 / var(--screensize) * 100vw) !important;
  }
}

  .theme-alternative .payment-popup .tariff-btn {
    padding: calc(15 / var(--screensize) * 100vw) calc(12 / var(--screensize) * 100vw);
    font-size: calc(14 / var(--screensize) * 100vw);
  }
  
  .theme-alternative .payment-popup .final-price {
    padding: calc(15 / var(--screensize) * 100vw);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
  }
  
  .theme-alternative .payment-popup .basic-btn {
    box-shadow: 0 3px 12px rgba(255, 107, 53, 0.3);
  }
}


/* Orange theme for interactive elements - без фильтров */
.theme-alternative .interactive-icon {
  filter: none !important;
  transition: all 0.3s ease;
}

.theme-alternative .interactive-icon:hover {
  filter: none !important;
  transform: scale(1.05);
  opacity: 0.9;
}

/* Orange theme for status icons - без фильтров */
.theme-alternative .status-icon-online {
  filter: none !important;
}

.theme-alternative .status-icon-offline {
  filter: none !important;
}

.theme-alternative .status-icon-error {
  filter: none !important;
}

/* Orange glow effects */
.theme-alternative .orange-glow {
  box-shadow: 0 0 20px var(--orange-glow);
}

.theme-alternative .orange-glow:hover {
  box-shadow: 0 0 30px var(--orange-highlight);
}

/* Orange theme for all interactive elements */
.theme-alternative button:hover,
.theme-alternative .basic-btn:hover,
.theme-alternative .action-btn:hover {
  box-shadow: 0 4px 12px var(--orange-shadow);
}

/* Orange theme for form elements */
.theme-alternative input:focus,
.theme-alternative select:focus,
.theme-alternative textarea:focus {
  border-color: var(--svg-primary);
  box-shadow: 0 0 0 2px var(--orange-glow);
}

/* Orange theme for cards and containers */
.theme-alternative .card,
.theme-alternative .container,
.theme-alternative .plate {
  border: 1px solid var(--svg-primary);
  box-shadow: 0 2px 8px var(--orange-shadow);
}

.theme-alternative .card:hover,
.theme-alternative .container:hover,
.theme-alternative .plate:hover {
  border-color: var(--svg-primary-light);
  box-shadow: 0 4px 12px var(--orange-glow);
}


/* Стили для единственного тарифа - только для альтернативной темы */
.theme-alternative .single-rate-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: calc(100vh - 150px);
  padding: 1rem;
  margin-top: 0;
}

.theme-alternative .single-rate-card {
  background: var(--bg-card);
  border: 2px solid var(--primary-purple);
  border-radius: 20px;
  padding: 2rem;
  max-width: 450px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 40px var(--overlay-shadow-dark);
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

.theme-alternative .single-rate-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-purple), var(--primary-purple-accent));
}

.theme-alternative .single-rate-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.theme-alternative .rate-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 8px 16px var(--overlay-focus);
}

.theme-alternative .rate-icon img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
}

.theme-alternative .rate-title h2 {
  color: var(--text-white);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.theme-alternative .rate-description {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.9;
}

.theme-alternative .rate-price-section {
  margin: 1.5rem 0;
  padding: 1rem;
  background: var(--overlay-muted);
  border-radius: 12px;
  border: 1px solid var(--ui-border);
}

.theme-alternative .price-main {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.theme-alternative .price-amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-purple);
  line-height: 1;
}

.theme-alternative .price-currency {
  font-size: 1rem;
  color: var(--text-light);
  margin-left: 0.5rem;
}

.theme-alternative .price-alternative {
  text-align: center;
}

.theme-alternative .price-usd {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.theme-alternative .rate-features {
  margin: 1.5rem 0;
  text-align: left;
}

.theme-alternative .feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.8rem;
  padding: 0.3rem 0;
}

.theme-alternative .feature-item svg {
  margin-right: 0.8rem;
  flex-shrink: 0;
}

.theme-alternative .feature-item span {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.3;
}

.theme-alternative .single-rate-btn {
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-accent));
  color: var(--text-white);
  border: none;
  border-radius: 10px;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 16px var(--overlay-focus);
  width: 100%;
  margin-top: 1rem;
}

.theme-alternative .single-rate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--overlay-focus-strong);
  background: linear-gradient(135deg, var(--primary-purple-accent), var(--primary-purple));
}

.theme-alternative .single-rate-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px var(--overlay-focus);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .theme-alternative .single-rate-container {
    padding: 0.5rem;
    min-height: calc(100vh - 100px);
    margin-top: 0;
  }
  
  .theme-alternative .single-rate-card {
    padding: 1.5rem 1rem;
    max-width: 100%;
  }
  
  .theme-alternative .rate-title h2 {
    font-size: 1.3rem;
  }
  
  .theme-alternative .price-amount {
    font-size: 1.8rem;
  }
  
  .theme-alternative .single-rate-btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .theme-alternative .feature-item span {
    font-size: 0.85rem;
  }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
  .theme-alternative .single-rate-container {
    min-height: calc(100vh - 80px);
  }
  
  .theme-alternative .single-rate-card {
    padding: 1rem;
  }
  
  .theme-alternative .rate-icon {
    width: 50px;
    height: 50px;
  }
  
  .theme-alternative .rate-icon img {
    width: 25px;
    height: 25px;
  }
  
  .theme-alternative .rate-title h2 {
    font-size: 1.2rem;
  }
  
  .theme-alternative .price-amount {
    font-size: 1.6rem;
  }
}


/* Banners Styles */
.banners-container {
  margin-bottom: calc(30 / var(--screensize) * 100vw);
  display: flex;
  flex-direction: column;
  gap: calc(15 / var(--screensize) * 100vw);
  position: relative;
  z-index: 2147483647;
  transform: translateZ(0);
  will-change: transform;
}

.banner {
  position: relative;
  padding: calc(20 / var(--screensize) * 100vw) calc(25 / var(--screensize) * 100vw);
  border-radius: calc(12 / var(--screensize) * 100vw);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: calc(15 / var(--screensize) * 100vw);
  box-shadow: 0 calc(4 / var(--screensize) * 100vw) calc(12 / var(--screensize) * 100vw) rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  animation: slideInBanner 0.3s ease-out;
  z-index: 2147483647;
}

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

.banner-content {
  display: flex;
  align-items: flex-start;
  gap: calc(15 / var(--screensize) * 100vw);
  flex: 1;
}

.banner-icon {
  flex-shrink: 0;
  width: calc(32 / var(--screensize) * 100vw);
  height: calc(32 / var(--screensize) * 100vw);
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-text {
  flex: 1;
  min-width: 0;
}

.banner-title {
  margin: 0 0 calc(8 / var(--screensize) * 100vw) 0;
  font-size: calc(18 / var(--screensize) * 100vw);
  font-weight: 600;
  line-height: 1.3;
}

.banner-message {
  margin: 0;
  font-size: calc(14 / var(--screensize) * 100vw);
  line-height: 1.5;
  word-wrap: break-word;
}

.banner-close {
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: calc(5 / var(--screensize) * 100vw);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.banner-close:hover {
  opacity: 1;
}

/* Emergency Banner (Авария) */
.banner-emergency {
  background: linear-gradient(135deg, rgba(255, 59, 48, 0.15) 0%, rgba(255, 59, 48, 0.1) 100%);
  border: 1px solid rgba(255, 59, 48, 0.4);
}

.banner-emergency .banner-icon {
  color: #FF3B30;
}

.banner-emergency .banner-title,
.banner-emergency .banner-message {
  color: var(--text-white);
}

.banner-emergency .banner-close {
  color: var(--text-white);
}

/* Warning Banner (Внимание) */
.banner-warning {
  background: linear-gradient(135deg, rgba(255, 149, 0, 0.15) 0%, rgba(255, 149, 0, 0.1) 100%);
  border: 1px solid rgba(255, 149, 0, 0.4);
}

.banner-warning .banner-icon {
  color: #FF9500;
}

.banner-warning .banner-title,
.banner-warning .banner-message {
  color: var(--text-white);
}

.banner-warning .banner-close {
  color: var(--text-white);
}

/* Offer Banner (Предложение) */
.banner-offer {
  background: linear-gradient(135deg, rgba(52, 199, 89, 0.15) 0%, rgba(52, 199, 89, 0.1) 100%);
  border: 1px solid rgba(52, 199, 89, 0.4);
}

.banner-offer .banner-icon {
  color: #34C759;
}

.banner-offer .banner-title,
.banner-offer .banner-message {
  color: var(--text-white);
}

.banner-offer .banner-close {
  color: var(--text-white);
}

/* Responsive */
@media (max-width: 768px) {
  .banner {
    padding: calc(15 / var(--screensize) * 100vw) calc(20 / var(--screensize) * 100vw);
  }
  
  .banner-content {
    gap: calc(12 / var(--screensize) * 100vw);
  }
  
  .banner-icon {
    width: calc(28 / var(--screensize) * 100vw);
    height: calc(28 / var(--screensize) * 100vw);
  }
  
  .banner-title {
    font-size: calc(16 / var(--screensize) * 100vw);
  }
  
  .banner-message {
    font-size: calc(13 / var(--screensize) * 100vw);
  }
}

/* Resource order styles */
.resource-order-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.resource-order-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.resource-order-label {
  min-width: 25px;
  font-weight: 500;
  color: #ffffff;
}

/* Новогодняя акция - стили */
.new-year-promo {
  background: linear-gradient(to right, #6d28d9 0%, #7c3aed 25%, #8b5cf6 50%, #7c3aed 75%, #6d28d9 100%);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 8px 32px rgba(99, 102, 241, 0.4),
    0 0 20px rgba(124, 58, 237, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.new-year-promo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 60% 50%, rgba(255, 255, 255, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
  background-size: 
    calc(50 / var(--screensize) * 100vw) calc(50 / var(--screensize) * 100vw),
    calc(60 / var(--screensize) * 100vw) calc(60 / var(--screensize) * 100vw),
    calc(40 / var(--screensize) * 100vw) calc(40 / var(--screensize) * 100vw),
    calc(55 / var(--screensize) * 100vw) calc(55 / var(--screensize) * 100vw),
    calc(45 / var(--screensize) * 100vw) calc(45 / var(--screensize) * 100vw);
  background-position: 
    0% 0%, 50% 50%, 100% 100%, 30% 70%, 80% 30%;
  animation: particlesFloat 15s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes particlesFloat {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.3;
  }
  50% {
    transform: translateY(calc(-10 / var(--screensize) * 100vw));
    opacity: 0.5;
  }
}

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

.new-year-snowflakes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.snowflake {
  position: absolute;
  color: rgba(255, 255, 255, 0.9);
  font-size: calc(20 / var(--screensize) * 100vw);
  animation: snowfall linear infinite;
  text-shadow: 0 0 8px rgba(147, 197, 253, 0.8);
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.6));
}

.snowflake:nth-child(1) {
  left: 10%;
  animation-duration: 8s;
  animation-delay: 0s;
  font-size: calc(16 / var(--screensize) * 100vw);
}

.snowflake:nth-child(2) {
  left: 30%;
  animation-duration: 10s;
  animation-delay: 1s;
  font-size: calc(18 / var(--screensize) * 100vw);
}

.snowflake:nth-child(3) {
  left: 50%;
  animation-duration: 12s;
  animation-delay: 2s;
  font-size: calc(20 / var(--screensize) * 100vw);
}

.snowflake:nth-child(4) {
  left: 70%;
  animation-duration: 9s;
  animation-delay: 0.5s;
  font-size: calc(16 / var(--screensize) * 100vw);
}

.snowflake:nth-child(5) {
  left: 85%;
  animation-duration: 11s;
  animation-delay: 1.5s;
  font-size: calc(18 / var(--screensize) * 100vw);
}

.snowflake:nth-child(6) {
  left: 20%;
  animation-duration: 13s;
  animation-delay: 2.5s;
  font-size: calc(20 / var(--screensize) * 100vw);
}

@keyframes snowfall {
  0% {
    transform: translateY(-100px) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(400px) rotate(360deg);
    opacity: 0;
  }
}

.new-year-title {
  color: #ffffff !important;
  text-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(255, 255, 255, 0.2);
  font-weight: 700 !important;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: calc(10 / var(--screensize) * 100vw);
}

.new-year-icon {
  font-size: calc(32 / var(--screensize) * 100vw);
  animation: iconBounce 2s ease-in-out infinite;
  display: inline-block;
}

@keyframes iconBounce {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-5px) rotate(-5deg);
  }
  75% {
    transform: translateY(-5px) rotate(5deg);
  }
}

.new-year-text {
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
  line-height: 1.6 !important;
}

.new-year-text strong {
  color: #ffffff;
  text-shadow: 
    0 2px 6px rgba(0, 0, 0, 0.4),
    0 0 10px rgba(255, 255, 255, 0.3);
}

.new-year-btn {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
  box-shadow: 
    0 4px 16px rgba(139, 92, 246, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease !important;
  backdrop-filter: blur(4px);
  padding: calc(17 / var(--screensize) * 100vw) calc(35 / var(--screensize) * 100vw) !important;
}

.new-year-btn:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  border-color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 
    0 6px 20px rgba(139, 92, 246, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

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

.new-year-decor {
  opacity: 0.4;
  z-index: 1;
  animation: snowflakeRotate 8s linear infinite;
}

.new-year-decor path {
  stroke: rgba(255, 255, 255, 0.4);
}

.new-year-decor circle {
  fill: rgba(255, 255, 255, 0.5);
}

@keyframes snowflakeRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Адаптивность для новогоднего блока */
@media (max-width: 768px) {
  .new-year-promo {
    width: 100% !important;
    margin-right: 0 !important;
    margin-bottom: calc(20 / var(--screensize) * 100vw);
  }
  
  .new-year-title {
    font-size: calc(24 / var(--screensize) * 100vw) !important;
  }
  
  .new-year-icon {
    font-size: calc(28 / var(--screensize) * 100vw);
  }
  
  .new-year-text {
    font-size: calc(16 / var(--screensize) * 100vw) !important;
  }
}

/* Стили для новогоднего блока с классом plate-2 */
.new-year-promo.main-plates__plate-2 {
  width: calc(650 / var(--screensize) * 100vw);
}

.new-year-promo.main-plates__plate-2 .new-year-text {
  max-width: calc(500 / var(--screensize) * 100vw);
}

/* Стили для страницы блога */
.blog-container {
  max-width: calc(900 / var(--screensize) * 100vw);
  margin: 0 auto;
  padding: 0 calc(20 / var(--screensize) * 100vw);
}

.blog-post {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-card) 100%);
  border-radius: calc(16 / var(--screensize) * 100vw);
  padding: calc(30 / var(--screensize) * 100vw);
  margin-bottom: calc(30 / var(--screensize) * 100vw);
  box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--overlay-light);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.blog-post::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: calc(4 / var(--screensize) * 100vw);
  background: linear-gradient(90deg, var(--primary-purple) 0%, var(--primary-purple-accent) 100%);
  opacity: 1;
}

.blog-post:hover {
  transform: translateY(calc(-4 / var(--screensize) * 100vw));
  box-shadow: 0px 12px 40px rgba(116, 65, 255, 0.2);
  border-color: var(--primary-purple);
}

.blog-post-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: calc(20 / var(--screensize) * 100vw);
  flex-wrap: wrap;
  gap: calc(15 / var(--screensize) * 100vw);
}

.blog-post-title {
  font-size: calc(28 / var(--screensize) * 100vw);
  font-weight: 700;
  color: var(--text-white);
  margin: 0;
  line-height: 1.3;
  flex: 1;
  min-width: calc(200 / var(--screensize) * 100vw);
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blog-post-date {
  font-size: calc(14 / var(--screensize) * 100vw);
  color: var(--text-light);
  opacity: 0.8;
  white-space: nowrap;
  padding: calc(8 / var(--screensize) * 100vw) calc(15 / var(--screensize) * 100vw);
  background: var(--overlay-muted);
  border-radius: calc(8 / var(--screensize) * 100vw);
  border: 1px solid var(--overlay-light);
}

.blog-post-content {
  font-size: calc(16 / var(--screensize) * 100vw);
  line-height: 1.8;
  color: var(--text-light);
}

.blog-post-content p {
  margin: 0 0 calc(16 / var(--screensize) * 100vw) 0;
}

.blog-post-content p:last-child {
  margin-bottom: 0;
}

.blog-post-content ul {
  margin: calc(16 / var(--screensize) * 100vw) 0;
  padding-left: calc(30 / var(--screensize) * 100vw);
}

.blog-post-content li {
  margin-bottom: calc(10 / var(--screensize) * 100vw);
}

.blog-post-content strong {
  color: var(--text-white);
  font-weight: 600;
}

.blog-telegram-link {
  display: inline-flex;
  align-items: center;
  gap: calc(10 / var(--screensize) * 100vw);
  margin-top: calc(20 / var(--screensize) * 100vw);
  padding: calc(12 / var(--screensize) * 100vw) calc(20 / var(--screensize) * 100vw);
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-accent) 100%);
  color: var(--text-white);
  text-decoration: none;
  border-radius: calc(10 / var(--screensize) * 100vw);
  font-size: calc(16 / var(--screensize) * 100vw);
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0px 4px 15px rgba(116, 65, 255, 0.3);
}

.blog-telegram-link:hover {
  transform: translateY(calc(-2 / var(--screensize) * 100vw));
  box-shadow: 0px 6px 20px rgba(116, 65, 255, 0.4);
}

.blog-telegram-link svg {
  width: calc(24 / var(--screensize) * 100vw);
  height: calc(24 / var(--screensize) * 100vw);
  flex-shrink: 0;
}

.theme-alternative .blog-post {
  border-color: var(--ui-border);
}

.theme-alternative .blog-post:hover {
  border-color: var(--primary-purple);
  box-shadow: 0px 12px 40px rgba(255, 107, 53, 0.2);
}

.theme-alternative .blog-post-title {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 768px) {
  .blog-container {
    padding: 0 calc(15 / var(--screensize) * 100vw);
  }
  
  .blog-post {
    padding: calc(20 / var(--screensize) * 100vw);
    margin-bottom: calc(20 / var(--screensize) * 100vw);
  }
  
  .blog-post-title {
    font-size: calc(22 / var(--screensize) * 100vw);
  }
  
  .blog-post-date {
    font-size: calc(12 / var(--screensize) * 100vw);
  }
  
  .blog-post-content {
    font-size: calc(14 / var(--screensize) * 100vw);
  }
  
  .blog-post-header {
    flex-direction: column;
  }
}

/* Критичные стили для кнопок шаблонов - должны быть в конце для максимальной специфичности */
#template-popup.popup-wrapper .popup.template-popup button.template-popup__btn,
.popup-wrapper#template-popup .popup.template-popup button.template-popup__btn {
  all: unset;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: calc(10 / var(--screensize) * 100vw) !important;
  padding: calc(14 / var(--screensize) * 100vw) calc(24 / var(--screensize) * 100vw) !important;
  border-radius: calc(12 / var(--screensize) * 100vw) !important;
  border: none !important;
  font-size: calc(16 / var(--screensize) * 100vw) !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  text-align: center !important;
  line-height: normal !important;
  font-family: inherit !important;
}

#template-popup.popup-wrapper .popup.template-popup button.template-popup__btn--primary,
.popup-wrapper#template-popup .popup.template-popup button.template-popup__btn--primary {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-accent) 100%) !important;
  background-color: var(--primary-purple) !important;
  color: var(--text-white) !important;
  box-shadow: 0 calc(4 / var(--screensize) * 100vw) calc(12 / var(--screensize) * 100vw) rgba(159, 92, 200, 0.3) !important;
}

#template-popup.popup-wrapper .popup.template-popup button.template-popup__btn--primary:hover,
.popup-wrapper#template-popup .popup.template-popup button.template-popup__btn--primary:hover {
  background: linear-gradient(135deg, var(--primary-purple-accent) 0%, var(--primary-purple) 100%) !important;
  background-color: var(--primary-purple-accent) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 calc(6 / var(--screensize) * 100vw) calc(16 / var(--screensize) * 100vw) rgba(159, 92, 200, 0.4) !important;
  color: var(--text-white) !important;
}

#template-popup.popup-wrapper .popup.template-popup button.template-popup__btn--secondary,
.popup-wrapper#template-popup .popup.template-popup button.template-popup__btn--secondary {
  background: var(--bg-medium) !important;
  background-color: var(--bg-medium) !important;
  color: var(--text-white) !important;
  border: 1px solid var(--overlay-light) !important;
  border-width: 1px !important;
}

#template-popup.popup-wrapper .popup.template-popup button.template-popup__btn--secondary:hover,
.popup-wrapper#template-popup .popup.template-popup button.template-popup__btn--secondary:hover {
  background: var(--overlay-medium) !important;
  background-color: var(--overlay-medium) !important;
  border-color: var(--primary-purple-light) !important;
  color: var(--text-white) !important;
}

#template-popup.popup-wrapper .popup.template-popup button.template-popup__btn--danger,
.popup-wrapper#template-popup .popup.template-popup button.template-popup__btn--danger {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
  background-color: #dc3545 !important;
  color: var(--text-white) !important;
  box-shadow: 0 calc(4 / var(--screensize) * 100vw) calc(12 / var(--screensize) * 100vw) rgba(220, 53, 69, 0.3) !important;
}

#template-popup.popup-wrapper .popup.template-popup button.template-popup__btn--danger:hover,
.popup-wrapper#template-popup .popup.template-popup button.template-popup__btn--danger:hover {
  background: linear-gradient(135deg, #c82333 0%, #dc3545 100%) !important;
  background-color: #c82333 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 calc(6 / var(--screensize) * 100vw) calc(16 / var(--screensize) * 100vw) rgba(220, 53, 69, 0.4) !important;
  color: var(--text-white) !important;
}

#template-popup.popup-wrapper .popup.template-popup button.template-popup__btn svg,
.popup-wrapper#template-popup .popup.template-popup button.template-popup__btn svg {
  width: calc(18 / var(--screensize) * 100vw) !important;
  height: calc(18 / var(--screensize) * 100vw) !important;
  flex-shrink: 0 !important;
  display: block !important;
}

/* Исправление отступов между кнопками в template-popup */
#template-popup.popup-wrapper .popup.template-popup .template-popup__actions button.template-popup__btn,
.popup-wrapper#template-popup .popup.template-popup .template-popup__actions button.template-popup__btn {
  margin-bottom: calc(12 / var(--screensize) * 100vw) !important;
}

#template-popup.popup-wrapper .popup.template-popup .template-popup__actions button.template-popup__btn:last-child,
.popup-wrapper#template-popup .popup.template-popup .template-popup__actions button.template-popup__btn:last-child {
  margin-bottom: 0 !important;
}

/* КРИТИЧНЫЕ СТИЛИ ДЛЯ МАССОВОГО ПРИМЕНЕНИЯ - МАКСИМАЛЬНАЯ СПЕЦИФИЧНОСТЬ */
/* Заголовок - убираем все стандартные стили попапа */
#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__header,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__header {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: calc(30 / var(--screensize) * 100vw) !important;
  margin-top: 0 !important;
  padding: 0 !important;
}

#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__header h2,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__header h2,
#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup h2,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup h2 {
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
  font-size: calc(24 / var(--screensize) * 100vw) !important;
  font-weight: 700 !important;
  color: var(--text-white) !important;
  text-shadow: none !important;
  position: relative !important;
  line-height: 1.2 !important;
}

#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__header h2::after,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__header h2::after,
#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup h2::after,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup h2::after {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
}

#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__icon,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__icon {
  width: calc(64 / var(--screensize) * 100vw) !important;
  height: calc(64 / var(--screensize) * 100vw) !important;
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-accent) 100%) !important;
  border-radius: calc(16 / var(--screensize) * 100vw) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: calc(15 / var(--screensize) * 100vw) !important;
  margin-top: 0 !important;
  box-shadow: 0 calc(4 / var(--screensize) * 100vw) calc(12 / var(--screensize) * 100vw) rgba(159, 92, 200, 0.3) !important;
}

#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__icon svg,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__icon svg {
  width: calc(32 / var(--screensize) * 100vw) !important;
  height: calc(32 / var(--screensize) * 100vw) !important;
  color: var(--text-white) !important;
}

/* Секции */
#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__section,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__section {
  margin-bottom: calc(25 / var(--screensize) * 100vw) !important;
  width: 100% !important;
}

/* Лейблы */
#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__label,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__label {
  display: flex !important;
  align-items: center !important;
  gap: calc(8 / var(--screensize) * 100vw) !important;
  color: var(--text-white) !important;
  font-weight: 600 !important;
  font-size: calc(16 / var(--screensize) * 100vw) !important;
  margin-bottom: calc(12 / var(--screensize) * 100vw) !important;
  width: 100% !important;
}

/* Заголовок секции аккаунтов */
#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__accounts-header,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__accounts-header {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: calc(15 / var(--screensize) * 100vw) !important;
  width: 100% !important;
  gap: calc(12 / var(--screensize) * 100vw) !important;
}

/* Критичные стили для кнопок массового применения - должны быть в конце для максимальной специфичности */
#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__actions,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__actions {
  display: flex !important;
  flex-direction: row !important;
  gap: calc(12 / var(--screensize) * 100vw) !important;
  width: 100% !important;
  margin-top: calc(25 / var(--screensize) * 100vw) !important;
}

#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup button.mass-apply-popup__btn,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup button.mass-apply-popup__btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: calc(10 / var(--screensize) * 100vw) !important;
  padding: calc(14 / var(--screensize) * 100vw) calc(24 / var(--screensize) * 100vw) !important;
  border-radius: calc(12 / var(--screensize) * 100vw) !important;
  border: none !important;
  font-size: calc(16 / var(--screensize) * 100vw) !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  flex: 1 !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  text-align: center !important;
  line-height: normal !important;
  font-family: inherit !important;
}

#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup button.mass-apply-popup__btn--primary,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup button.mass-apply-popup__btn--primary {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-accent) 100%) !important;
  background-color: var(--primary-purple) !important;
  color: var(--text-white) !important;
  box-shadow: 0 calc(4 / var(--screensize) * 100vw) calc(12 / var(--screensize) * 100vw) rgba(159, 92, 200, 0.3) !important;
}

#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup button.mass-apply-popup__btn--primary:hover,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup button.mass-apply-popup__btn--primary:hover {
  background: linear-gradient(135deg, var(--primary-purple-accent) 0%, var(--primary-purple) 100%) !important;
  background-color: var(--primary-purple-accent) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 calc(6 / var(--screensize) * 100vw) calc(16 / var(--screensize) * 100vw) rgba(159, 92, 200, 0.4) !important;
  color: var(--text-white) !important;
}

#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup button.mass-apply-popup__btn--secondary,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup button.mass-apply-popup__btn--secondary {
  background: var(--bg-medium) !important;
  background-color: var(--bg-medium) !important;
  color: var(--text-white) !important;
  border: 1px solid var(--overlay-light) !important;
  border-width: 1px !important;
}

#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup button.mass-apply-popup__btn--secondary:hover,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup button.mass-apply-popup__btn--secondary:hover {
  background: var(--overlay-medium) !important;
  background-color: var(--overlay-medium) !important;
  border-color: var(--primary-purple-light) !important;
  color: var(--text-white) !important;
}

#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup button.mass-apply-popup__btn svg,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup button.mass-apply-popup__btn svg {
  width: calc(18 / var(--screensize) * 100vw) !important;
  height: calc(18 / var(--screensize) * 100vw) !important;
  flex-shrink: 0 !important;
  display: block !important;
}
    align-items: flex-start;
  }
  
  .blog-telegram-link {
    font-size: calc(14 / var(--screensize) * 100vw);
    padding: calc(10 / var(--screensize) * 100vw) calc(16 / var(--screensize) * 100vw);
    gap: calc(8 / var(--screensize) * 100vw);
    margin-top: calc(15 / var(--screensize) * 100vw);
  }
  
  .blog-telegram-link svg {
    width: calc(20 / var(--screensize) * 100vw);
    height: calc(20 / var(--screensize) * 100vw);
  }
}

/* ФИНАЛЬНЫЕ КРИТИЧНЫЕ СТИЛИ ДЛЯ МАССОВОГО ПРИМЕНЕНИЯ - МАКСИМАЛЬНАЯ СПЕЦИФИЧНОСТЬ */
/* Эти стили должны быть последними и перекрывать все остальные */
#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__header h2::after,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__header h2::after,
#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup h2::after,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup h2::after {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
}

#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__header,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__header {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: calc(30 / var(--screensize) * 100vw) !important;
  margin-top: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__header h2,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__header h2 {
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
  font-size: calc(24 / var(--screensize) * 100vw) !important;
  font-weight: 700 !important;
  color: var(--text-white) !important;
  text-shadow: none !important;
  position: relative !important;
  line-height: 1.2 !important;
  border: none !important;
  background: none !important;
}

#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__icon,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__icon {
  width: calc(64 / var(--screensize) * 100vw) !important;
  height: calc(64 / var(--screensize) * 100vw) !important;
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-accent) 100%) !important;
  border-radius: calc(16 / var(--screensize) * 100vw) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: calc(15 / var(--screensize) * 100vw) !important;
  margin-top: 0 !important;
  box-shadow: 0 calc(4 / var(--screensize) * 100vw) calc(12 / var(--screensize) * 100vw) rgba(159, 92, 200, 0.3) !important;
}

#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__accounts-header,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__accounts-header {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: calc(15 / var(--screensize) * 100vw) !important;
  width: 100% !important;
  gap: calc(12 / var(--screensize) * 100vw) !important;
}

#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__accounts-header .mass-apply-popup__label,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__accounts-header .mass-apply-popup__label {
  margin-bottom: 0 !important;
  flex: 1 !important;
}

#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__count,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__count {
  flex-shrink: 0 !important;
}

#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__section,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__section {
  width: 100% !important;
}

#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__divider,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__divider {
  width: 100% !important;
  margin: calc(25 / var(--screensize) * 100vw) 0 !important;
}

/* ФИНАЛЬНЫЕ СТИЛИ ДЛЯ ЭЛЕМЕНТОВ СПИСКА АККАУНТОВ - МАКСИМАЛЬНАЯ СПЕЦИФИЧНОСТЬ */
#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__accounts-content .pc__accounts__body__row,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__accounts-content .pc__accounts__body__row,
#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__accounts-content .pc_account,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__accounts-content .pc_account {
  background: var(--bg-medium) !important;
  border-radius: calc(8 / var(--screensize) * 100vw) !important;
  padding: calc(12 / var(--screensize) * 100vw) calc(16 / var(--screensize) * 100vw) !important;
  margin-bottom: calc(8 / var(--screensize) * 100vw) !important;
  transition: all 0.2s ease !important;
  border: 1px solid transparent !important;
  cursor: pointer !important;
  user-select: none !important;
  overflow: visible !important;
  word-wrap: break-word !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  font-size: calc(16 / var(--screensize) * 100vw) !important;
  font-weight: 500 !important;
  color: var(--text-white) !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-top: 0 !important;
}

#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__accounts-content .pc__accounts__body__row span,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__accounts-content .pc__accounts__body__row span,
#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__accounts-content .pc_account span,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__accounts-content .pc_account span {
  display: flex !important;
  align-items: center !important;
  gap: calc(10 / var(--screensize) * 100vw) !important;
  overflow: visible !important;
  text-overflow: unset !important;
  white-space: normal !important;
  max-width: 100% !important;
  flex: 1 !important;
  width: 100% !important;
  color: var(--text-white) !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  font-size: calc(16 / var(--screensize) * 100vw) !important;
  font-weight: 500 !important;
}

#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__accounts-content .pc__accounts__body__row svg,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__accounts-content .pc__accounts__body__row svg,
#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__accounts-content .pc_account svg,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__accounts-content .pc_account svg {
  width: calc(18 / var(--screensize) * 100vw) !important;
  height: calc(18 / var(--screensize) * 100vw) !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  flex-shrink: 0 !important;
  color: var(--primary-purple-light) !important;
  display: block !important;
}

#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__accounts-content .pc__accounts__body__row:hover,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__accounts-content .pc__accounts__body__row:hover,
#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__accounts-content .pc_account:hover,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__accounts-content .pc_account:hover {
  background: var(--overlay-medium) !important;
  border-color: var(--primary-purple-light) !important;
  border-width: 1px !important;
}

#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__accounts-content .pc__accounts__body__row.mass-apply-account-selected,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__accounts-content .pc__accounts__body__row.mass-apply-account-selected,
#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__accounts-content .pc__accounts__body__row[data-selected="true"],
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__accounts-content .pc__accounts__body__row[data-selected="true"],
#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__accounts-content .pc_account.mass-apply-account-selected,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__accounts-content .pc_account.mass-apply-account-selected,
#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__accounts-content .pc_account[data-selected="true"],
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__accounts-content .pc_account[data-selected="true"] {
  background: linear-gradient(135deg, rgba(159, 92, 200, 0.2) 0%, rgba(159, 92, 200, 0.15) 100%) !important;
  background-color: rgba(159, 92, 200, 0.2) !important;
  border-color: var(--primary-purple) !important;
  border-width: 2px !important;
  border-style: solid !important;
  box-shadow: 0 calc(2 / var(--screensize) * 100vw) calc(8 / var(--screensize) * 100vw) rgba(159, 92, 200, 0.2) !important;
}

#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__accounts-content .pc__accounts__body__row.mass-apply-account-selected:hover,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__accounts-content .pc__accounts__body__row.mass-apply-account-selected:hover,
#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__accounts-content .pc__accounts__body__row[data-selected="true"]:hover,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__accounts-content .pc__accounts__body__row[data-selected="true"]:hover,
#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__accounts-content .pc_account.mass-apply-account-selected:hover,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__accounts-content .pc_account.mass-apply-account-selected:hover,
#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__accounts-content .pc_account[data-selected="true"]:hover,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__accounts-content .pc_account[data-selected="true"]:hover {
  background: linear-gradient(135deg, rgba(159, 92, 200, 0.3) 0%, rgba(159, 92, 200, 0.2) 100%) !important;
  background-color: rgba(159, 92, 200, 0.3) !important;
  border-color: var(--primary-purple-accent) !important;
}

/* ФИНАЛЬНЫЕ СТИЛИ ДЛЯ КОНТЕЙНЕРА СПИСКА АККАУНТОВ - РАМКА И СКРОЛЛ */
#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__accounts-list,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__accounts-list {
  background: var(--bg-dark) !important;
  border-radius: calc(12 / var(--screensize) * 100vw) !important;
  border: 1px solid var(--overlay-light) !important;
  overflow: hidden !important;
  width: 100% !important;
  box-sizing: border-box !important;
  display: block !important;
}

#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__accounts-content,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__accounts-content {
  max-height: calc(232 / var(--screensize) * 100vw) !important;
  height: calc(232 / var(--screensize) * 100vw) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: calc(10 / var(--screensize) * 100vw) !important;
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
}

/* Фиксированная высота для десктопа - помещается ровно 4 аккаунта */
@media (min-width: 501px) {
  #mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__accounts-content,
  .popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__accounts-content {
    max-height: 232px !important;
    height: 232px !important;
  }
  
  /* Максимальная специфичность для кнопок действий на ПК */
  #mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__accounts-actions .mass-apply-popup__action-btn,
  .popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__accounts-actions .mass-apply-popup__action-btn,
  #mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__accounts-actions button.mass-apply-popup__action-btn,
  .popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__accounts-actions button.mass-apply-popup__action-btn {
    flex: 1 !important;
    padding: 8px 12px !important;
    background: var(--bg-medium) !important;
    background-color: var(--bg-medium) !important;
    border: 1px solid var(--overlay-light) !important;
    border-radius: 8px !important;
    color: var(--text-white) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    margin: 0 !important;
    text-align: center !important;
    line-height: 1.4 !important;
  }
  
  #mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__accounts-actions .mass-apply-popup__action-btn:hover,
  .popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__accounts-actions .mass-apply-popup__action-btn:hover,
  #mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__accounts-actions button.mass-apply-popup__action-btn:hover,
  .popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__accounts-actions button.mass-apply-popup__action-btn:hover {
    background: var(--overlay-medium) !important;
    background-color: var(--overlay-medium) !important;
    border-color: var(--primary-purple-light) !important;
    color: var(--primary-purple-light) !important;
  }
}

#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__accounts-content::-webkit-scrollbar,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__accounts-content::-webkit-scrollbar {
  width: calc(6 / var(--screensize) * 100vw) !important;
  display: block !important;
}

#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__accounts-content::-webkit-scrollbar-track,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__accounts-content::-webkit-scrollbar-track {
  background: var(--bg-medium) !important;
  border-radius: calc(3 / var(--screensize) * 100vw) !important;
}

#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__accounts-content::-webkit-scrollbar-thumb,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__accounts-content::-webkit-scrollbar-thumb {
  background: var(--primary-purple) !important;
  border-radius: calc(3 / var(--screensize) * 100vw) !important;
}

#mass-apply-template-popup.popup-wrapper .popup.mass-apply-popup .mass-apply-popup__accounts-content::-webkit-scrollbar-thumb:hover,
.popup-wrapper#mass-apply-template-popup .popup.mass-apply-popup .mass-apply-popup__accounts-content::-webkit-scrollbar-thumb:hover {
  background: var(--primary-purple-accent) !important;
}

