.toolGrid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 18px;
}

.toolCard,
.noteCard {
  display: grid;
  gap: 16px;
}

.inputRow,
.actionRow {
  display: flex;
  gap: 10px;
}

.inputRow input {
  flex: 1 1 auto;
}

.optionRow {
  display: grid;
  gap: 8px;
}

.otpPanel {
  position: relative;
  padding: 20px;
  border: 1px solid rgba(173, 212, 255, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(220px 120px at 100% 0%, rgba(255, 209, 102, 0.16), transparent 72%),
    linear-gradient(135deg, #06101d 0%, #0b2c4c 55%, #005b5a 100%);
  color: #fff;
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.34);
}

.otpPanel::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.otpValue {
  font-family: "Sora", sans-serif;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.04;
  letter-spacing: 0.12em;
}

.otpMeta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

.progressTrack {
  height: 10px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.progressBar {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, #00d1ff 0%, #00ffa3 60%, #fff0b6 100%);
  transition: width 200ms linear;
}

.noteList {
  display: grid;
  gap: 12px;
}

.noteItem {
  position: relative;
  padding: 16px;
  border: 1px solid rgba(173, 212, 255, 0.12);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, rgba(0, 209, 255, 0.05), rgba(0, 255, 163, 0.04));
}

.noteItem::before {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 209, 255, 0.12), rgba(0, 255, 163, 0.14));
  opacity: 0.72;
}

.noteItem strong {
  position: relative;
  display: block;
  margin-bottom: 6px;
  color: var(--brand-strong);
}

.noteItem p {
  position: relative;
  margin: 0;
}

@media (max-width: 960px) {
  .toolGrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .inputRow,
  .actionRow {
    flex-direction: column;
  }

  .actionRow .btn,
  .inputRow .btn {
    width: 100%;
  }

  .otpMeta {
    flex-direction: column;
    align-items: flex-start;
  }
}
