@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

.istest-converter-2027 {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  color: #20213c;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
  box-sizing: border-box;
  background:
    radial-gradient(circle at 12% 8%, rgba(122, 92, 255, .12), transparent 28rem),
    radial-gradient(circle at 90% 45%, rgba(255, 184, 78, .13), transparent 25rem),
    #f8f7fc;
}

.istest-converter-2027 *,
.istest-converter-2027 *::before,
.istest-converter-2027 *::after { box-sizing: border-box; }

.istest-converter-2027__shell {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 28px 16px;
}

.istest-converter-2027__intro {
  max-width: 740px;
  margin: 0 auto 22px;
  text-align: center;
}

.istest-converter-2027__eyebrow,
.istest-converter-2027__step {
  margin: 0 0 6px;
  color: #6351b8;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.istest-converter-2027 h1,
.istest-converter-2027 h2,
.istest-converter-2027 p { margin-top: 0; }

.istest-converter-2027 h1 {
  margin-bottom: 9px;
  color: #24204b;
  font-size: 1.92rem;
  line-height: 1.13;
  letter-spacing: -.035em;
}

.istest-converter-2027__intro > p:last-child {
  margin-bottom: 0;
  color: #5f6078;
}

.istest-converter-2027__tool {
  overflow: hidden;
  border: 1px solid #e2dff0;
  border-radius: 22px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 20px 55px rgba(42, 31, 96, .11), 0 4px 12px rgba(31, 26, 73, .05);
}

.istest-converter-2027__feature-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 13px 16px;
  border-bottom: 1px solid #e8e5f2;
  background: linear-gradient(100deg, #f3f0ff, #fff8ec);
  color: #4b4671;
  font-size: .76rem;
  font-weight: 700;
}

.istest-converter-2027__feature-row span {
  min-width: 0;
  white-space: nowrap;
}

.istest-converter-2027__workspace {
  display: grid;
  gap: 1px;
  background: #e7e4f0;
}

.istest-converter-2027__input-panel,
.istest-converter-2027__result-panel {
  min-width: 0;
  padding: 22px 16px;
  background: #fff;
}

.istest-converter-2027__result-panel {
  background: linear-gradient(145deg, #fcfbff, #f7f5ff);
}

.istest-converter-2027__panel-heading h2 {
  margin-bottom: 19px;
  color: #29254d;
  font-size: 1.28rem;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.istest-converter-2027__form {
  display: grid;
  gap: 15px;
}

.istest-converter-2027__field label {
  display: block;
  margin-bottom: 7px;
  color: #3b3859;
  font-size: .9rem;
  font-weight: 750;
}

.istest-converter-2027__field label span {
  color: #77728e;
  font-weight: 600;
}

.istest-converter-2027 input,
.istest-converter-2027 select,
.istest-converter-2027 button {
  min-height: 48px;
  font: inherit;
}

.istest-converter-2027 input,
.istest-converter-2027 select {
  width: 100%;
  border: 1px solid #cbc7dc;
  border-radius: 11px;
  padding: 0 12px;
  color: #262343;
  background: #fff;
  box-shadow: inset 0 1px 1px rgba(40, 32, 88, .04);
}

.istest-converter-2027 input:hover,
.istest-converter-2027 select:hover { border-color: #9d94c7; }

.istest-converter-2027 input:focus,
.istest-converter-2027 select:focus,
.istest-converter-2027 button:focus-visible {
  outline: 3px solid rgba(103, 80, 221, .28);
  outline-offset: 2px;
  border-color: #6750dd;
}

.istest-converter-2027__zone-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid #e4def8;
  border-radius: 11px;
  color: #5a5674;
  background: #f7f5ff;
  font-size: .82rem;
  line-height: 1.42;
}

.istest-converter-2027__zone-note span {
  color: #8d68e8;
  font-size: .72rem;
  line-height: 1.7;
}

.istest-converter-2027__zone-note strong { color: #3b365f; }

.istest-converter-2027__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.istest-converter-2027 button {
  cursor: pointer;
  border-radius: 11px;
  padding: 0 16px;
  font-weight: 800;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.istest-converter-2027 button:active { transform: translateY(1px); }

.istest-converter-2027__copy {
  border: 0;
  color: #fff;
  background: linear-gradient(110deg, #4e40b9, #7353d4 58%, #9365df);
  box-shadow: 0 8px 16px rgba(86, 60, 188, .23);
}

.istest-converter-2027__copy:hover {
  background: linear-gradient(110deg, #4537ae, #6649c9 58%, #875ad6);
  box-shadow: 0 10px 20px rgba(86, 60, 188, .3);
}

.istest-converter-2027__reset {
  border: 1px solid #cbc7dc;
  color: #484462;
  background: #fff;
}

.istest-converter-2027__reset:hover { background: #f7f6fb; }

.istest-converter-2027__status {
  min-height: 1.35em;
  margin: 13px 0 0;
  color: #806000;
  font-size: .84rem;
  font-weight: 650;
}

.istest-converter-2027__status[data-state="success"] { color: #216b4b; }
.istest-converter-2027__status[data-state="error"] { color: #aa3150; }

.istest-converter-2027__result-card {
  display: block;
  border: 1px solid #ddd7fb;
  border-radius: 17px;
  padding: 19px;
  color: #29244d;
  background:
    linear-gradient(130deg, rgba(113, 76, 222, .08), rgba(255, 185, 77, .1)),
    #fff;
  box-shadow: 0 12px 28px rgba(60, 42, 135, .09);
}

.istest-converter-2027__result-label {
  margin-bottom: 4px;
  color: #69627f;
  font-size: .82rem;
  font-weight: 750;
}

.istest-converter-2027__time-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.istest-converter-2027__time-line strong {
  color: #292052;
  font-size: clamp(2rem, 9vw, 3.15rem);
  line-height: 1.04;
  letter-spacing: -.055em;
}

.istest-converter-2027__time-line span {
  border-radius: 999px;
  padding: 4px 9px;
  color: #5539ae;
  background: #eae4ff;
  font-size: .81rem;
  font-weight: 850;
}

.istest-converter-2027__result-date {
  margin: 11px 0 14px;
  color: #53516c;
  font-size: .91rem;
  font-weight: 650;
}

.istest-converter-2027__offsets {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  color: #5a5571;
  font-size: .8rem;
}

.istest-converter-2027__offsets span {
  border: 1px solid #e1ddec;
  border-radius: 8px;
  padding: 5px 7px;
  background: rgba(255, 255, 255, .74);
}

.istest-converter-2027__offsets b {
  margin-left: 3px;
  color: #322d55;
}

.istest-converter-2027__offsets span:nth-child(2) {
  border: 0;
  padding: 0;
  color: #8b77d0;
  background: transparent;
}

.istest-converter-2027__difference {
  margin: 15px 0 0;
  color: #3b3561;
  font-size: .92rem;
  font-weight: 750;
}

.istest-converter-2027__comparison {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  padding: 13px 10px;
  border: 1px solid #e5e1ef;
  border-radius: 13px;
  background: #fff;
  text-align: center;
}

.istest-converter-2027__comparison > div:first-child,
.istest-converter-2027__comparison > div:last-child { min-width: 0; }

.istest-converter-2027__comparison span,
.istest-converter-2027__comparison small {
  display: block;
  overflow: hidden;
  color: #706b84;
  font-size: .72rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.istest-converter-2027__comparison strong {
  display: block;
  margin: 2px 0;
  color: #302a56;
  font-size: 1.02rem;
}

.istest-converter-2027__direction {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  color: #624bc2;
  background: #eeeaff;
  font-weight: 900;
}

@media (min-width: 320px) and (max-width: 374px) {
  .istest-converter-2027__shell { padding: 22px 12px; }
  .istest-converter-2027 h1 { font-size: 1.9rem; }
  .istest-converter-2027__input-panel,
  .istest-converter-2027__result-panel { padding: 19px 13px; }
  .istest-converter-2027__feature-row { padding: 12px; font-size: .7rem; }
  .istest-converter-2027__result-card { padding: 16px; }
}

@media (min-width: 375px) and (max-width: 429px) {
  .istest-converter-2027__shell { padding: 26px 16px; }
  .istest-converter-2027 h1 { font-size: 1.96rem; }
  .istest-converter-2027__actions { grid-template-columns: 1.35fr 1fr; }
  .istest-converter-2027__input-panel,
  .istest-converter-2027__result-panel { padding: 22px 17px; }
}

@media (min-width: 430px) and (max-width: 767px) {
  .istest-converter-2027__shell { padding: 32px 22px; }
  .istest-converter-2027 h1 { font-size: 2.12rem; }
  .istest-converter-2027__input-panel,
  .istest-converter-2027__result-panel { padding: 25px 22px; }
  .istest-converter-2027__actions { grid-template-columns: 1.35fr 1fr; }
  .istest-converter-2027__comparison { padding: 15px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .istest-converter-2027__shell { padding: 42px 30px; }
  .istest-converter-2027 h1 { font-size: 2.45rem; }
  .istest-converter-2027__workspace { grid-template-columns: 1fr 1fr; }
  .istest-converter-2027__input-panel,
  .istest-converter-2027__result-panel { padding: 29px 25px; }
  .istest-converter-2027__form { grid-template-columns: 1fr 1fr; }
  .istest-converter-2027__field--wide,
  .istest-converter-2027__zone-note,
  .istest-converter-2027__actions { grid-column: 1 / -1; }
  .istest-converter-2027__actions { grid-template-columns: 1.35fr 1fr; }
  .istest-converter-2027__feature-row {
    grid-template-columns: repeat(4, 1fr);
    padding: 14px 25px;
    text-align: center;
  }
}

@media (min-width: 1024px) {
  .istest-converter-2027__shell { padding: 58px 38px; }
  .istest-converter-2027__intro { margin-bottom: 29px; }
  .istest-converter-2027 h1 { font-size: 2.75rem; }
  .istest-converter-2027__feature-row {
    grid-template-columns: repeat(4, 1fr);
    padding: 15px 34px;
    text-align: center;
  }
  .istest-converter-2027__workspace { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .istest-converter-2027__input-panel,
  .istest-converter-2027__result-panel { padding: 35px; }
  .istest-converter-2027__form { grid-template-columns: 1fr 1fr; }
  .istest-converter-2027__field--wide,
  .istest-converter-2027__zone-note,
  .istest-converter-2027__actions { grid-column: 1 / -1; }
  .istest-converter-2027__actions { grid-template-columns: 1.4fr 1fr; }
  .istest-converter-2027__result-card { padding: 27px; }
  .istest-converter-2027__comparison { margin-top: 20px; padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .istest-converter-2027 *,
  .istest-converter-2027 *::before,
  .istest-converter-2027 *::after { transition: none !important; }
}