/* Страница обратной связи — изолированная вёрстка */

.feedback-page #main-content {
  padding-top: 12px;
  padding-bottom: 32px;
}

.feedback-page .site-header.compact {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  grid-template-columns: none !important;
  position: relative !important;
  top: auto !important;
  z-index: 30;
  margin-bottom: 0;
}

.feedback-page .site-header .brand {
  flex: 0 1 auto;
  min-width: 0;
  max-width: none;
}

.feedback-page .site-header .text-link {
  flex: 0 0 auto;
  margin-left: auto;
  white-space: nowrap;
  font-size: .88rem;
  font-weight: 700;
  color: var(--rd-primary-strong, #4e3bb8) !important;
  text-decoration: none;
}

.feedback-page .site-header .text-link:hover {
  text-decoration: underline;
}

.feedback-page .fb-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 8px 20px 88px;
}

.feedback-page .fb-banner {
  position: static;
  top: auto;
  z-index: 1;
  background: linear-gradient(135deg, #6d28d9 0%, #4f46e5 100%);
  border-radius: 24px;
  padding: 40px 44px;
  margin: 0 0 32px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  box-shadow: 0 14px 40px rgba(79, 70, 229, .22);
}

.feedback-page .fb-banner-text {
  flex: 1 1 280px;
  min-width: 0;
}

.feedback-page .fb-banner-text .eyebrow {
  color: rgba(255, 255, 255, .78) !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.feedback-page .fb-banner-text h1 {
  color: #fff !important;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 12px;
  line-height: 1.15;
}

.feedback-page .fb-banner-text p {
  color: rgba(255, 255, 255, .9) !important;
  font-size: 1rem;
  margin: 0;
  max-width: 440px;
  line-height: 1.65;
}

.feedback-page .fb-banner-badge {
  flex: 0 0 auto;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 16px;
  padding: 18px 24px;
  text-align: center;
  min-width: 150px;
  color: #fff;
}

.feedback-page .fb-banner-badge .badge-icon {
  font-size: 2rem;
  margin-bottom: 6px;
}

.feedback-page .fb-banner-badge p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, .88) !important;
  line-height: 1.5;
}

.feedback-page .fb-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.feedback-page .fb-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.feedback-page .fb-contact-card {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .15s, border-color .15s;
}

.feedback-page .fb-contact-card:hover {
  box-shadow: 0 6px 24px rgba(109, 40, 217, .1);
  border-color: #a78bfa;
}

.feedback-page .fb-contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.feedback-page .fb-contact-card-icon.purple { background: #f5f3ff; color: #7c3aed; }
.feedback-page .fb-contact-card-icon.green { background: #ecfdf5; color: #059669; }
.feedback-page .fb-contact-card-icon.blue { background: #eff6ff; color: #2563eb; }

.feedback-page .fb-contact-card-body {
  min-width: 0;
}

.feedback-page .fb-contact-card-body small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 3px;
}

.feedback-page .fb-contact-card-body strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  word-break: break-word;
}

.feedback-page .fb-contact-card-body a {
  color: #7c3aed;
  text-decoration: none;
  font-weight: 700;
}

.feedback-page .fb-requisites-card {
  background: #fafafa;
  border: 1.5px solid #e5e7eb;
  border-radius: 16px;
  padding: 22px 24px;
}

.feedback-page .fb-requisites-card h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9ca3af;
  margin: 0 0 16px;
}

.feedback-page .fb-req-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feedback-page .fb-req-item {
  display: flex;
  gap: 12px;
  align-items: baseline;
  flex-wrap: wrap;
}

.feedback-page .fb-req-item-label {
  font-size: 12px;
  color: #9ca3af;
  min-width: 120px;
  flex-shrink: 0;
}

.feedback-page .fb-req-item-val {
  font-size: 14px;
  color: #1a1a2e;
  font-weight: 500;
  line-height: 1.45;
  min-width: 0;
  flex: 1 1 160px;
}

.feedback-page .fb-form-card {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 20px;
  padding: 28px 28px 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .05);
  min-width: 0;
}

.feedback-page .fb-form-card h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 6px;
  color: #1a1a2e;
}

.feedback-page .fb-form-card .fb-form-sub {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 20px;
  line-height: 1.55;
}

.feedback-page .fb-field {
  margin-bottom: 16px;
}

.feedback-page .fb-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 6px;
}

.feedback-page .fb-field input,
.feedback-page .fb-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  background: #fafafa;
  color: #1a1a2e;
  outline: none;
}

.feedback-page .fb-field input:focus,
.feedback-page .fb-field textarea:focus {
  border-color: #7c3aed;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, .08);
}

.feedback-page .fb-field input:read-only {
  background: #f3f4f6;
  color: #6b7280;
  cursor: not-allowed;
}

.feedback-page .fb-field textarea {
  resize: vertical;
  min-height: 120px;
}

.feedback-page .fb-field input[type="file"] {
  padding: 10px 12px;
  background: #fff;
}

.feedback-page .fb-submit {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: #fff;
  cursor: pointer;
}

.feedback-page .fb-submit:disabled {
  opacity: .6;
  cursor: default;
}

.feedback-page .fb-result {
  display: none;
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.5;
}

.feedback-page .fb-result.ok {
  display: block;
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.feedback-page .fb-result.err {
  display: block;
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

.feedback-page .fb-auth-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  color: #4c1d95;
  font-size: 14px;
  line-height: 1.55;
}

.feedback-page .fb-auth-note a {
  color: #6d28d9;
  font-weight: 700;
}

.feedback-page .site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;
  padding: 28px 20px 44px;
  margin-top: 0;
}

.feedback-page .support-widget {
  bottom: 20px;
  right: 20px;
}

@media (max-width: 760px) {
  .feedback-page .fb-page {
    padding-inline: 16px;
    padding-bottom: 96px;
  }

  .feedback-page .fb-banner {
    padding: 28px 22px;
    margin-bottom: 24px;
    border-radius: 20px;
  }

  .feedback-page .fb-body {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feedback-page .fb-form-card {
    padding: 22px 18px 20px;
  }

  .feedback-page .fb-req-item {
    flex-direction: column;
    gap: 4px;
  }
}