.closed-test-hero {
  padding-bottom: 56px;
}
.closed-test-hero .lead {
  max-width: 760px;
}
.closed-test-body {
  padding-top: 44px;
}
.closed-test-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 28px;
  align-items: start;
}
.closed-test-stack {
  display: grid;
  gap: 18px;
}
.closed-test-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, .06);
}
.closed-test-card h2,
.closed-test-card h3 {
  margin-top: 0;
}
.closed-test-card p,
.closed-test-card li {
  color: #64748b;
  line-height: 1.7;
}
.closed-test-card ul {
  margin-bottom: 0;
  padding-left: 22px;
}
.closed-test-card a {
  color: #4f46e5;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.closed-test-highlight {
  background: linear-gradient(135deg, #f5f3ff, #eef2ff);
  border-color: #c7d2fe;
}
.closed-test-form {
  background: #fff;
  border: 1px solid #ddd6fe;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 22px 60px rgba(15, 23, 42, .09);
  position: sticky;
  top: 92px;
}
.closed-test-form .form-heading {
  margin-bottom: 22px;
}
.closed-test-form .field input,
.closed-test-form .field select {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  background: #fff;
  color: #111827;
  font: inherit;
  padding: 12px 14px;
}
.closed-test-form .field input:focus,
.closed-test-form .field select:focus {
  outline: 0;
  border-color: #6d5dfc;
  box-shadow: 0 0 0 4px rgba(109, 93, 252, .14);
}
.closed-test-form .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.closed-test-form .field label {
  color: #1e293b;
  font-weight: 850;
}
.closed-test-form .field small,
.closed-test-form .submission-note {
  color: #64748b;
  line-height: 1.55;
}
.closed-test-form .submission-note a {
  color: #4f46e5;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.closed-test-form .check-row {
  margin: 20px 0;
}
.closed-test-success {
  margin: 0 0 18px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #166534;
  font-weight: 750;
  line-height: 1.55;
}
.closed-test-success[hidden] {
  display: none;
}
.closed-test-language {
  display: inline-flex;
  margin-top: 18px;
  color: #c7d2fe;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.closed-test-popup[hidden] {
  display: none;
}
.closed-test-popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(11, 16, 32, .68);
  backdrop-filter: blur(4px);
}
.closed-test-popup-panel {
  width: min(520px, 100%);
  box-sizing: border-box;
  border-radius: 28px;
  background: #fff;
  color: #111827;
  padding: 28px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .32);
  position: relative;
}
.closed-test-popup-badge {
  display: inline-block;
  padding: 7px 11px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4f46e5;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.closed-test-popup-panel h2 {
  margin: 14px 0 10px;
  font-size: clamp(28px, 5vw, 38px);
  letter-spacing: -.04em;
}
.closed-test-popup-panel p {
  color: #64748b;
  line-height: 1.7;
  margin: 0;
}
.closed-test-popup-day-hide {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 0;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #f8fafc;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.closed-test-popup-day-hide input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #6d5dfc;
}
.closed-test-popup-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.closed-test-popup-actions .btn {
  background: #111827;
  color: #fff;
}
.closed-test-popup-later {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.closed-test-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font: inherit;
  font-size: 22px;
  cursor: pointer;
}
@media (max-width: 820px) {
  .closed-test-grid {
    grid-template-columns: 1fr;
  }
  .closed-test-form {
    position: static;
  }
}
@media (max-width: 560px) {
  .closed-test-form,
  .closed-test-card,
  .closed-test-popup-panel {
    padding: 22px;
    border-radius: 22px;
  }
  .closed-test-popup-actions {
    display: grid;
  }
  .closed-test-popup-actions .btn,
  .closed-test-popup-later {
    width: 100%;
    box-sizing: border-box;
  }
}
