@import url("https://fonts.googleapis.com/css2?family=Exo+2:wght@500..700&display=swap");

/* Color Variables */
:root {
  --screensize: 1920;
  
  /* Primary Colors */
  --primary-purple: #7441FF;
  --primary-purple-dark: #8c00ff;
  --primary-purple-light: #B296FF;
  --primary-purple-accent: #AB77FF;
  
  /* Background Colors */
  --bg-dark: #191A2B;
  --bg-medium: #252742;
  --bg-light: #2D2C51;
  --bg-card: #232245;
  --bg-overlay: #02030A;
  
  /* Text Colors */
  --text-white: #fff;
  --text-light: #BAAEE0;
  --text-muted: #ccc;
  --text-gray: #333;
  
  /* Status Colors */
  --status-online: #33FF00;
  --status-offline: #FF2F00;
  --status-error: #FF0000;
  
  /* UI Colors */
  --ui-border: #6f6f6f;
  --ui-hover: #865bd7;
  --ui-disabled: #eee;
  --ui-focus: #ff5623;
  
  /* Form Colors */
  --form-bg: #2d234f;
  --form-border: #4c3e75;
  --form-focus: #a084f5;
  --form-gradient: #5a4fcf;
  
  /* Overlay Colors */
  --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);
}

.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) 0;
  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;
}

.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__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-plates {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  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 {
  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__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);
}

.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 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 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: 10;
  transition: .2s ease;
}

.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);
  }

  .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;
    background-color: var(--bg-dark);
    z-index: 10;
    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;
  }

  .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);
  }

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

  .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-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 h2 {
    font-size: calc(22 / var(--screensize) * 100vw);
  }

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

  .popup {
    padding: calc(20 / var(--screensize) * 100vw);
    width: calc(320 / var(--screensize) * 100vw);
  }

  .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: 1;
}

.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;
}

.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;
  box-sizing: border-box;
}

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

.payment-popup .tariff-btn {
  padding: calc(20 / var(--screensize) * 100vw) calc(15 / var(--screensize) * 100vw);
  font-size: calc(16 / var(--screensize) * 100vw);
  min-height: calc(80 / var(--screensize) * 100vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: calc(8 / 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(20 / var(--screensize) * 100vw);
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-accent) 100%);
  border-radius: calc(10 / var(--screensize) * 100vw);
  margin-top: calc(25 / 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: var(--text-white);
  font-size: calc(24 / 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);
}

.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;
  }

  .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 {
    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;
  }
}

/* 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;
    }
}
