/* --- creat_account.html --- */
.signup-hero {
  background: linear-gradient(150deg, #071d44 0%, #0d3577 40%, #1565c0 75%, #1e88e5 100%);
  min-height: 38vh; position: relative; overflow: hidden; display: flex; align-items: center;
}
.signup-hero-circle { position: absolute; border-radius: 50%; background: rgba(255,255,255,.04); pointer-events: none; }
.form-card {
  background: #fff; border-radius: 1.5rem;
  padding: 2.25rem; box-shadow: 0 8px 32px rgba(13,71,161,.1);
}
.styled-input {
  border: 2px solid #e8ecf0 !important;
  border-radius: 10px !important;
  padding: .7rem 1rem !important;
  font-size: .93rem !important;
  transition: border-color .25s, box-shadow .25s !important;
}
.styled-input:focus {
  border-color: var(--bc-primary) !important;
  box-shadow: 0 0 0 4px rgba(13,71,161,.1) !important;
  outline: none !important;
}
.contact-pref-label {
  display: flex; align-items: center; gap: .65rem;
  background: #f8fafc; border: 2px solid #e8ecf0;
  border-radius: 10px; padding: .9rem 1rem;
  cursor: pointer; transition: all .2s;
  margin-bottom: .5rem;
}
.contact-pref-label:hover { border-color: var(--bc-primary); background: var(--bc-light); }
.contact-pref-label input[type=radio] { accent-color: var(--bc-primary); width: 18px; height: 18px; flex-shrink: 0; }
.contact-pref-label.selected { border-color: var(--bc-primary); background: var(--bc-light); }
.success-card {
  background: linear-gradient(135deg, #e8f5e9, #f0f4f8);
  border: 1px solid rgba(46,125,50,.2);
  border-radius: 1.5rem; padding: 3rem 2rem; text-align: center;
}
.side-info-card {
  background: #fff; border-radius: 1.25rem;
  padding: 1.75rem; box-shadow: 0 4px 20px rgba(13,71,161,.08);
  margin-bottom: 1.25rem;
}
#countryCodeInput:focus, #localPhoneInput:focus {
  border-color: var(--bc-primary) !important;
  box-shadow: 0 0 0 4px rgba(13,71,161,.1) !important;
  outline: none !important;
  z-index: 2;
  position: relative;
}

.phone-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .6rem;
  margin-bottom: .45rem;
}

.whatsapp-mini-wrap {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  flex-wrap: nowrap;
}

.whatsapp-mini-text {
  font-size: .75rem;
  color: #5f6d80;
  font-weight: 600;
  white-space: nowrap;
}

.whatsapp-mini-option {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  border: 1.5px solid #dce3ee;
  border-radius: 999px;
  padding: .2rem .45rem;
  font-size: .74rem;
  font-weight: 600;
  color: #334155;
  background: #f8fafc;
  cursor: pointer;
  margin: 0;
}

.whatsapp-mini-option input[type=radio] {
  margin: 0;
  width: 13px;
  height: 13px;
  accent-color: var(--bc-primary);
}

.whatsapp-mini-option.selected {
  border-color: var(--bc-primary);
  background: var(--bc-light);
}

@media (max-width: 575.98px) {
  .phone-header-row {
    gap: .4rem;
  }

  .whatsapp-mini-text {
    font-size: .68rem;
  }

  .whatsapp-mini-option {
    padding: .15rem .35rem;
    font-size: .68rem;
    gap: .2rem;
  }

  .whatsapp-mini-option input[type=radio] {
    width: 12px;
    height: 12px;
  }
}

/* --- account_otp_verify.html --- */
.otp-shell {
    background:
      radial-gradient(circle at top left, rgba(21, 101, 192, 0.16), transparent 34%),
      radial-gradient(circle at top right, rgba(7, 29, 68, 0.12), transparent 28%),
      linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
    min-height: 100vh;
  }

  .otp-card {
    border: 0;
    border-radius: 1.5rem;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
    overflow: hidden;
  }

  .otp-hero {
    background: linear-gradient(135deg, #071d44, #0d3577 55%, #1565c0);
    color: #fff;
    padding: 1.5rem;
  }

  .otp-hero h1 {
    color: #fff;
    margin-bottom: 0.5rem;
  }

  .otp-hero p {
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 0;
  }

  .otp-panel {
    padding: 1.25rem;
  }

  .otp-section {
    border: 1px solid #dce6f5;
    border-radius: 1rem;
    background: #fff;
    padding: 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  }

  .otp-label-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 0.75rem;
  }

  .otp-channel-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #1b2942;
  }

  .otp-channel-meta {
    font-size: 0.82rem;
    color: #6b7a90;
    margin-top: 0.15rem;
    word-break: break-word;
  }

  .otp-inputs {
    display: grid;
    grid-template-columns: repeat(6, 2.9rem);
    justify-content: center;
    gap: 0.45rem;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
  }

  .otp-digit {
    width: 2.9rem;
    height: 3.2rem;
    border: 1px solid #c9d6ea;
    border-radius: 0.85rem;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: #12213a;
    background: linear-gradient(180deg, #fff, #f6f9ff);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
  }

  .otp-digit:focus {
    outline: none;
    border-color: #1565c0;
    box-shadow: 0 0 0 0.2rem rgba(21, 101, 192, 0.16);
  }

  .otp-digit::placeholder {
    color: #9aa8bc;
    font-weight: 600;
  }

  .otp-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
  }

  .otp-secondary-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    justify-content: center;
    margin-top: 0.75rem;
  }

  .otp-secondary-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    justify-content: center;
  }

  .otp-primary-btn {
    min-width: 8.5rem;
    border-radius: 0.85rem;
    font-weight: 700;
    padding-inline: 1.1rem;
  }

  .otp-primary-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  .otp-link-btn {
    font-weight: 600;
    text-decoration: none;
    padding-left: 0;
  }

  .otp-secondary-btn {
    padding-inline: 0;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
  }

  .otp-secondary-btn,
  .otp-link-btn {
    min-height: auto;
  }

  .otp-helper {
    font-size: 0.83rem;
    color: #6b7a90;
    margin-top: 0.65rem;
    text-align: center;
  }

  .otp-mono {
    font-family: inherit;
    word-break: break-word;
  }

  .otp-contact-modal {
    position: fixed;
    inset: 0;
    background: rgba(7, 29, 68, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 1050;
  }

  .otp-contact-modal.open {
    display: flex;
  }

  .otp-contact-modal-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.2);
    overflow: hidden;
  }

  .otp-contact-modal-header {
    padding: 0.95rem 1rem;
    border-bottom: 1px solid #e4eaf5;
    background: #f7faff;
  }

  .otp-contact-modal-body {
    padding: 1rem;
  }

  .otp-contact-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.6rem;
    margin-top: 0.9rem;
  }

  @media (max-width: 575.98px) {
    .otp-panel {
      padding: 1rem;
    }

    .otp-inputs {
      grid-template-columns: repeat(6, 2.35rem);
      gap: 0.3rem;
    }

    .otp-digit {
      width: 2.35rem;
      height: 2.7rem;
      border-radius: 0.65rem;
      font-size: 0.95rem;
    }

    .otp-label-row {
      flex-direction: column;
      gap: 0.25rem;
    }

    .otp-action-row {
      align-items: stretch;
      justify-content: center;
    }

    .otp-primary-btn {
      width: auto;
    }
  }

/* --- registration.html --- */
.radio-inline-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .radio-inline-option {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid #dce3ee;
    border-radius: 0.5rem;
    background: #f8fbff;
  }

  .radio-inline-option input[type="radio"] {
    margin: 0;
  }

  .username-status {
    font-size: 0.82rem;
    margin-top: 0.35rem;
  }

  .username-status.success {
    color: #2e7d32;
  }

  .username-status.error {
    color: #b71c1c;
  }

