/* Добровольная благодарность после бесплатного теста */

.jle-thanks {
  position: relative;
  margin: 1.25rem 0 0.35rem;
  padding: 1.15rem 1.15rem 1.05rem;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(243, 156, 18, 0.18), transparent 55%),
    linear-gradient(155deg, #fffaf3 0%, #fff 42%, #f7fafc 100%);
  border: 1px solid rgba(243, 156, 18, 0.28);
  box-shadow: 0 10px 28px rgba(26, 26, 46, 0.06);
}

.jle-thanks__glow {
  position: absolute;
  width: 140px;
  height: 140px;
  right: -36px;
  top: -48px;
  border-radius: 50%;
  background: rgba(243, 156, 18, 0.12);
  pointer-events: none;
}

.jle-thanks__eyebrow {
  position: relative;
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c05600;
}

.jle-thanks__title {
  position: relative;
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.3;
  color: #1a1a2e;
}

.jle-thanks__lead {
  position: relative;
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #475569;
}

.jle-thanks__chips {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.jle-thanks-chip {
  appearance: none;
  border: 1px solid rgba(26, 26, 46, 0.12);
  background: #fff;
  color: #1a1a2e;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.45rem 0.75rem;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.jle-thanks-chip:hover {
  border-color: rgba(243, 156, 18, 0.55);
  transform: translateY(-1px);
}

.jle-thanks-chip.is-active {
  background: #1a1a2e;
  border-color: #1a1a2e;
  color: #ffd166;
}

.jle-thanks__cta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  color: #1a1a2e;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 8px 20px rgba(230, 126, 34, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.jle-thanks__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(230, 126, 34, 0.34);
}

.jle-thanks__cta-main {
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.25;
}

.jle-thanks__cta-sub {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.82;
}

.jle-thanks__note {
  position: relative;
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #94a3b8;
}

body.exam-thanks-open {
  overflow: hidden;
}

.exam-thanks-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(12, 10, 24, 0.72);
  backdrop-filter: blur(6px);
}

.exam-thanks-modal {
  position: relative;
  width: min(100%, 440px);
  padding: 1.6rem 1.35rem 1.35rem;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  color: #1a1a2e;
}

.exam-thanks-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.exam-thanks-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c05600;
}

.exam-thanks-title {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
}

.exam-thanks-lead {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #475569;
}

.exam-thanks-form {
  display: grid;
  gap: 0.45rem;
}

.exam-thanks-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  margin-top: 0.25rem;
}

.exam-thanks-input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.95rem;
  color: #1a1a2e;
  background: #fff;
}

.exam-thanks-input.is-invalid {
  border-color: #e11d48;
}

.exam-thanks-cta {
  margin-top: 0.55rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #f39c12, #e67e22);
  color: #1a1a2e;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
}

.exam-thanks-cta:disabled {
  opacity: 0.7;
  cursor: wait;
}

.exam-thanks-note {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #94a3b8;
}
