input[type="text"].error,
input[type="email"].error,
input[type="tel"].error {
  border-color: #ef4444;
  background: #fef2f2;
}
.error-message {
  display: none;
  color: #ef4444;
  font-size: 13px;
  margin-top: 6px;
}
.error-message.visible {
  display: block;
}
.checkbox + .error-message {
  margin-top: -14px;
  margin-bottom: 10px;
}
.otp-inputs input.error {
  border-color: #ef4444;
  background: #fef2f2;
  animation: shake .3s ease;
}
@keyframes shake {
  0%,100%{transform: translateX(0)}
  25%{transform: translateX(-5px)}
  75%{transform: translateX(5px)}
}
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
}
.site-header {
  position: relative;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 25px;
  background: #0f172a;
}
.site-header__brand {
  font-family: 'InterExtraBold', sans-serif;
  font-size: 18px;
  letter-spacing: 2px;
  color: #fff;
}
.site-header__nav {
  display: flex;
  gap: 32px;
}
.site-header__link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-family: 'InterMedium', sans-serif;
  font-size: 14px;
  transition: color 0.2s;
}
.site-header__link:hover,
.site-header__link.active {
  color: #fff;
}
.site-header__link.active {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.site-header__profile-wrap {
  position: relative;
}
.site-header__profile {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.75);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: 'InterMedium', sans-serif;
  font-size: 14px;
  transition: color 0.2s;
}
.site-header__profile:hover {
  color: #fff;
}
.site-header__profile-caret {
  transition: transform 0.2s;
}
.site-header__profile-wrap.is-open .site-header__profile-caret {
  transform: rotate(180deg);
}
.site-header__submenu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 160px;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 10;
}
.site-header__profile-wrap.is-open .site-header__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.site-header__submenu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-family: 'InterMedium', sans-serif;
  font-size: 14px;
  transition: background 0.15s, color 0.15s;
}
.site-header__submenu-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
  background: #0f172a;
}
.site-footer__inner {
  /*max-width: 1200px;*/
  margin: 0 auto;
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-footer__brand {
  display: flex;
  flex-direction: column;
  color: #fff;
}
.site-footer__logo {
  font-family: 'InterExtraBold', sans-serif;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 4px;
}
.site-footer__tagline {
  font-size: 12px;
  font-family: 'InterRegular';
  color: rgba(255, 255, 255, 0.45);
}
.site-footer__links {
  display: flex;
  align-items: center;
  gap: 16px;
}
.site-footer__links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.site-footer__links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}
.site-footer__copy {
  font-size: 12px;
  font-family: 'InterRegular';
  color: rgba(255, 255, 255, 0.35);
}
.site-header__brand .brand,
.site-footer__logo .brand {
  max-width: 180px;
}

@media (max-width: 768px) {
  .site-header {
    padding: 16px 20px;
  }
  .site-header__nav {
    display: none;
  }
  .site-footer__inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding: 24px 20px;
  }
  .site-footer__brand {
    align-items: center;
  }
  .site-header__brand .brand,
  .site-footer__logo .brand {
    max-width: 120px;
  }
}