/* =========================================================
   4HE / STATIC PAGES
   Feedback, themes, static pages, about, registration, lostpass
   ========================================================= */

/* =========================================================
   FEEDBACK PAGE
   ========================================================= */

.feedback-page {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

.feedback-page__hero,
.feedback-page__card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: none;
}

.feedback-page__hero {
  padding: 22px;
  background:
    radial-gradient(circle at 12% 18%, rgba(45, 123, 255, 0.12), transparent 30%),
    radial-gradient(circle at 88% 16%, rgba(155, 234, 60, 0.10), transparent 24%),
    var(--surface);
}

.feedback-page__badge,
.feedback-page__card-label {
  width: max-content;
  max-width: 100%;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  margin-bottom: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
}

.feedback-page__badge .i-svg,
.feedback-page__card-label .i-svg {
  width: 14px;
  height: 14px;
  color: var(--accent-main);
}

.feedback-page__title {
  margin: 0;
  color: var(--text);
  font-size: 32px;
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.feedback-page__text {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.68;
}

.feedback-page__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.feedback-page__action {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  border: 1px solid var(--border);
  border-radius: 18px;
  color: var(--text);
  text-decoration: none;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.feedback-page__action:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
  color: var(--text);
  text-decoration: none;
  transform: translateY(-1px);
}

.feedback-page__action-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-main-soft);
  border-radius: 14px;
  color: var(--accent-main);
}

.feedback-page__action-icon .i-svg {
  width: 18px;
  height: 18px;
}

.feedback-page__action-body {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.feedback-page__action-title {
  color: var(--text);
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
}

.feedback-page__action-text {
  min-width: 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feedback-page__card {
  padding: 22px;
}

.feedback-page__card-head {
  margin-bottom: 18px;
}

.feedback-page__card-title {
  margin: 0;
  color: var(--text);
  font-size: 24px;
  line-height: 1.14;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.feedback-page__card-desc {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.62;
}

/* =========================
   FEEDBACK FORM
   ========================= */

.feedback-form {
  display: grid;
  gap: 14px;
}

.feedback-form__row {
  display: grid;
  gap: 14px;
}

.feedback-form__row--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feedback-form__field {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.feedback-form__label {
  color: var(--text);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 700;
}

.feedback-form__input,
.feedback-form__textarea,
.feedback-form__select select,
.feedback-form__select input,
.feedback-form__select .wide,
.feedback-form__upload input[type="file"] {
  width: 100%;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: none;
  outline: none;
  font-size: 15px;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.feedback-form__input,
.feedback-form__select select,
.feedback-form__select input,
.feedback-form__select .wide {
  min-height: 50px;
  padding: 0 16px;
}

.feedback-form__textarea {
  min-height: 170px;
  padding: 14px 16px;
  resize: vertical;
  line-height: 1.65;
}

.feedback-form__input::placeholder,
.feedback-form__textarea::placeholder,
.feedback-form__select input::placeholder,
.feedback-form__select .wide::placeholder {
  color: var(--text-fade);
}

.feedback-form__input:focus,
.feedback-form__textarea:focus,
.feedback-form__select select:focus,
.feedback-form__select input:focus,
.feedback-form__select .wide:focus,
.feedback-form__upload input[type="file"]:focus {
  background: var(--surface);
  border-color: var(--accent-main);
  box-shadow: 0 0 0 3px var(--accent-main-soft);
}

.feedback-form__select {
  position: relative;
}

.feedback-form__select select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 46px;
}

.feedback-form__select::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -6px;
  border-right: 2px solid var(--text-soft);
  border-bottom: 2px solid var(--text-soft);
  transform: rotate(45deg);
  pointer-events: none;
}

.feedback-form__upload {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: var(--surface-2);
  border: 1px dashed var(--border-strong);
  border-radius: 18px;
}

.feedback-form__upload input[type="file"] {
  min-height: 48px;
  padding: 10px 12px;
  background: var(--surface);
  cursor: pointer;
}

.feedback-form__upload-note {
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.5;
}

.feedback-form__captcha {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.feedback-form__captcha-image {
  min-width: 130px;
  padding: 8px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.feedback-form__captcha-image img,
.feedback-form__captcha-image svg,
.feedback-form__captcha-image canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

.feedback-form__captcha-field {
  min-width: 0;
}

.feedback-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.feedback-form__hint {
  min-width: 0;
  flex: 1 1 260px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.55;
}

.feedback-form__hint .i-svg {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--accent-main);
}

.feedback-form__submit {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  background: var(--accent-main);
  border: 0;
  border-radius: 16px;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(45, 123, 255, 0.16);
  transition:
    background 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.feedback-form__submit:hover {
  background: var(--accent-main-hover);
}

.feedback-form__submit:active {
  transform: scale(0.985);
}

.feedback-form__submit .i-svg {
  width: 16px;
  height: 16px;
}

/* =========================================================
   THEMES PAGE
   ========================================================= */

.themes-page {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}

.themes-hero {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: none;
}

.themes-hero__badge {
  width: max-content;
  max-width: 100%;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  margin-bottom: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
}

.themes-hero__badge .i-svg {
  width: 14px;
  height: 14px;
  color: var(--accent-main);
}

.themes-hero__title {
  margin: 0;
  color: var(--text);
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.themes-hero__desc {
  max-width: 720px;
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.65;
}

.themes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.theme-card {
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.theme-card:hover {
  color: inherit;
  text-decoration: none;
}

.theme-card__inner {
  height: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: none;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.theme-card:hover .theme-card__inner {
  background: var(--surface-2);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.theme-card__media {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.theme-card__icon {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.theme-card__content {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.theme-card__title {
  margin: 0;
  color: var(--text);
  font-size: 19px;
  line-height: 1.16;
  letter-spacing: -0.025em;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.theme-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
}

.theme-card__action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent-main);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
}

.theme-card__arrow {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-main-soft);
  border-radius: 999px;
  color: var(--accent-main);
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  transition: transform 0.18s ease;
}

.theme-card:hover .theme-card__arrow {
  transform: translateX(2px);
}

/* =========================================================
   STATIC PAGE
   ========================================================= */

.static-page {
  min-width: 0;
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

.static-page__card {
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: none;
}

.static-page__head {
  padding: 22px 22px 0;
}

.static-page__title {
  margin: 0;
  color: var(--text);
  font-size: 30px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.static-page__content.full_text {
  margin: 0;
  padding: 18px 22px 22px;
}

.static-page__content.full_text > :first-child {
  margin-top: 0 !important;
}

.static-page__content.full_text > :last-child {
  margin-bottom: 0 !important;
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */

.about-clean {
  min-width: 0;
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

.about-clean__section {
  min-width: 0;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: none;
}

.about-clean__hero {
  overflow: hidden;
}

.about-clean__badge,
.about-clean__label {
  width: max-content;
  max-width: 100%;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  margin: 0 0 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
}

.about-clean__title {
  max-width: 760px;
  margin: 0;
  color: var(--text);
  font-size: 31px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.about-clean__subtitle {
  max-width: 720px;
  margin: 0;
  color: var(--text);
  font-size: 23px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.about-clean__lead,
.about-clean__intro,
.about-clean__text p,
.about-clean__tile-text,
.about-clean__item-body p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.72;
  font-weight: 400;
}

.about-clean__lead {
  max-width: 760px;
  margin: 14px 0 0;
}

.about-clean__intro {
  margin: 12px 0 0;
}

.about-clean__text {
  margin-top: 14px;
}

.about-clean__text p {
  margin: 0 0 12px;
}

.about-clean__text p:last-child {
  margin-bottom: 0;
}

.about-clean__text strong {
  color: var(--text);
  font-weight: 700;
}

.about-clean__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
}

.about-clean__btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.about-clean__btn:hover {
  text-decoration: none;
}

.about-clean__btn:active {
  transform: scale(0.985);
}

.about-clean__btn--primary {
  background: var(--accent-main);
  border-color: var(--accent-main);
  color: #fff;
}

.about-clean__btn--primary:hover {
  background: var(--accent-main-hover);
  border-color: var(--accent-main-hover);
  color: #fff;
}

.about-clean__btn--ghost {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--text);
}

.about-clean__btn--ghost:hover {
  background: var(--surface-3);
  border-color: var(--border-strong);
  color: var(--text);
}

.about-clean__visual {
  position: relative;
  min-height: 330px;
  margin-top: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 100%, rgba(45, 123, 255, 0.10), transparent 46%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: 20px;
}

.about-clean__visual-bg {
  position: absolute;
  left: 50%;
  bottom: -150px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 123, 255, 0.12), rgba(45, 123, 255, 0.04) 42%, transparent 70%);
  transform: translateX(-50%);
  pointer-events: none;
}

.about-clean__visual-image {
  position: relative;
  z-index: 2;
  min-height: 330px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 32px 20px 0;
}

.about-clean__visual-image img {
  width: min(100%, 340px);
  height: auto;
  display: block;
  object-fit: contain;
}

.about-clean__visual-chip {
  position: absolute;
  z-index: 3;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.about-clean__visual-chip--1 {
  top: 18px;
  left: 18px;
}

.about-clean__visual-chip--2 {
  top: 18px;
  right: 18px;
}

.about-clean__visual-chip--3 {
  bottom: 18px;
  left: 18px;
}

.about-clean__visual-chip--4 {
  bottom: 18px;
  right: 18px;
}

.about-clean__categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.about-clean__tile {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  color: inherit;
  text-decoration: none;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.about-clean__tile:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
  color: inherit;
  text-decoration: none;
}

.about-clean__tile:active {
  transform: scale(0.992);
}

.about-clean__tile-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 13px;
  font-size: 18px;
  line-height: 1;
}

.about-clean__tile-body {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.about-clean__tile-title {
  color: var(--text);
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.about-clean__tile-text {
  font-size: 13px;
  line-height: 1.58;
}

.about-clean__stack {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.about-clean__item {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.about-clean__item-num {
  width: 42px;
  height: 42px;
  min-width: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 13px;
  color: var(--accent-main);
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
}

.about-clean__item-body {
  min-width: 0;
}

.about-clean__item-body h3 {
  margin: 0 0 7px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.about-clean__item-body p {
  margin: 0;
}

.about-clean__quote {
  text-align: center;
}

.about-clean__quote-mark {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--accent-main);
  font-size: 17px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.about-clean__quote blockquote {
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--text);
  font-size: 21px;
  line-height: 1.42;
  font-weight: 600;
  letter-spacing: -0.025em;
}

/* =========================================================
   REGISTRATION
   ========================================================= */

.reg-page {
  display: grid;
  gap: 14px;
  margin: 0 0 16px;
}

.reg-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: none;
}

.reg-card__head {
  padding: 22px 22px 0;
  display: grid;
  gap: 10px;
}

.reg-card__badge {
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
}

.reg-card__badge .i-svg {
  width: 15px;
  height: 15px;
  color: var(--accent-main);
}

.reg-card__title {
  margin: 0;
  color: var(--text);
  font-size: 28px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.reg-card__desc {
  max-width: 720px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.65;
}

.reg-card__step {
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  background: var(--accent-main-soft);
  border-radius: 999px;
  color: var(--accent-main);
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
}

.reg-form {
  padding: 20px 22px 22px;
  display: grid;
  gap: 16px;
}

.reg-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.reg-form__group {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.reg-form__label {
  color: var(--text);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 600;
}

.reg-form__input,
.reg-form__textarea,
.reg-form__file {
  width: 100%;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
  outline: 0;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.reg-form__input {
  min-height: 50px;
  padding: 0 15px;
  border-radius: 15px;
  font-size: 14px;
  line-height: 1;
}

.reg-form__textarea {
  min-height: 138px;
  padding: 13px 15px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.65;
  resize: vertical;
}

.reg-form__input::placeholder,
.reg-form__textarea::placeholder {
  color: var(--text-fade);
  opacity: 1;
}

.reg-form__input:hover,
.reg-form__textarea:hover,
.reg-form__file:hover {
  background: var(--surface);
  border-color: var(--border-strong);
}

.reg-form__input:focus,
.reg-form__textarea:focus,
.reg-form__file:focus {
  background: var(--surface);
  border-color: rgba(45, 123, 255, 0.34);
  box-shadow: 0 0 0 3px rgba(45, 123, 255, 0.08);
}

.reg-form__inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.reg-form__check-btn {
  min-height: 50px;
  padding: 0 15px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 15px;
  color: var(--text);
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
  white-space: nowrap;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.reg-form__check-btn:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
  color: var(--text);
}

.reg-form__check-btn:active {
  transform: scale(0.985);
}

.reg-form__captcha {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: end;
  padding: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.reg-form__captcha-image {
  min-width: 140px;
  padding: 8px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.reg-form__captcha-image img,
.reg-form__captcha-image svg,
.reg-form__captcha-image canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

.reg-form__captcha-field {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.reg-form__file {
  min-height: 54px;
  padding: 7px;
  border-radius: 16px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
}

.reg-form__file::file-selector-button {
  height: 38px;
  margin: 0 10px 0 0;
  padding: 0 13px;
  border: 0;
  border-radius: 12px;
  background: var(--accent-main-soft);
  color: var(--accent-main);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.reg-form__file::file-selector-button:hover {
  background: var(--accent-main);
  color: #fff;
}

.reg-form__file::-webkit-file-upload-button {
  height: 38px;
  margin: 0 10px 0 0;
  padding: 0 13px;
  border: 0;
  border-radius: 12px;
  background: var(--accent-main-soft);
  color: var(--accent-main);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.reg-form__xfields {
  display: grid;
  gap: 14px;
}

.reg-form__xfields .xfieldsrow {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.reg-form__xfields .xfieldscolleft {
  float: none;
  width: auto;
  margin: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 600;
}

.reg-form__xfields .xfieldscolright {
  float: none;
  width: auto;
  margin: 0;
}

.reg-form__xfields .xfieldscolright input[type="text"],
.reg-form__xfields .xfieldscolright input[type="email"],
.reg-form__xfields .xfieldscolright input[type="url"],
.reg-form__xfields .xfieldscolright input[type="password"],
.reg-form__xfields .xfieldscolright select,
.reg-form__xfields .xfieldscolright textarea {
  width: 100%;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
  outline: 0;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.reg-form__xfields .xfieldscolright input[type="text"],
.reg-form__xfields .xfieldscolright input[type="email"],
.reg-form__xfields .xfieldscolright input[type="url"],
.reg-form__xfields .xfieldscolright input[type="password"],
.reg-form__xfields .xfieldscolright select {
  min-height: 50px;
  padding: 0 15px;
  border-radius: 15px;
  font-size: 14px;
}

.reg-form__xfields .xfieldscolright textarea {
  min-height: 120px;
  padding: 13px 15px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.65;
  resize: vertical;
}

.reg-form__xfields .xfieldscolright input:focus,
.reg-form__xfields .xfieldscolright select:focus,
.reg-form__xfields .xfieldscolright textarea:focus {
  background: var(--surface);
  border-color: rgba(45, 123, 255, 0.34);
  box-shadow: 0 0 0 3px rgba(45, 123, 255, 0.08);
}

.reg-form__footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 2px;
}

.reg-form__submit {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--accent-main);
  border: 0;
  border-radius: 14px;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  transition:
    background 0.18s ease,
    transform 0.18s ease,
    opacity 0.18s ease;
}

.reg-form__submit:hover {
  background: var(--accent-main-hover);
}

.reg-form__submit:active {
  transform: scale(0.985);
}

.reg-form__submit .i-svg {
  width: 16px;
  height: 16px;
}

.reg-card__bottom {
  padding: 0 22px 22px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.65;
}

.reg-card__bottom a {
  color: var(--accent-main);
  text-decoration: none;
}

.reg-card__bottom a:hover {
  color: var(--accent-main-hover);
  text-decoration: underline;
}

/* =========================================================
   LOST PASSWORD
   ========================================================= */

.lostpass-page {
  display: grid;
  gap: 14px;
  margin: 0 0 16px;
}

.lostpass-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: none;
}

.lostpass-card__head {
  padding: 22px 22px 0;
  display: grid;
  gap: 10px;
}

.lostpass-card__badge {
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
}

.lostpass-card__badge .i-svg {
  width: 15px;
  height: 15px;
  color: var(--accent-main);
}

.lostpass-card__title {
  margin: 0;
  color: var(--text);
  font-size: 28px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.lostpass-card__desc {
  max-width: 720px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.65;
}

.lostpass-form {
  padding: 20px 22px 22px;
  display: grid;
  gap: 16px;
}

.lostpass-form__group {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.lostpass-form__label {
  color: var(--text);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 600;
}

.lostpass-form__input {
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 15px;
  box-shadow: none;
  outline: 0;
  font-size: 14px;
  line-height: 1;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.lostpass-form__input::placeholder {
  color: var(--text-fade);
  opacity: 1;
}

.lostpass-form__input:hover {
  background: var(--surface);
  border-color: var(--border-strong);
}

.lostpass-form__input:focus {
  background: var(--surface);
  border-color: rgba(45, 123, 255, 0.34);
  box-shadow: 0 0 0 3px rgba(45, 123, 255, 0.08);
}

.lostpass-form__captcha {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: end;
  padding: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.lostpass-form__captcha-image {
  min-width: 140px;
  padding: 8px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.lostpass-form__captcha-image img,
.lostpass-form__captcha-image svg,
.lostpass-form__captcha-image canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

.lostpass-form__captcha-field {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.lostpass-form__footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 2px;
}

.lostpass-form__submit {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--accent-main);
  border: 0;
  border-radius: 14px;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  transition:
    background 0.18s ease,
    transform 0.18s ease,
    opacity 0.18s ease;
}

.lostpass-form__submit:hover {
  background: var(--accent-main-hover);
}

.lostpass-form__submit:active {
  transform: scale(0.985);
}

.lostpass-form__submit .i-svg {
  width: 16px;
  height: 16px;
}

/* =========================================================
   DARK
   ========================================================= */

.theme-dark .feedback-page__hero {
  background:
    radial-gradient(circle at 12% 18%, rgba(45, 123, 255, 0.16), transparent 30%),
    radial-gradient(circle at 88% 16%, rgba(155, 234, 60, 0.08), transparent 24%),
    var(--surface);
}

.theme-dark .reg-form__captcha,
.theme-dark .reg-form__input,
.theme-dark .reg-form__textarea,
.theme-dark .reg-form__file,
.theme-dark .reg-form__xfields .xfieldscolright input[type="text"],
.theme-dark .reg-form__xfields .xfieldscolright input[type="email"],
.theme-dark .reg-form__xfields .xfieldscolright input[type="url"],
.theme-dark .reg-form__xfields .xfieldscolright input[type="password"],
.theme-dark .reg-form__xfields .xfieldscolright select,
.theme-dark .reg-form__xfields .xfieldscolright textarea,
.theme-dark .lostpass-form__captcha,
.theme-dark .lostpass-form__input {
  background: rgba(255, 255, 255, 0.03);
}

.theme-dark .reg-form__captcha-image,
.theme-dark .reg-form__check-btn,
.theme-dark .lostpass-form__captcha-image {
  background: rgba(255, 255, 255, 0.04);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media screen and (max-width: 768px) {
  .feedback-page,
  .themes-page,
  .static-page,
  .about-clean,
  .reg-page,
  .lostpass-page {
    gap: 14px;
    margin-bottom: 14px;
  }

  .feedback-page__hero,
  .feedback-page__card,
  .themes-hero,
  .static-page__card,
  .about-clean__section,
  .reg-card,
  .lostpass-card {
    border-radius: 20px;
  }

  .feedback-page__hero,
  .feedback-page__card {
    padding: 18px;
  }

  .feedback-page__title {
    font-size: 27px;
  }

  .feedback-page__text {
    font-size: 14px;
    line-height: 1.62;
  }

  .feedback-page__actions,
  .feedback-form__row--2,
  .feedback-form__captcha,
  .reg-form__grid,
  .reg-form__captcha,
  .lostpass-form__captcha {
    grid-template-columns: 1fr;
  }

  .feedback-page__card-title {
    font-size: 22px;
  }

  .feedback-form__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .feedback-form__submit {
    width: 100%;
  }

  .feedback-form__captcha-image,
  .reg-form__captcha-image,
  .lostpass-form__captcha-image {
    min-width: 0;
    width: max-content;
    max-width: 100%;
  }

  .themes-hero {
    padding: 16px;
    border-radius: 20px;
  }

  .themes-hero__title {
    font-size: 26px;
  }

  .themes-hero__desc {
    font-size: 14px;
    line-height: 1.6;
  }

  .themes-grid {
    gap: 10px;
  }

  .theme-card__inner {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
    border-radius: 17px;
  }

  .theme-card__media {
    width: 62px;
    height: 62px;
    border-radius: 15px;
  }

  .theme-card__title {
    font-size: 18px;
  }

  .static-page__head {
    padding: 18px 18px 0;
  }

  .static-page__title {
    font-size: 26px;
  }

  .static-page__content.full_text {
    padding: 16px 18px 18px;
  }

  .about-clean__section {
    padding: 18px;
  }

  .about-clean__title {
    font-size: 26px;
  }

  .about-clean__subtitle {
    font-size: 21px;
  }

  .about-clean__lead,
  .about-clean__intro,
  .about-clean__text p {
    font-size: 14px;
    line-height: 1.66;
  }

  .about-clean__visual {
    min-height: 300px;
    border-radius: 18px;
  }

  .about-clean__visual-image {
    min-height: 300px;
  }

  .about-clean__visual-image img {
    width: min(100%, 300px);
  }

  .about-clean__categories {
    grid-template-columns: 1fr;
  }

  .about-clean__quote blockquote {
    font-size: 18px;
  }

  .reg-card__head,
  .lostpass-card__head {
    padding: 20px 18px 0;
  }

  .reg-card__title,
  .lostpass-card__title {
    font-size: 24px;
  }

  .reg-card__desc,
  .lostpass-card__desc {
    font-size: 14px;
    line-height: 1.62;
  }

  .reg-form,
  .lostpass-form {
    padding: 18px;
    gap: 14px;
  }

  .reg-form__footer,
  .lostpass-form__footer {
    justify-content: stretch;
  }

  .reg-form__submit,
  .lostpass-form__submit {
    width: 100%;
  }

  .reg-card__bottom {
    padding: 0 18px 18px;
  }
}

@media screen and (max-width: 640px) {
  .feedback-page,
  .themes-page,
  .static-page,
  .about-clean,
  .reg-page,
  .lostpass-page {
    gap: 12px;
    margin-bottom: 12px;
  }

  .feedback-page__hero,
  .feedback-page__card,
  .themes-hero,
  .static-page__card,
  .about-clean__section,
  .reg-card,
  .lostpass-card {
    border-radius: 18px;
  }

  .feedback-page__hero,
  .feedback-page__card {
    padding: 14px;
  }

  .feedback-page__badge,
  .feedback-page__card-label,
  .themes-hero__badge,
  .about-clean__badge,
  .about-clean__label,
  .reg-card__badge,
  .lostpass-card__badge {
    min-height: 27px;
    padding: 0 10px;
    font-size: 11px;
  }

  .feedback-page__title,
  .themes-hero__title,
  .about-clean__title {
    font-size: 23px;
    line-height: 1.12;
  }

  .feedback-page__text,
  .feedback-page__card-desc,
  .themes-hero__desc,
  .reg-card__desc,
  .lostpass-card__desc {
    font-size: 13px;
  }

  .feedback-page__action {
    padding: 12px;
    border-radius: 16px;
  }

  .feedback-page__action-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 13px;
  }

  .feedback-page__card-title {
    font-size: 20px;
  }

  .feedback-form {
    gap: 12px;
  }

  .feedback-form__input,
  .feedback-form__select select,
  .feedback-form__select input,
  .feedback-form__select .wide {
    min-height: 48px;
    border-radius: 15px;
    font-size: 14px;
  }

  .feedback-form__textarea {
    min-height: 150px;
    border-radius: 15px;
    font-size: 14px;
  }

  .feedback-form__upload,
  .feedback-form__captcha {
    padding: 12px;
    border-radius: 16px;
  }

  .feedback-form__submit {
    min-height: 46px;
    border-radius: 15px;
    font-size: 13px;
  }

  .themes-hero {
    padding: 14px;
  }

  .themes-hero__desc {
    margin-top: 8px;
  }

  .themes-grid {
    grid-template-columns: 1fr;
  }

  .theme-card__inner {
    grid-template-columns: 58px minmax(0, 1fr);
    padding: 11px;
    border-radius: 16px;
  }

  .theme-card__media {
    width: 58px;
    height: 58px;
    border-radius: 14px;
  }

  .theme-card__title {
    font-size: 17px;
  }

  .theme-card__meta,
  .theme-card__action {
    font-size: 12px;
  }

  .static-page__head {
    padding: 16px 14px 0;
  }

  .static-page__title {
    font-size: 23px;
    line-height: 1.16;
  }

  .static-page__content.full_text {
    padding: 14px 14px 16px;
  }

  .about-clean__section {
    padding: 14px;
  }

  .about-clean__subtitle {
    font-size: 19px;
  }

  .about-clean__actions {
    flex-direction: column;
  }

  .about-clean__btn {
    width: 100%;
  }

  .about-clean__visual {
    min-height: 260px;
    margin-top: 16px;
    border-radius: 16px;
  }

  .about-clean__visual-image {
    min-height: 260px;
    padding-top: 36px;
  }

  .about-clean__visual-image img {
    width: min(100%, 250px);
  }

  .about-clean__visual-chip {
    min-height: 27px;
    padding: 0 9px;
    font-size: 11px;
  }

  .about-clean__visual-chip--1 {
    top: 12px;
    left: 12px;
  }

  .about-clean__visual-chip--2 {
    top: 12px;
    right: 12px;
  }

  .about-clean__visual-chip--3 {
    bottom: 12px;
    left: 12px;
  }

  .about-clean__visual-chip--4 {
    bottom: 12px;
    right: 12px;
  }

  .about-clean__tile {
    padding: 12px;
    border-radius: 16px;
  }

  .about-clean__tile-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 11px;
  }

  .about-clean__item {
    padding: 12px;
    gap: 12px;
    border-radius: 16px;
  }

  .about-clean__item-num {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 11px;
    font-size: 12px;
  }

  .about-clean__item-body h3 {
    font-size: 15px;
  }

  .about-clean__quote-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 16px;
  }

  .about-clean__quote blockquote {
    font-size: 16px;
    line-height: 1.5;
  }

  .reg-card__head,
  .lostpass-card__head {
    padding: 18px 14px 0;
  }

  .reg-card__title,
  .lostpass-card__title {
    font-size: 22px;
    line-height: 1.12;
  }

  .reg-card__step {
    min-height: 26px;
    font-size: 11px;
  }

  .reg-form,
  .lostpass-form {
    padding: 14px;
  }

  .reg-form__inline {
    grid-template-columns: 1fr;
  }

  .reg-form__input,
  .lostpass-form__input,
  .reg-form__xfields .xfieldscolright input[type="text"],
  .reg-form__xfields .xfieldscolright input[type="email"],
  .reg-form__xfields .xfieldscolright input[type="url"],
  .reg-form__xfields .xfieldscolright input[type="password"],
  .reg-form__xfields .xfieldscolright select {
    min-height: 48px;
    border-radius: 14px;
    font-size: 14px;
  }

  .reg-form__textarea,
  .reg-form__xfields .xfieldscolright textarea {
    min-height: 126px;
    padding: 12px 14px;
    border-radius: 15px;
    font-size: 14px;
  }

  .reg-form__check-btn {
    min-height: 44px;
    border-radius: 13px;
  }

  .reg-form__captcha,
  .lostpass-form__captcha {
    gap: 12px;
    padding: 12px;
    border-radius: 16px;
  }

  .reg-form__file {
    min-height: 50px;
    padding: 6px;
    border-radius: 15px;
    font-size: 12px;
  }

  .reg-form__file::file-selector-button,
  .reg-form__file::-webkit-file-upload-button {
    height: 36px;
    padding: 0 11px;
    border-radius: 11px;
    font-size: 12px;
  }

  .reg-form__submit,
  .lostpass-form__submit {
    min-height: 44px;
    border-radius: 13px;
    font-size: 13px;
  }

  .reg-card__bottom {
    padding: 0 14px 14px;
    font-size: 12px;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .feedback-page__action,
  .feedback-form__input,
  .feedback-form__textarea,
  .feedback-form__select select,
  .feedback-form__select input,
  .feedback-form__select .wide,
  .feedback-form__upload input[type="file"],
  .feedback-form__submit,
  .theme-card__inner,
  .theme-card__arrow,
  .about-clean__btn,
  .about-clean__tile,
  .reg-form__input,
  .reg-form__textarea,
  .reg-form__file,
  .reg-form__check-btn,
  .reg-form__submit,
  .reg-form__file::file-selector-button,
  .reg-form__xfields .xfieldscolright input,
  .reg-form__xfields .xfieldscolright select,
  .reg-form__xfields .xfieldscolright textarea,
  .lostpass-form__input,
  .lostpass-form__submit {
    transition: none !important;
  }
}
/* =========================================================
   4HE / SEARCH PAGE
   Search form and search message
   ========================================================= */

.search-page {
  display: grid;
  gap: 14px;
  margin: 0 0 16px;
}

/* =========================
   HERO
   ========================= */

.search-page__hero {
  position: relative;
  overflow: hidden;
  padding: 22px;
  background:
    radial-gradient(circle at 92% 10%, rgba(45, 123, 255, 0.12), transparent 26%),
    radial-gradient(circle at 8% 100%, rgba(155, 234, 60, 0.10), transparent 28%),
    linear-gradient(180deg, var(--surface), var(--surface));
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: none;
}

.search-page__hero::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(45, 123, 255, 0.09);
  filter: blur(34px);
  pointer-events: none;
}

.search-page__hero::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45, 123, 255, 0.22), transparent);
  pointer-events: none;
}

.search-page__badge,
.search-page__title,
.search-page__desc,
.search-page__box {
  position: relative;
  z-index: 1;
}

.search-page__badge {
  width: max-content;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  margin: 0 0 14px;
  background: var(--accent-main-soft);
  border: 1px solid rgba(45, 123, 255, 0.12);
  border-radius: 999px;
  color: var(--accent-main);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
}

.search-page__badge .i-svg {
  width: 15px;
  height: 15px;
}

.search-page__title {
  margin: 0;
  color: var(--text);
  font-size: 31px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.search-page__desc {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.65;
}

/* =========================
   SEARCH FORM
   ========================= */

.search-page__box {
  margin-top: 18px;
}

.search-page__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.search-page__field {
  position: relative;
  min-width: 0;
}

.search-page__field-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  z-index: 2;
  width: 20px;
  height: 20px;
  color: var(--text-fade);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  pointer-events: none;
}

.search-page__field-icon .i-svg {
  width: 18px;
  height: 18px;
}

/* DLE searchfield */
.search-page__field input[type="text"],
.search-page__field input[type="search"],
.search-page__field .searchinput,
.search-page__field .search-field,
#searchtable input[type="text"],
#searchtable input[type="search"] {
  width: 100% !important;
  min-height: 54px !important;
  padding: 0 16px 0 46px !important;
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow:
    0 8px 20px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  color: var(--text);
  outline: 0;
  font-size: 16px;
  line-height: 1;
  font-weight: 500;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.search-page__field input[type="text"]::placeholder,
.search-page__field input[type="search"]::placeholder,
#searchtable input[type="text"]::placeholder,
#searchtable input[type="search"]::placeholder {
  color: var(--text-fade);
}

.search-page__field input[type="text"]:hover,
.search-page__field input[type="search"]:hover,
#searchtable input[type="text"]:hover,
#searchtable input[type="search"]:hover {
  border-color: var(--border-strong);
}

.search-page__field input[type="text"]:focus,
.search-page__field input[type="search"]:focus,
#searchtable input[type="text"]:focus,
#searchtable input[type="search"]:focus {
  background: var(--surface);
  border-color: rgba(45, 123, 255, 0.34);
  box-shadow:
    0 0 0 4px rgba(45, 123, 255, 0.08),
    0 10px 24px rgba(15, 23, 42, 0.05);
}

.search-page__submit {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  background: linear-gradient(180deg, var(--accent-main), var(--accent-main-hover));
  border: 0;
  border-radius: 18px;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(45, 123, 255, 0.18);
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.search-page__submit:hover {
  color: #fff;
  filter: brightness(1.03);
  box-shadow: 0 12px 26px rgba(45, 123, 255, 0.22);
}

.search-page__submit:active {
  transform: scale(0.985);
}

.search-page__submit .i-svg {
  width: 16px;
  height: 16px;
}

/* =========================
   SEARCH MESSAGE
   ========================= */

.search-page__message {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: none;
  color: var(--text);
}

.search-page__message-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--accent-main);
}

.search-page__message-icon .i-svg {
  width: 17px;
  height: 17px;
}

.search-page__message-text {
  min-width: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.62;
}

.search-page__message-text b,
.search-page__message-text strong {
  color: var(--text);
  font-weight: 700;
}

.search-page__message-text a {
  color: var(--accent-main);
  text-decoration: none;
}

.search-page__message-text a:hover {
  color: var(--accent-main-hover);
  text-decoration: underline;
}

/* =========================
   DARK
   ========================= */

.theme-dark .search-page__hero {
  background:
    radial-gradient(circle at 92% 10%, rgba(45, 123, 255, 0.16), transparent 26%),
    radial-gradient(circle at 8% 100%, rgba(155, 234, 60, 0.07), transparent 28%),
    linear-gradient(180deg, var(--surface), var(--surface));
}

.theme-dark .search-page__field input[type="text"],
.theme-dark .search-page__field input[type="search"],
.theme-dark .search-page__field .searchinput,
.theme-dark .search-page__field .search-field,
.theme-dark #searchtable input[type="text"],
.theme-dark #searchtable input[type="search"] {
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
}

.theme-dark .search-page__field input[type="text"]:focus,
.theme-dark .search-page__field input[type="search"]:focus,
.theme-dark #searchtable input[type="text"]:focus,
.theme-dark #searchtable input[type="search"]:focus {
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 0 0 4px rgba(45, 123, 255, 0.14);
}

/* =========================
   RESPONSIVE
   ========================= */

@media screen and (max-width: 768px) {
  .search-page {
    gap: 12px;
    margin-bottom: 14px;
  }

  .search-page__hero {
    padding: 18px;
    border-radius: 22px;
  }

  .search-page__title {
    font-size: 26px;
  }

  .search-page__desc {
    font-size: 14px;
    line-height: 1.6;
  }

  .search-page__form {
    grid-template-columns: 1fr;
  }

  .search-page__submit {
    width: 100%;
  }

  .search-page__message {
    border-radius: 18px;
  }
}

@media screen and (max-width: 640px) {
  .search-page {
    gap: 10px;
    margin-bottom: 12px;
  }

  .search-page__hero {
    padding: 14px;
    border-radius: 18px;
  }

  .search-page__badge {
    min-height: 28px;
    padding: 0 10px;
    margin-bottom: 12px;
    font-size: 11px;
  }

  .search-page__title {
    font-size: 23px;
    line-height: 1.12;
  }

  .search-page__desc {
    margin-top: 8px;
    font-size: 13px;
  }

  .search-page__box {
    margin-top: 14px;
  }

  .search-page__field input[type="text"],
  .search-page__field input[type="search"],
  .search-page__field .searchinput,
  .search-page__field .search-field,
  #searchtable input[type="text"],
  #searchtable input[type="search"],
  .search-page__submit {
    min-height: 48px !important;
    border-radius: 15px;
    font-size: 14px;
  }

  .search-page__field input[type="text"],
  .search-page__field input[type="search"],
  .search-page__field .searchinput,
  .search-page__field .search-field,
  #searchtable input[type="text"],
  #searchtable input[type="search"] {
    padding-left: 42px !important;
  }

  .search-page__field-icon {
    left: 13px;
  }

  .search-page__message {
    gap: 10px;
    padding: 13px;
    border-radius: 16px;
  }

  .search-page__message-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 12px;
  }

  .search-page__message-text {
    font-size: 13px;
  }
}

/* =========================
   REDUCED MOTION
   ========================= */

@media (prefers-reduced-motion: reduce) {
  .search-page__field input,
  .search-page__submit,
  .search-page__message a {
    transition: none !important;
  }
}