/* Terms box inside OTP modal */
.wgb-terms-box {
  width: 100%;
  max-height: 50vh;
  overflow: auto;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
  line-height: 1.9;
}

.wgb-bulk-copy-actions button {
    flex: 1;
    justify-content: center;
    align-items: center;
    display: flex;
    gap: 5px;
    padding: 10px !important;
    height: auto !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.2s !important;
}

.wgb-copy-full-info {
    background-color: #f0f6ff !important;
    border-color: #2271b1 !important;
    color: #2271b1 !important;
}

.wgb-copy-full-info:hover {
    background-color: #2271b1 !important;
    color: #fff !important;
}

.wgb-copy-no-wallet {
    background-color: #f6f7f7 !important;
    border-color: #dcdcde !important;
}

.wgb-copy-no-wallet:hover {
    background-color: #50575e !important;
    color: #fff !important;
}

.wgb-terms-box h2, .wgb-terms-box h3, .wgb-terms-box h4 {
  margin: 8px 0 6px;
  color: rgba(255,255,255,0.95);
  font-weight: 800;
}

.wgb-terms-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.wgb-terms-hint {
  font-size: 12px;
  opacity: .85;
}

.wgb-btn[disabled]{
  opacity: .55;
  cursor: not-allowed;
  filter: grayscale(20%);
}


.wgb-otp-overlay{
  position: fixed;
  inset: 0;
  background: rgba(2,6,23,.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999;
}

.wgb-otp-overlay.is-open{ display:flex; }
.wgb-otp-code-wrap
{
    margin-top:15px;
}
.wgb-otp-modal{
  width: min(520px, 92vw);
  border-radius: 18px;
  background: rgba(15,23,42,.72);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 25px 70px rgba(0,0,0,.55);
  overflow: hidden;
  color: rgba(255,255,255,.92);
}

.wgb-otp-head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.wgb-otp-title{ font-weight: 800; }

.wgb-otp-close{
  width: 34px; height:34px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.9);
  font-size: 20px;
  cursor:pointer;
}

.wgb-otp-body{ padding: 16px; }
.wgb-otp-note{ color: rgba(255,255,255,.75); margin-bottom: 12px; }

.wgb-otp-row{
  display:flex;
  gap:10px;
  align-items:center;
}

.wgb-otp-input{
  flex: 1;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(2,6,23,.35);
  color: rgba(255,255,255,.92);
  padding: 0 12px;
  font-size: 18px;
  letter-spacing: 6px;
  text-align: center;
  outline: none;
}

.wgb-otp-subrow{
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap:10px;
  margin-top: 12px;
}

.wgb-otp-timer{
  font-size: 12px;
  color: rgba(255,255,255,.65);
}

.wgb-otp-msg{
  margin-top: 12px;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
}

.wgb-otp-msg.is-ok{ border-color: rgba(34,197,94,.35); }
.wgb-otp-msg.is-err{ border-color: rgba(239,68,68,.35); }
