.regForm .iti {
  width: 100%;
}

.regForm .form-group {
  margin-bottom: 15px;
}

.regForm {
  padding: 15px;
}

span.iti__country-name {
  color: black !important;
}

.regForm label {
  display: block;
  width: fit-content;
  font-weight: bold;
  margin-bottom: 5px;
  text-align: left;
}

.regForm input[type="text"],
.regForm input[type="email"],
.regForm input[type="tel"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

.regForm .iti__flag-container {
  white-space: nowrap;
}

.regForm .iti--separate-dial-code .iti__selected-dial-code {
  margin-left: 6px;
  font-weight: 500;
}

.regForm .iti--separate-dial-code input[type="tel"] {
  padding-left: 90px;
}

.regForm .checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.regForm .checkbox-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.5;
  white-space: nowrap;
}

.regForm .btn-submit {
  background-color: #15ca1e;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
}

.regForm .btn-submit:hover {
  background-color: #0b6710;
}

.regForm .btn-submit.disabled {
  background-color: #ccc;
  cursor: not-allowed;
  pointer-events: none;
}

.regForm .btn-submit .spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  margin-left: 8px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

:root {
  --bg: #0f1115;
  --card: #ffffff;
  --muted: #6b7280;
  --text: #111827;
  --shadow: 0 24px 70px rgba(0, 0, 0, .35);
  --radius: 14px;
  --green: #22c55e;
  --green-dark: #16a34a;
  --border: #e5e7eb;
}

.overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
}

.modal {
  width: min(640px, 100%);
  background: var(--card);
  color: var(--text);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, .08);
  position: relative;
}

.modal-header {
  padding: 22px 22px 10px;
}

.overlay-balance-title{
    font-size: clamp(18px, 2vw, 24px);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 10px;
    text-align: center;
}

.modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.modal-sub {
  margin: 10px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.modal-body {
  padding: 14px 22px 22px;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: .15s ease;
  user-select: none;
  background: #fff;
}

.opt:hover {
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.opt input {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid #cbd5e1;
  display: grid;
  place-items: center;
  margin: 0;
  flex: 0 0 auto;
}

.opt input::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  transform: scale(0);
  transition: transform .12s ease;
  background: var(--green);
}

.opt input:checked {
  border-color: var(--green);
}

.opt input:checked::before {
  transform: scale(1);
}

.opt .label {
  font-weight: 600;
  font-size: 14px;
  color: #0f172a;
}

.opt .hint {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
}

.actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

button {
  border: 0;
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 700;
  cursor: pointer;
  transition: .15s ease;
  font-size: 14px;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  flex: 1;
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-ghost {
  background: #f3f4f6;
  color: #111827;
  width: 140px;
}

.btn-ghost:hover {
  background: #e5e7eb;
}

.footer-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  line-height: 1.45;
}

/* .wrapper-close {
  display: flex;
  justify-content: flex-end;
}

.close {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, .1);
  background: #fff;
  cursor: pointer;
}

.close:hover {
  background: #f9fafb;
} */

@media (max-width:420px) {
  .btn-ghost {
    width: 120px;
  }

  .modal-header {
    padding: 18px 16px 8px;
  }

  .modal-body {
    padding: 12px 16px 18px;
  }
}