/* ===============================
   БАЗОВЫЕ СТИЛИ
================================ */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 20px 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f7fa;
  color: #1f2937;
  display: flex;
  justify-content: center;
}

.app {
  width: 100%;
  max-width: 480px;
}

.card {
  background: #ffffff;
  border-radius: 14px;
  padding: 22px 20px 30px;
  box-shadow: 0 3px 18px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
}

/* ===============================
   ПЕРЕКЛЮЧАТЕЛЬ ЯЗЫКОВ
================================ */

.lang-switch {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 12px;
}

.lang-switch button {
  background: #ffffff;
  border: 1px solid #d1d5db;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  transition: 0.2s;
}

.lang-switch button:hover {
  background: #f3f4f6;
}

.lang-switch button.active {
  background: #ebf3ff;
  border-color: #3b82f6;
  color: #1d4ed8;
  font-weight: 600;
}

/* ===============================
   ЛОГО
================================ */

.logo {
  font-size: 22px;
  font-weight: 700;
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
}

.logo-dot {
  width: 12px;
  height: 12px;
  background: #3b82f6;
  border-radius: 50%;
}

/* ===============================
   ПОДЗАГОЛОВОК
================================ */

.big-subtitle {
  font-size: 16px;
  line-height: 1.45;
  font-weight: 500;
  color: #374151;
  margin-bottom: 20px;
}

/* ===============================
   ПОЛЯ ФОРМЫ
================================ */

.field {
  margin-bottom: 16px;
}

.field-label-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

label {
  font-size: 14px;
  font-weight: 600;
}

.required {
  font-size: 11px;
  color: #9ca3af;
}

/* ===============================
   INPUT / SELECT / TEXTAREA
================================ */

input,
select,
textarea {
  width: 100%;
  padding: 12px 13px;
  font-size: 15px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  outline: none;
  transition: 0.15s;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 1.6px rgba(59, 130, 246, 0.25);
}

textarea {
  resize: vertical;
  min-height: 75px;
}

/* ===============================
   RADIO-CHIPS
================================ */

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.radio-chip {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  font-size: 14px;
  cursor: pointer;
  transition: 0.18s;
}

.radio-chip.active {
  background: #ebf3ff;
  border-color: #3b82f6;
  color: #1d4ed8;
  box-shadow: 0 0 0 1.5px rgba(59, 130, 246, 0.25);
}

.radio-chip input {
  display: none;
}

/* ===============================
   КНОПКА ОТПРАВКИ
================================ */

button.submit {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  color: #ffffff;
  background: #3b82f6;
  cursor: pointer;
  box-shadow: 0px 8px 14px rgba(59, 130, 246, 0.32);
  transition: 0.15s;
  margin-top: 6px;
}

button.submit:active {
  transform: translateY(1px);
}

button.submit:disabled {
  opacity: 0.65;
  box-shadow: none;
}

/* ===============================
   СООБЩЕНИЕ СТАТУСА
================================ */

.status {
  margin-top: 16px;
  font-size: 14px;
  min-height: 22px;
  line-height: 1.35;
}

.status.ok {
  color: #059669;
}

.status.err {
  color: #dc2626;
}

/* ===============================
   МОБИЛЬНАЯ АДАПТАЦИЯ
================================ */

@media (max-width: 380px) {
  .big-subtitle {
    font-size: 15px;
  }

  button.submit {
    font-size: 15px;
  }
}
.top-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.brand-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.brand-title {
  font-size: 22px;
  font-weight: 700;
}

.main-title {
  font-size: 20px;
  font-weight: 700;
  margin: 10px 0 6px;
  color: #1f2937;
}

.main-description {
  font-size: 15px;
  line-height: 1.45;
  color: #4b5563;
  margin-bottom: 16px;
}

.about-block {
  background: #f9fafb;
  padding: 14px;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid #e5e7eb;
}

.about-block h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.about-block p {
  font-size: 14px;
  line-height: 1.45;
  color: #4b5563;
}

.legal-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  margin-bottom: 16px;
}

.legal-links a {
  color: #2563eb;
  text-decoration: none;
}

.section-divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 16px 0 20px;
}

.top-menu {
  text-align: center;
  font-size: 13px;
  color: #4b5563;
  margin-bottom: 14px;
  line-height: 1.5;
  padding: 2px 0;
}

.top-menu a {
  color: #2563eb;
  text-decoration: none;
}

.top-menu a:hover {
  text-decoration: underline;
}
.steps-block {
  margin: 18px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f9fafb;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.step-icon {
  font-size: 22px;
  width: 32px;
  text-align: center;
  line-height: 32px;
}

.step-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 3px;
  color: #1f2937;
}

.step-desc {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.35;
}
.tiktok-link {
  text-align: center;
  margin-top: -6px;
  margin-bottom: 12px;
}

.tiktok-link a {
  color: #2563eb;
  font-size: 13px;
  text-decoration: none;
}

.tiktok-link a:hover {
  text-decoration: underline;
}


.copyright {
  text-align: center;
  font-size: 12px;
  color: #6b7280;
  margin-top: 10px;
  margin-bottom: 4px;
}
.tiktok-pill {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 12px;
  background: #f2f2f2;
  font-size: 13px;
  color: #111;
  text-decoration: none;
}
.tiktok-link {
  text-align: center;
  margin: 4px 0 16px;
}

.tiktok-link a {
  font-size: 13px;
  opacity: 0.75;
  text-decoration: none;
  color: #2563eb;
}

.tiktok-link a:hover {
  opacity: 1;
}
.top-brand-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  margin-top: 5px;
}

.top-brand-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-brand-right {
  display: flex;
  align-items: center;
}

.tiktok-mini-link {
  font-size: 14px;
  text-decoration: none;
  color: #2563eb;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.tiktok-mini-link:hover {
  opacity: 0.8;
}

.tiktok-icon {
  font-size: 16px;
  line-height: 1;
}
.legal-links {
  margin-top: 28px;
  text-align: center;
  font-size: 13px;
  color: #6b7280;
}

.legal-links .legal-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 6px;
}

.legal-links a {
  color: #2563eb;
  text-decoration: none;
}

.legal-links a:hover {
  text-decoration: underline;
}
.bottom-menu {
  margin-top: 28px;   /* Отступ сверху, чтобы отделить от формы */
  margin-bottom: 10px;
}
