:root {
  --bg: #07070f;
  --bg-2: #0e0e1c;
  --bg-3: #141428;
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --accent: #7c5cfc;
  --accent-2: #a78bfa;
  --accent-glow: rgba(124, 92, 252, 0.35);
  --green: #22d3a5;
  --red: #f87171;
  --text: #e8e8f0;
  --text-2: #9898b8;
  --text-3: #7e7e9e;
  --radius: 16rem;
  --radius-sm: 10rem;
  --shadow: 0 8rem 32rem rgba(0, 0, 0, 0.5);
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 1px;
  scroll-behavior: smooth;
}

@media screen and (min-width: 801px) and (max-width: 1440px) {
  html {
    font-size: 0.0694444444vw;
  }
}
@media screen and (max-width: 390px) {
  html {
    font-size: 0.2564102564vw;
  }
}
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 1440rem;
  margin: 0 auto;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 20% 20%, rgba(124, 92, 252, 0.12) 0%, transparent 70%), radial-gradient(ellipse 50% 40% at 80% 80%, rgba(34, 211, 165, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

@media screen and (max-width: 800px) {
  body {
    max-width: 390rem;
  }
}
.container {
  max-width: 1000rem;
  margin: 0 auto;
  padding: 0 20rem;
  position: relative;
  z-index: 1;
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(124, 92, 252, 0.45) rgba(255, 255, 255, 0.04);
}

::-webkit-scrollbar {
  width: 4rem;
  height: 4rem;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb {
  background: rgba(124, 92, 252, 0.45);
  border-radius: 999px;
  transition: background 0.2s;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(124, 92, 252, 0.75);
}

::-webkit-scrollbar-corner {
  background: transparent;
}

.glass-card {
  background: var(--glass-bg);
  border: 1rem solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(20rem);
}

.glass-surface {
  background: rgba(255, 255, 255, 0.03);
  border: 1rem solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 7, 15, 0.85);
  backdrop-filter: blur(20rem);
  -webkit-backdrop-filter: blur(20rem);
  border-bottom: 1rem solid var(--glass-border);
  padding: 14rem 0;
}

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

.header__right {
  display: flex;
  align-items: center;
  gap: 12rem;
}

/* ---- LOGO ---- */
.logo {
  display: flex;
  align-items: center;
  gap: 8rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 18rem;
  letter-spacing: -0.3rem;
}

.logo__icon {
  color: var(--accent);
  font-size: 21rem;
  animation: pulse-icon 3s ease-in-out infinite;
}

.logo__icon-img {
  height: 32rem;
  width: 32rem;
  border-radius: 8rem;
  object-fit: cover;
  animation: pulse-icon 3s ease-in-out infinite;
}

.logo__img {
  height: 30rem;
  width: 30rem;
  object-fit: contain;
  mix-blend-mode: screen;
  flex-shrink: 0;
}

.logo__img--sm {
  height: 24rem;
  width: 24rem;
  object-fit: contain;
  mix-blend-mode: screen;
  flex-shrink: 0;
}

@keyframes pulse-icon {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(0.9);
  }
}
/* ---- USAGE BADGE ---- */
.usage-badge {
  display: flex;
  align-items: center;
  gap: 6rem;
  padding: 5rem 12rem;
  background: rgba(34, 211, 165, 0.08);
  border: 1rem solid rgba(34, 211, 165, 0.2);
  border-radius: 20rem;
  font-size: 13rem;
  font-weight: 500;
  color: var(--green);
}

.usage-badge__dot {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: var(--green);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
.usage-badge--warn {
  color: #fb923c;
  border-color: rgba(251, 146, 60, 0.2);
  background: rgba(251, 146, 60, 0.08);
}
.usage-badge--warn .usage-badge__dot {
  background: #fb923c;
}

.usage-badge--empty {
  color: var(--red);
  border-color: rgba(248, 113, 113, 0.2);
  background: rgba(248, 113, 113, 0.08);
}
.usage-badge--empty .usage-badge__dot {
  background: var(--red);
}

/* ---- SUBSCRIPTION BADGE (sub-pill + tooltip) ---- */
.sub-badge-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4rem;
  text-decoration: none;
  cursor: pointer;
}
.sub-badge-wrap:hover .sub-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-pill {
  display: inline-flex;
  align-items: center;
  gap: 4rem;
  padding: 4rem 10rem;
  border-radius: 20rem;
  font-size: 12rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.sub-pill--current {
  background: rgba(34, 211, 165, 0.1);
  border: 1rem solid rgba(34, 211, 165, 0.25);
  color: var(--green);
}
.sub-pill--pending {
  background: rgba(251, 146, 60, 0.08);
  border: 1rem solid rgba(251, 146, 60, 0.2);
  color: #fb923c;
  animation: blink 2s ease-in-out infinite;
}

/* ---- SUB TOOLTIP ---- */
.sub-tooltip {
  position: absolute;
  top: calc(100% + 8rem);
  right: 0;
  min-width: 240rem;
  max-width: 320rem;
  background: rgba(14, 14, 28, 0.97);
  border: 1rem solid var(--glass-border);
  border-radius: 12rem;
  padding: 14rem 16rem;
  box-shadow: 0 8rem 32rem rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16rem);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4rem);
  transition: opacity 0.18s, visibility 0.18s, transform 0.18s;
}
.sub-tooltip__row {
  display: flex;
  align-items: flex-start;
  gap: 8rem;
  font-size: 12rem;
  color: var(--text-2);
  line-height: 1.5;
}
.sub-tooltip__row + .sub-tooltip__row {
  margin-top: 10rem;
}
.sub-tooltip__row--pending {
  padding-top: 10rem;
  border-top: 1rem solid var(--glass-border);
  margin-top: 10rem;
  color: #fb923c;
}
.sub-tooltip__num {
  font-size: 13rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}
.sub-tooltip__text {
  flex: 1;
}
.sub-tooltip__warning {
  margin-top: 10rem;
  padding-top: 10rem;
  border-top: 1rem solid var(--glass-border);
  font-size: 11rem;
  color: var(--text-3);
  line-height: 1.5;
}

/* ---- LANG SWITCHER ---- */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1rem solid var(--glass-border);
  border-radius: 8rem;
  padding: 3rem;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-3);
  font-family: inherit;
  font-size: 12rem;
  font-weight: 700;
  letter-spacing: 0.5rem;
  padding: 4rem 9rem;
  border-radius: 5rem;
  cursor: pointer;
  transition: var(--transition);
}
.lang-btn:hover {
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.05);
}
.lang-btn--active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2rem 8rem var(--accent-glow);
}

/* ---- USER CONTROLS ---- */
.user-email-link {
  display: inline-flex;
  align-items: center;
  gap: 6rem;
  font-size: 13rem;
  font-weight: 600;
  color: var(--accent-2);
  text-decoration: none;
  padding: 6rem 12rem;
  border: 1rem solid rgba(124, 92, 252, 0.3);
  border-radius: 8rem;
  max-width: 180rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: var(--transition);
}
.user-email-link:hover {
  background: rgba(124, 92, 252, 0.1);
  border-color: var(--accent);
}

.btn-logout {
  background: none;
  border: none;
  color: var(--text-3);
  font-size: 13rem;
  cursor: pointer;
  padding: 4rem 6rem;
  border-radius: 6rem;
  transition: var(--transition);
  font-family: inherit;
}
.btn-logout:hover {
  color: var(--red);
  background: rgba(248, 113, 113, 0.08);
}

/* ---- SUBSCRIPTION BADGE ---- */
.sub-badge-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5rem;
  text-decoration: none;
  cursor: pointer;
}

.sub-pill {
  display: inline-flex;
  align-items: center;
  padding: 4rem 11rem;
  border-radius: 20rem;
  font-size: 12rem;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.1rem;
  transition: opacity 0.15s;
}
.sub-pill--current {
  background: rgba(124, 92, 252, 0.1);
  border: 1rem solid rgba(124, 92, 252, 0.28);
  color: var(--accent-2, #a78bfa);
}
.sub-pill--pending {
  background: rgba(251, 191, 36, 0.08);
  border: 1rem solid rgba(251, 191, 36, 0.28);
  color: #fbbf24;
  animation: sub-pending-pulse 2.2s ease-in-out infinite;
}

.sub-badge-wrap:hover .sub-pill {
  opacity: 0.85;
}

@keyframes sub-pending-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}
.sub-tooltip {
  position: absolute;
  top: calc(100% + 10rem);
  right: 0;
  z-index: 500;
  width: 310rem;
  padding: 14rem 16rem;
  background: rgba(18, 18, 30, 0.97);
  border: 1rem solid rgba(124, 92, 252, 0.25);
  border-radius: 12rem;
  box-shadow: 0 8rem 32rem rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12rem);
  -webkit-backdrop-filter: blur(12rem);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4rem);
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.sub-tooltip::before {
  content: "";
  position: absolute;
  top: -6rem;
  right: 18rem;
  width: 10rem;
  height: 10rem;
  background: rgba(18, 18, 30, 0.97);
  border-left: 1rem solid rgba(124, 92, 252, 0.25);
  border-top: 1rem solid rgba(124, 92, 252, 0.25);
  transform: rotate(45deg);
  border-radius: 2rem 0 0 0;
  transition: border-color 0.22s ease;
}
.sub-tooltip__row {
  display: flex;
  gap: 7rem;
  align-items: flex-start;
  font-size: 12rem;
  line-height: 1.5;
  color: rgba(232, 232, 240, 0.85);
}
.sub-tooltip__row + .sub-tooltip__row {
  margin-top: 9rem;
  padding-top: 9rem;
  border-top: 1rem solid rgba(255, 255, 255, 0.06);
}
.sub-tooltip__row--pending {
  color: rgba(251, 191, 36, 0.9);
}
.sub-tooltip__num {
  font-weight: 700;
  flex-shrink: 0;
  font-size: 12rem;
}
.sub-tooltip__text {
  color: rgba(200, 200, 220, 0.8);
}
.sub-tooltip__text strong {
  color: rgb(232, 232, 240);
  font-weight: 600;
}
.sub-tooltip__warning {
  margin-top: 10rem;
  padding: 8rem 10rem;
  background: rgba(251, 191, 36, 0.07);
  border: 1rem solid rgba(251, 191, 36, 0.2);
  border-radius: 8rem;
  font-size: 12rem;
  line-height: 1.55;
  color: rgba(251, 191, 36, 0.85);
}

.sub-badge-wrap:hover .sub-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  border-color: rgba(124, 92, 252, 0.5);
  box-shadow: 0 8rem 32rem rgba(0, 0, 0, 0.6), 0 0 0 1rem rgba(124, 92, 252, 0.15), 0 0 24rem rgba(124, 92, 252, 0.25), 0 0 48rem rgba(124, 92, 252, 0.12);
}
.sub-badge-wrap:hover .sub-tooltip::before {
  border-color: rgba(124, 92, 252, 0.5);
}

/* ---- MOBILE ---- */
@media screen and (max-width: 800px) {
  .header {
    padding: 10rem 0;
  }

  .header__inner {
    flex-wrap: wrap;
    gap: 8rem;
  }

  .header__right {
    flex-wrap: wrap;
    gap: 6rem;
    min-width: 0;
    flex: 1;
    justify-content: flex-end;
  }

  .user-email-link {
    max-width: 110rem;
    font-size: 12rem;
    padding: 5rem 8rem;
  }

  .sub-tooltip {
    width: 310rem;
    right: auto;
    left: 50%;
    transform: translateX(-50%) translateY(-4rem);
  }

  .sub-badge-wrap:hover .sub-tooltip {
    transform: translateX(-50%) translateY(0);
  }

  .logo {
    font-size: 15rem;
    gap: 6rem;
  }

  .logo__icon-img {
    height: 26rem;
    width: 26rem;
  }

  #btn-tariffs,
.btn-logout {
    display: none;
  }
}
.footer {
  border-top: 1rem solid var(--glass-border);
  padding: 32rem 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12rem;
}
.footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8rem;
  margin-left: auto;
  text-align: right;
}
.footer__info {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 6rem;
  justify-content: flex-end;
}
.footer__copy {
  font-size: 13rem;
  color: var(--text-3);
}
.footer__sep {
  color: var(--text-3);
  opacity: 0.5;
}
.footer__legal {
  font-size: 12rem;
  color: var(--text-3);
  opacity: 0.65;
}
.footer__links {
  display: flex;
  gap: 16rem;
  flex-wrap: wrap;
}
.footer__link {
  background: none;
  border: none;
  padding: 0;
  font-size: 13rem;
  color: var(--text-3);
  cursor: pointer;
  text-decoration: underline dashed;
  text-underline-offset: 4rem;
  transition: color var(--transition);
  font-family: inherit;
}
.footer__link:hover {
  color: var(--text-2);
}
.footer__link--contacts {
  color: var(--accent-2);
  text-decoration-color: rgba(167, 139, 250, 0.4);
}
.footer__link--contacts:hover {
  color: var(--accent);
}

.contacts-info {
  margin-top: 20rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contacts-info__section {
  display: flex;
  flex-direction: column;
  gap: 10rem;
}
.contacts-info__divider {
  height: 1rem;
  background: var(--glass-border);
  margin: 16rem 0;
}
.contacts-info__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12rem;
  font-size: 14rem;
}
.contacts-info__label {
  color: var(--text-3);
  font-size: 13rem;
  white-space: nowrap;
}
.contacts-info__val {
  color: var(--text);
  font-weight: 600;
  text-align: right;
}
.contacts-info__link {
  display: flex;
  align-items: center;
  gap: 10rem;
  padding: 10rem 14rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1rem solid var(--glass-border);
  border-radius: 10rem;
  color: var(--text-2);
  font-size: 14rem;
  text-decoration: none;
  transition: var(--transition);
}
.contacts-info__link:hover {
  background: rgba(124, 92, 252, 0.08);
  border-color: rgba(124, 92, 252, 0.3);
  color: var(--text);
}
.contacts-info__icon {
  font-size: 18rem;
  flex-shrink: 0;
}

@media screen and (max-width: 800px) {
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8rem;
  padding: 10rem 20rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn--outline {
  background: transparent;
  color: var(--accent-2);
  border: 1rem solid rgba(124, 92, 252, 0.35);
}
.btn--outline:hover {
  background: rgba(124, 92, 252, 0.1);
  border-color: var(--accent);
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent), #6d4ce6);
  color: #fff;
  border: none;
  box-shadow: 0 4rem 16rem var(--accent-glow);
}
.btn--primary:hover {
  transform: translateY(-1rem);
  box-shadow: 0 6rem 24rem var(--accent-glow);
}
.btn--sm {
  padding: 7rem 14rem;
  font-size: 13rem;
}
.btn--full {
  width: 100%;
  justify-content: center;
}

.user-email-link {
  display: inline-flex;
  align-items: center;
  gap: 6rem;
  font-size: 13rem;
  font-weight: 600;
  color: var(--accent-2);
  text-decoration: none;
  padding: 6rem 12rem;
  border: 1rem solid rgba(124, 92, 252, 0.3);
  border-radius: 8rem;
  max-width: 180rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: var(--transition);
}
.user-email-link:hover {
  background: rgba(124, 92, 252, 0.1);
  border-color: var(--accent);
}

.btn-logout {
  background: none;
  border: none;
  color: var(--text-3);
  font-size: 13rem;
  cursor: pointer;
  padding: 4rem 6rem;
  border-radius: 6rem;
  transition: var(--transition);
  font-family: inherit;
}
.btn-logout:hover {
  color: var(--red);
  background: rgba(248, 113, 113, 0.08);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}
.field label {
  font-size: 13rem;
  color: var(--text-2);
  font-weight: 500;
}

.input {
  background: rgba(255, 255, 255, 0.05);
  border: 1rem solid var(--glass-border);
  border-radius: 8rem;
  padding: 10rem 14rem;
  color: var(--text);
  font-family: inherit;
  font-size: 15rem;
  transition: var(--transition);
  outline: none;
  width: 100%;
}
.input:focus {
  border-color: var(--accent);
  background: rgba(124, 92, 252, 0.06);
}
.input::placeholder {
  color: var(--text-3);
}

textarea.input {
  resize: vertical;
  min-height: 100rem;
  line-height: 1.6;
}

select.input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237e7e9e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12rem center;
  padding-right: 32rem;
}

.field-error {
  font-size: 12rem;
  color: var(--red);
  margin-top: 4rem;
}

.form-row {
  display: flex;
  gap: 12rem;
  flex-wrap: wrap;
  align-items: flex-end;
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 7, 15, 0.85);
  backdrop-filter: blur(8rem);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20rem;
}
.modal-overlay.is-open {
  display: flex;
}

.modal {
  max-width: 500rem;
  width: 100%;
  padding: 36rem 32rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1rem solid rgba(255, 255, 255, 0.08);
  border-radius: 16rem;
  backdrop-filter: blur(20rem);
  position: relative;
}
.modal__close {
  position: absolute;
  top: 14rem;
  right: 14rem;
  background: none;
  border: none;
  color: var(--text-3);
  font-size: 18rem;
  cursor: pointer;
  padding: 4rem 8rem;
  border-radius: 6rem;
  transition: var(--transition);
}
.modal__close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}
.modal__icon {
  font-size: 32rem;
  margin-bottom: 10rem;
  text-align: center;
}
.modal__title {
  font-size: 19rem;
  font-weight: 700;
  margin-bottom: 16rem;
  text-align: center;
}
.modal__text {
  scrollbar-width: thin;
  scrollbar-color: rgba(124, 92, 252, 0.45) rgba(255, 255, 255, 0.04);
}
.modal__text p,
.modal__text li {
  font-size: 16rem;
  color: var(--text-3);
}
.modal__text li {
  margin-left: 20rem;
}
.modal__text h3 {
  font-size: 18rem;
  color: var(--text-3);
}

.auth-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 7, 15, 0.85);
  backdrop-filter: blur(8rem);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 20rem;
}
.auth-overlay.is-open {
  display: flex;
}

.auth-modal {
  width: 100%;
  max-width: 420rem;
  padding: 36rem 32rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1rem solid rgba(255, 255, 255, 0.08);
  border-radius: 16rem;
  backdrop-filter: blur(20rem);
  position: relative;
}
.auth-modal__close {
  position: absolute;
  top: 14rem;
  right: 14rem;
  background: none;
  border: none;
  color: var(--text-3);
  font-size: 18rem;
  cursor: pointer;
  padding: 4rem 8rem;
  border-radius: 6rem;
  transition: var(--transition);
  font-family: inherit;
}
.auth-modal__close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}
.auth-modal__icon {
  font-size: 32rem;
  text-align: center;
  margin-bottom: 8rem;
}
.auth-modal__title {
  font-size: 21rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24rem;
}

.auth-form {
  display: none;
  flex-direction: column;
  gap: 16rem;
}
.auth-form--active {
  display: flex;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}
.auth-field label {
  font-size: 13rem;
  color: var(--text-2);
  font-weight: 500;
}

.auth-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1rem solid var(--glass-border);
  border-radius: 8rem;
  padding: 10rem 14rem;
  color: var(--text);
  font-family: inherit;
  font-size: 15rem;
  transition: var(--transition);
  outline: none;
}
.auth-input:focus {
  border-color: var(--accent);
  background: rgba(124, 92, 252, 0.06);
}

.auth-links {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8rem;
  margin-top: 4rem;
}

.auth-link {
  background: none;
  border: none;
  padding: 0;
  font-size: 13rem;
  color: var(--text-3);
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
}
.auth-link:hover {
  color: var(--accent-2);
}
.auth-link span {
  color: var(--accent-2);
  font-weight: 600;
}

.auth-error {
  display: none;
  padding: 10rem 14rem;
  background: rgba(248, 113, 113, 0.1);
  border: 1rem solid rgba(248, 113, 113, 0.25);
  border-radius: 8rem;
  font-size: 14rem;
  color: #fca5a5;
}
.auth-error.is-visible {
  display: block;
}
.auth-error--success {
  background: rgba(34, 211, 165, 0.1);
  border-color: rgba(34, 211, 165, 0.25);
  color: #6ee7b7;
}

.toast-container {
  position: fixed;
  bottom: 24rem;
  right: 24rem;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 10rem;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 10rem;
  padding: 12rem 16rem;
  background: rgba(20, 20, 36, 0.97);
  border: 1rem solid var(--glass-border);
  border-radius: 12rem;
  backdrop-filter: blur(16rem);
  box-shadow: 0 8rem 32rem rgba(0, 0, 0, 0.5);
  font-size: 14rem;
  color: var(--text);
  min-width: 240rem;
  max-width: 360rem;
  pointer-events: all;
  animation: toast-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.toast--success {
  border-color: rgba(34, 211, 165, 0.35);
}
.toast--error {
  border-color: rgba(248, 113, 113, 0.35);
}
.toast--info {
  border-color: rgba(124, 92, 252, 0.35);
}
.toast__icon {
  font-size: 16rem;
  flex-shrink: 0;
  margin-top: 1rem;
}
.toast__text {
  flex: 1;
  line-height: 1.5;
}
.toast__close {
  background: none;
  border: none;
  color: var(--text-3);
  cursor: pointer;
  font-size: 14rem;
  padding: 0;
  line-height: 1;
  transition: color var(--transition);
  flex-shrink: 0;
}
.toast__close:hover {
  color: var(--text);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(12rem) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media screen and (max-width: 800px) {
  .toast-container {
    bottom: 16rem;
    right: 12rem;
    left: 12rem;
  }

  .toast {
    min-width: unset;
    max-width: 100%;
  }
}
.cookie-banner {
  position: fixed;
  bottom: -100rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 650rem;
  padding: 14rem 20rem;
  z-index: 990;
  border: 1rem solid var(--glass-border);
  background: rgba(15, 15, 25, 0.9);
  border-radius: 16rem;
  transition: bottom 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
}
.cookie-banner.is-visible {
  bottom: 20rem;
}
.cookie-banner__text {
  font-size: 14rem;
  color: var(--text-2);
  line-height: 1.6;
}

/*# sourceMappingURL=common.css.map */
