/*
  polygon.css — Polygon version (formerly ethereum.css)
  Colors and layout kept exactly the same
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}
body {
  background: #ffffff;
  color: #0b2a4a;
}
/* PAGE CONTAINER */
.page-container {
  width: 1100px;
  margin: 0 auto;
}
/* PAGE TITLE */
.page-title {
  text-align: center;
  font-size: 30px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 36px;
  color: #0b2a4a;
}
/* STEPS WRAPPER */
.steps-wrapper {
  width: 100%;
  margin-bottom: 36px;
  background: #ecfbf8;
  border-radius: 16px;
  padding: 26px 32px;
}
.steps {
  display: flex;
  align-items: center;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #7a8ca3;
  min-width: 140px;
  position: relative;
}
.step img {
  width: 36px;
  height: 36px;
}
.line {
  flex: 1;
  height: 1px;
  border-top: 2px dashed #bfd9ff;
  margin: 0 10px;
}
.line.completed {
  border-color: #7ce6b0;
}
/* FORM CARD */
.form-card {
  background: #f2fefc;
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 40px;
  position: relative;
}
/* FORM TITLE */
.form-title {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 26px;
  color: #0b2a4a;
}
/* ALERT */
.alert {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid #86c7ff;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 30px;
}
.alert-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
/* LABELS & INPUTS */
.form-label {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: #0b2a4a;
  margin-bottom: 8px;
}
.help-icon {
  width: 16px;
  margin-left: 6px;
  cursor: pointer;
}
.input-field,
.input-field1 {
  padding: 12px 15px;
  font-size: 14px;
  border: 1px solid #bfd9ff;
  border-radius: 10px;
}
.input-field { width: 100%; }
.input-field1 { width: 30%; margin-bottom: 20px; }
/* TOOLTIP */
.tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.tooltip-text {
  position: absolute;
  bottom: 140%;
  left: 50%;
  transform: translateX(-50%);
  background: #0b2a4a;
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.4;
  width: 280px;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 50;
}
.tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #0b2a4a transparent transparent transparent;
}
.tooltip:hover .tooltip-text,
.tooltip:focus-within .tooltip-text {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-4px);
}
/* Payout label + Reset button container */
.label-reset-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
/* RESET BUTTON */
.btn-reset {
  padding: 6px 12px;
  font-size: 12px;
  background: #ff4d4d;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
  position: relative;
}
.btn-reset:hover {
  background: #ff1a1a;
}
/* PAYOUT ROW */
.payout-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.payout-input { flex: 1; }
/* PAYOUT BADGE */
.payout-badge {
  display: flex;
  white-space: nowrap;
}
.payout-badge .time {
  background: #a78d8d;
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px 0 0 8px;
  font-size: 12px;
}
.payout-badge .percent {
  background: #c14a4a;
  color: #fff;
  padding: 6px 12px;
  border-radius: 0 8px 8px 0;
  font-size: 12px;
}
/* BIN BUTTON */
.bin-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: #ffecec;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.bin-btn img { width: 16px; height: 16px; }
.bin-btn:hover { background: #ffd6d6; }
/* BUTTONS */
.btn-add {
  width: 100%;
  padding: 14px 0;
  background: #1f1f1f;
  color: #fff;
  font-size: 14px;
  border: none;
  border-radius: 12px;
  margin-bottom: 20px;
  cursor: pointer;
}
.btn-continue {
  position: absolute;
  bottom: 25px;
  right: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: linear-gradient(90deg, #6ec1ff, #4da3ff);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.btn-continue:disabled {
  background: #2fd5fe;
  cursor: not-allowed;
  opacity: 0.6;
}
/* MULTI DOT SLIDER */
.multi-slider {
  position: relative;
  width: 100%;
  height: 36px;
  margin-bottom: 40px;
}
.slider-track {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 6px;
  background: #bfd9ff;
  border-radius: 3px;
  transform: translateY(-50%);
}
.slider-dot {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  transform: translate(-50%,-50%);
  cursor: pointer;
  z-index: 2;
}
.dot-1 { background: #6ec1ff; }
.dot-2 { background: #c14a4a; }
.dot-3 { background: #5ec576; }
.dot-4 { background: #f4b740; }
.slider-dot:hover {
  box-shadow: 0 0 0 6px rgba(0,0,0,0.12);
}
/* BACK BUTTON */
.btn-back {
  position: absolute;
  bottom: 25px;
  left: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: linear-gradient(90deg, #6ec1ff, #4da3ff);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.btn-back:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
.btn-back:disabled {
  background: #2fd5fe;
  cursor: not-allowed;
  opacity: 0.6;
}