/* Premium Step2 (Input data) styling for exchange form
   Scoped to #step2 to avoid impacting other pages */

#step2 {
  --step2-bg: rgba(15, 23, 42, 0.70);
  --step2-border: rgba(59, 130, 246, 0.18);
  --step2-field-bg: rgba(255, 255, 255, 0.04);
  --step2-field-border: rgba(255, 255, 255, 0.12);
  --step2-muted: rgba(255, 255, 255, 0.72);
  --step2-muted-2: rgba(255, 255, 255, 0.60);
  --step2-white: #ffffff;
  --step2-radius: 24px;
  /* Prevent "endless" long inputs on wide monitors */
  --step2-maxw: 980px;
}

/* The global header styles position .input-value absolutely to the right.
   Step2 needs classic inline layout inside the input-group. */
#step2.moneytop {
  background: transparent;
  box-shadow: none;
  /* remove legacy inner padding that shifts step2 content */
  padding: 0;
}

#step2 .help-block {
  /* override global header .help-block "badge" layout */
  display: block;
  padding: 0;
  gap: 0;
  background: transparent;
  border-radius: 0;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0;
  margin: 8px 0 0 0;
}

#step2 .exc-step2-card {
  background: var(--step2-bg);
  border: 1px solid var(--step2-border);
  border-radius: var(--step2-radius);
  padding: 28px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  /* Premium width but left-aligned with the page container (matches top nav tabs) */
  max-width: var(--step2-maxw);
  margin: 0;
}

/* Bootstrap columns inside step2 are float-based; ensure the card wraps them */
#step2 .exc-step2-card::after,
#step2 .exc-step2-card form::after {
  content: "";
  display: block;
  clear: both;
}

@media (max-width: 768px) {
  #step2 .exc-step2-card {
    padding: 18px;
    border-radius: 18px;
  }
}

/* Steps
   Step2 must use the SAME step bar as step3/step4.
   That style is defined globally in `template/default/header.htm` for `.aop-steps`.
   Do not override `.aop-steps` in this file. */

/* Step2 top rate summary (replaces old huge kurs bars) */
#step2 .exc-step2-ratebar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  /* align to the card content, not vice-versa */
  margin: 6px 0 18px 0;
  max-width: var(--step2-maxw);
  margin-left: 0;
  margin-right: auto;
}

@media (max-width: 768px) {
  #step2 .exc-step2-ratebar {
    grid-template-columns: 1fr;
  }
}

#step2 .exc-step2-ratepill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  min-height: 56px;
}

#step2 .exc-step2-rateleft {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

#step2 .exc-step2-rateicon {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

#step2 .exc-step2-ratecur {
  color: rgba(255,255,255,0.85);
  font-weight: 750;
  font-size: 15px;
  line-height: 20px;
  white-space: nowrap;
}

#step2 .exc-step2-ratevalue {
  color: rgba(255,255,255,0.95);
  font-weight: 800;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: -0.01em;
  text-align: right;
}

/* header.htm sets #fkurs (but not #tkurs) to 10px globally.
   In step2 ratebar we need both to be identical. */
#step2 #fkurs,
#step2 #tkurs {
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
}

#step2 .exc-step2-rateright {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

#step2 .exc-step2-ratepill .timer {
  position: static;
  float: none;
}

#step2 .exc-step2-ratepill .timer .seconds {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.85);
  font-weight: 800;
  font-size: 13px;
  line-height: 18px;
}

/* (removed step2-specific aop-steps styling) */

/* Top rate boxes */
#step2 .kursbox,
#step2 .kursboxf-2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  width: 100%;
  min-height: 52px;
  padding: 10px 14px;

  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.92);
  border-radius: 16px;
}

#step2 .kursboxf,
#step2 .kursboxt {
  text-align: left;
}

/* Put timer nicely next to the right kurs box (no floating/overlaps) */
#step2 .kursboxt {
  display: flex;
  align-items: center;
  gap: 12px;
}

#step2 .kursboxt .timer {
  position: static;
  float: none;
  right: auto;
  top: auto;
}

#step2 .kursboxt .timer .seconds {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.85);
  font-weight: 700;
  font-size: 13px;
  line-height: 18px;
}

#step2 .kursicon {
  margin: 0;
}

/* Labels & help */
#step2 .info-title {
  color: rgba(255,255,255,0.92);
  font-weight: 650;
  letter-spacing: -0.01em;
}

#step2 .help-block {
  color: var(--step2-muted-2);
}

#step2 .help-block.f_red,
#step2 .help-block .f_red {
  color: #fecdd3 !important;
}

/* Bootstrap input-group in this template is custom; switch to flex for consistent layout */
#step2 .input-group {
  display: flex;
  align-items: stretch;
  width: 100%;
  position: relative;

  /* Make the whole control a single "premium" piece (no seams between addons and input) */
  height: 52px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--step2-field-bg);
  border: 1px solid var(--step2-field-border);
}

#step2 .input-group .input-value {
  /* cancel global absolute positioning */
  position: static;
  right: auto;
  top: auto;

  display: inline-flex;
  align-items: stretch;
  flex: 0 0 auto;
  gap: 0;
}

/* exchange.css hides vnot on #step2 - bring it back */
#step2 .vnot {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

#step2 .input-group-addon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 14px;
  color: rgba(255,255,255,0.85);
  background: transparent;
  border: 0;
  width: auto;
  text-align: center;
}

/* Inner separators between left addons and the input text (subtle, "premium") */
#step2 .input-group .input-value .input-group-addon {
  border-right: 1px solid rgba(255,255,255,0.10);
}

#step2 .input-group-addon.vnot {
  min-width: 56px;
  padding: 0 12px;
}

/* Make Telegram icon match theme */
#step2 .input-group-addon.vnot .fa-telegram {
  color: rgba(0, 133, 255, 0.98);
  font-size: 22px;
  line-height: 1;
}

#step2 .input-group-addon.vnot.tg {
  background: rgba(0, 133, 255, 0.10);
}

/* Custom/extra fields (rendered via fields_ex_html) — make them less "long" */
@media (min-width: 992px) {
  #step2 .exc-step2-extra-grid .row {
    display: flex;
    flex-wrap: wrap;
  }
  #step2 .exc-step2-extra-grid .row > .col-md-12.col-sm-12 {
    width: 50% !important;
    float: left;
  }
}

/* Email + Telegram: premium compact grid (no bootstrap row padding mismatch) */
#step2 .exc-step2-contact-grid {
  display: flex;
  gap: 18px;
  width: 100%;
}

#step2 .exc-step2-contact-item {
  flex: 1 1 0;
  min-width: 0;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
}

@media (max-width: 768px) {
  #step2 .exc-step2-contact-grid {
    flex-direction: column;
    gap: 12px;
  }
}

/* Hide empty icon add-ons (fixes empty square on Telegram/Jabber and similar optional fields) */
#step2 .input-group-addon.vnot:empty {
  display: none !important;
}

/* If an empty input-value wrapper exists (from global header styles), hide it */
#step2 .input-value:empty {
  display: none !important;
}

/* When we remove empty addons via JS, normalize the control */
#step2 .input-group.no-addon-left .form-control,
#step2 .input-group.no-addon-left select.form-control {
  border-radius: 0;
}

/* Discount block (Your discount) - restyle legacy .m-discount (white popover) into glass card */
#step2 #disctab {
  margin-top: 12px;
}

#step2 #disctab .accordion-group,
#step2 #disctab .accordion-heading,
#step2 #disctab .accordion-inner {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#step2 #disctab .accordion-heading a.accordion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.90);
  text-decoration: none;
}

#step2 #disctab .accordion-heading a.accordion-toggle:hover {
  background: rgba(255,255,255,0.06);
}

#step2 #disctab .accordion-body {
  margin-top: 10px;
}

/* Make outer container "invisible" so we don't get a huge full-width box.
   We'll render a compact premium card inside (.bl-disc-card). */
#step2 #disctab .m-discount {
  position: static;
  display: block;
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

#step2 #diSCounts .divider1 {
  /* legacy divider line after the discount block (creates the long horizontal line) */
  display: none !important;
}

#step2 #disctab .bl-disc-card {
  display: inline-block;
  width: 100%;
  max-width: 360px; /* compact */
  padding: 6px 8px;
  background: linear-gradient(180deg, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 16px;
  overflow: hidden; /* nothing should visually leak outside */
  box-shadow: 0 18px 40px -34px rgba(0,0,0,0.65);
}

#step2 #disctab .bl-disc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

#step2 #disctab .bl-disc-pill {
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 133, 255, 0.16);
  border: 1px solid rgba(0, 133, 255, 0.28);
  color: rgba(255,255,255,0.95);
  font-weight: 850;
  margin: 0;
  line-height: 22px;
  font-size: 11px;
}

#step2 #disctab .bl-disc-statusbar {
  display: inline-flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  /* let the bar fill available space up to the % pill */
  max-width: none;
}

#step2 #statusbar .progress,
#step2 #statusbar .perc {
  width: 100% !important;
  flex: 1 1 auto;
  min-width: 0;
  height: 6px;
}

#step2 #disctab .bl-disc-rows {
  display: grid;
  gap: 3px;
}

#step2 #disctab .bl-disc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 2px 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  position: relative;
}

#step2 #disctab .bl-disc-row::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: -1px;
  height: 1px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
}

#step2 #disctab .bl-disc-row:last-child::after {
  content: none;
}

#step2 #disctab .bl-disc-label {
  color: rgba(255,255,255,0.78);
  font-weight: 600;
  font-size: 11px;
  line-height: 1.25;
  flex: 1 1 auto;
  min-width: 0; /* critical: allow flex item to shrink inside the card */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#step2 #disctab .bl-disc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  min-width: 0;
  color: rgba(255,255,255,0.80);
  /* Ensure link text matches plain label (some global styles target <a>) */
  font: inherit !important;
  font-weight: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
  text-decoration: none !important;
  border-bottom: 0 !important; /* override global a.dot dashed underline */
}

#step2 #disctab .bl-disc-link:hover {
  color: rgba(255,255,255,0.95);
}

#step2 #disctab .bl-disc-i {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: rgba(0, 133, 255, 0.14);
  border: 1px solid rgba(0, 133, 255, 0.22);
  color: rgba(255,255,255,0.95);
  font-weight: 900;
  font-size: 11px;
  line-height: 16px;
}

#step2 #disctab .bl-disc-i::before { content: "i"; }

#step2 #disctab .bl-disc-value {
  color: rgba(255,255,255,0.95);
  font-weight: 800;
  font-size: 11px;
  text-align: right;
  white-space: nowrap;
  flex: 0 0 auto;
}

/* Step2 discount modals (Accumulative/Amount) — premium dark-glass */
.bl-step2-modal .modal-dialog {
  width: auto;
  max-width: 820px;
  margin: 8vh auto 0 auto;
}

@media (max-width: 768px) {
  .bl-step2-modal .modal-dialog {
    max-width: calc(100vw - 24px);
    margin: 16px auto;
  }
}

.bl-step2-modal .modal-content {
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  box-shadow: 0 30px 80px -35px rgba(0,0,0,0.85);
  color: rgba(255,255,255,0.90);
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.bl-step2-modal .modal-header {
  border: 0;
  padding: 16px 18px 12px;
  position: relative;
}

.bl-step2-modal .modal-header::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 1px;
  background: rgba(255,255,255,0.10);
}

.bl-step2-modal .modal-title {
  color: rgba(255,255,255,0.95);
  font-weight: 850;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin: 0;
}

.bl-step2-modal .close {
  opacity: 1;
  text-shadow: none;
  outline: none;
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.80);
}

.bl-step2-modal .close:hover {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.95);
}

.bl-step2-modal .close span {
  font-size: 22px;
  line-height: 30px;
}

.bl-step2-modal .modal-body {
  padding: 14px 18px 18px;
  overflow-x: auto;
}

.bl-step2-modal table.table {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
}

.bl-step2-modal table.table tr:first-child td {
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.72);
  font-weight: 800;
  font-size: 12px;
}

.bl-step2-modal table.table td {
  border-color: rgba(255,255,255,0.08) !important;
  color: rgba(255,255,255,0.88);
  font-size: 13px;
  font-weight: 650;
  padding: 12px 12px;
  vertical-align: middle;
  font-variant-numeric: tabular-nums;
}

.bl-step2-modal table.table tr:hover td {
  background: rgba(0,133,255,0.06);
}

/* Bootstrap adds a light hover background on .table-hover — force dark on step2 modals */
.bl-step2-modal .table-hover > tbody > tr:hover > td,
.bl-step2-modal .table-hover > tbody > tr:hover > th {
  background: rgba(0,133,255,0.06) !important;
  color: rgba(255,255,255,0.90) !important;
}

/* Some Bootstrap builds apply hover on <tr> itself — override that too */
.bl-step2-modal .table-hover > tbody > tr:hover {
  background-color: rgba(0,133,255,0.06) !important;
}

/* Absolute fallback: any row hover inside our modal table stays dark */
.bl-step2-modal table.table tbody tr:hover > td,
.bl-step2-modal table.table tbody tr:hover > th {
  background-color: rgba(0,133,255,0.06) !important;
  color: rgba(255,255,255,0.90) !important;
}

/* Some themes mark the row as "active" on hover/click — keep it dark too */
.bl-step2-modal .table > tbody > tr.active > td,
.bl-step2-modal .table > tbody > tr.active > th,
.bl-step2-modal .table > tbody > tr > td.active,
.bl-step2-modal .table > tbody > tr > th.active {
  background: rgba(0,133,255,0.08) !important;
  color: rgba(255,255,255,0.92) !important;
}

.bl-step2-modal table.table td:nth-child(1),
.bl-step2-modal table.table td:nth-child(3) {
  white-space: nowrap;
}

.bl-step2-modal table.table td:nth-child(2) {
  width: 40px;
  text-align: center;
  color: rgba(255,255,255,0.55);
}

.bl-step2-modal table.table td:last-child {
  width: 110px;
  text-align: right;
  font-weight: 850;
  color: rgba(255,255,255,0.95);
}

#step2 #disctab .bl-disc-total {
  padding: 6px 8px;
  border-radius: 12px;
  background: rgba(0,133,255,0.06);
  border: 1px solid rgba(0,133,255,0.18);
  margin-top: 4px;
}

/* Smooth the inner progress pill */
#step2 #disctab #statusbar .progress,
#step2 #disctab #statusbar .perc {
  border-radius: 999px !important;
  overflow: hidden;
}

@media (max-width: 768px) {
  #step2 #disctab .bl-disc-card {
    max-width: none;
    width: 100%;
  }
  #step2 #disctab .bl-disc-statusbar {
    max-width: none;
  }
}

#step2 #disctab .m-discount-title:not(.bl-disc-card) {
  padding: 0;
  margin: 0;
  background: transparent;
  border-bottom: 0;
  border-radius: 0;
}

#step2 #disctab .navbar-form {
  margin: 0;
  padding: 0;
  /* Make bar + percent pill sit on ONE line and vertically centered */
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: nowrap;
  white-space: nowrap;
  /* kill &nbsp; text-node spacing in markup */
  font-size: 0;
}

#step2 #disctab .navbar-form > * {
  font-size: 14px;
}

#step2 #disctab .divider1 {
  display: none !important;
}

#step2 #statusbar {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto;
}

#step2 #disctab #statusbar .progress {
  height: 6px;
  margin: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: none;
  width: 100%;
  flex: 1 1 auto;
}

#step2 #statusbar .progress-bar,
#step2 #statusbar .progress-bar-warning {
  background: linear-gradient(93.03deg, #007bff 0%, #00a2ff 100%) !important;
  box-shadow: 0px 10px 22px rgba(0, 123, 255, 0.20);
  border: 0 !important;
}

/* perc() injects an inner <div style="width:..."> inside .progress-bar — override that too */
#step2 #statusbar .progress-bar > div {
  background: linear-gradient(93.03deg, #007bff 0%, #00a2ff 100%) !important;
}

#step2 #statusbar {
  display: inline-flex;
  align-items: center;
}

/* fperc() renders <div class="perc" style="width:..."><div style="width:..."></div></div>
   Style it too (this was the source of the remaining green bar). */
#step2 #disctab #statusbar .perc {
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  box-shadow: none;
  width: 100%;
  flex: 1 1 auto;
}

#step2 #disctab #statusbar .perc > div {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(93.03deg, #007bff 0%, #00a2ff 100%) !important;
  box-shadow: 0px 8px 18px rgba(0, 123, 255, 0.18);
}

#step2 #discount.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(0, 133, 255, 0.16);
  border: 1px solid rgba(0, 133, 255, 0.28);
  color: rgba(255,255,255,0.95);
  font-weight: 800;
  margin: 0;
  line-height: 22px;
  font-size: 11px;
}

@media (max-width: 768px) {
  #step2 #disctab .navbar-form {
    flex-wrap: wrap;
    white-space: normal;
  }
  #step2 #statusbar .progress,
  #step2 #statusbar .perc {
    width: 100%;
    flex: 1 1 100%;
    min-width: 220px;
  }
}

#step2 #disctab .f_default {
  color: rgba(255,255,255,0.90) !important;
}

#step2 .input-group .form-control,
#step2 .input-group select.form-control {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 52px;
  border-radius: 0;
  background: transparent;
  border: 0 !important;
  color: #fff;
  font-weight: 400;
  /* header.htm has global font-size overrides with !important; step2 must win */
  font-size: 14px !important;
  line-height: 20px !important;
  box-shadow: none;
}

/* Make numeric amount fields slightly larger without blowing up email/address/etc */
#step2 #fval,
#step2 #fcval,
#step2 #tval,
#step2 #syscomis,
#step2 #exchcomis {
  font-size: 15px !important;
  line-height: 21px !important;
  letter-spacing: -0.01em;
}

#step2 textarea.form-control {
  background: var(--step2-field-bg);
  border: 1px solid var(--step2-field-border);
  border-radius: 16px;
  color: #fff;
  font-size: 14px !important;
  line-height: 20px !important;
}

/* Ensure any "big" controls inside step2 actually look big (email/address/custom fields) */
#step2 .form-control.big {
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 400;
}

/* Make currency labels (BTC/USDT) match the premium look; keep icon addon unchanged */
#step2 .input-group-addon:not(.vnot) {
  font-size: 14px !important;
  font-weight: 400;
  letter-spacing: -0.01em;
}

#step2 .input-group .form-control:focus,
#step2 textarea.form-control:focus,
#step2 select.form-control:focus {
  outline: none;
  box-shadow: none;
}

/* Focus ring should wrap the whole combined control */
#step2 .input-group:focus-within {
  border-color: rgba(0, 133, 255, 0.65);
  box-shadow: 0 0 0 2px rgba(0, 133, 255, 0.18);
}

/* Exchange type (auto/manual/semiauto) */
#step2 .exc-type-card {
  margin-top: 10px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
}

#step2 .exc-type-title {
  color: rgba(255,255,255,0.90);
  font-weight: 700;
  margin-bottom: 10px;
}

#step2 #types {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255,255,255,0.86);
  font-weight: 650;
}

#step2 #types input[type="hidden"] {
  display: none !important;
}

#step2 #types > div {
  margin: 0 !important;
}

#step2 #types label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.85);
}

#step2 #types input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: 0;
}

/* Buttons */
#step2 .buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px !important;
}

#step2 .buttons .btn {
  float: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

#step2 .buttons .btn:hover {
  transform: translateY(-1px);
}

#step2 .buttons .btn.btn-primary {
  border: none;
  background: linear-gradient(93.03deg, #007bff 0%, #00a2ff 100%);
  box-shadow: 0px 12px 30px rgba(0, 123, 255, 0.25);
  color: #fff;
}

#step2 .buttons .btn.btn-primary[disabled] {
  opacity: 0.55;
  filter: grayscale(10%);
  cursor: not-allowed;
  box-shadow: none;
}

