/* Kayit formunun etkilesimli alanlari: ulke / telefon kodu menusu ve tarih
   paneli. Sinif adlari orijinal react-select ve react-datepicker ciktisindan.
   Yalnizca burada tanimli olmayan yerlesim kurallari ekleniyor. */

.CustomSelectContainer { position: relative; }

.CustomSelectContainer .CustomSelect__menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 30;
  max-height: 220px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #dedede;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.CustomSelectContainer .CustomSelect__menu-list { padding: 4px 0; }

.CustomSelectContainer .CustomSelect__option {
  padding: 8px 12px;
  font-size: 13px;
  color: #212121;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.CustomSelectContainer .CustomSelect__option:hover { background: #f9c408; color: #294c0b; }

.CustomSelectContainer .CustomSelect__single-value {
  color: #212121;
  font-size: 14px;
  line-height: 1.4;
}

.CustomSelectContainer.MenuIsOpen .CustomSelect__control { border-color: #f9c408; }

.react-datepicker-wrapper { position: relative; }

.react-datepicker-popper {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 30;
  margin-top: 4px;
}

.react-datepicker {
  background: #fff;
  border: 1px solid #dedede;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  padding: 10px;
  min-width: 240px;
}

.react-datepicker__header {
  font-size: 13px;
  color: #212121;
  padding-bottom: 8px;
}

.react-datepicker__selects { display: flex; gap: 6px; }

.react-datepicker__select {
  flex: 1;
  height: 32px;
  border: 1px solid #dedede;
  border-radius: 4px;
  background: #fff;
  color: #212121;
  font-size: 13px;
}

.react-datepicker__confirm {
  margin-top: 10px;
  width: 100%;
  height: 36px;
  border: none;
  border-radius: 4px;
  background: #f9c408;
  color: #294c0b;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
/* OTP widget'i (common.pretty.js Svelte). Kurallar widget'in kendi stil
   blogundan alindi; .otp-box kurali pakette bulunmadigi icin tamamlandi. */
.OtpContent { width: 100%; display: flex; flex-direction: column; gap: 20px; }
.OtpFieldWrapper { display: flex; flex-direction: column; gap: 10px; }
.OtpFieldWrapper h2 { margin: 0; }
.OtpTimer { font-size: 13px; color: #cacaca; }
.OtpField { display: flex; gap: 8px; align-items: center; }
.OtpField .otp-box {
  width: 44px;
  height: 52px;
  text-align: center;
  font-size: 20px;
  color: #212121;
  background: #fff;
  border: 1px solid #dedede;
  border-radius: 6px;
}
.OtpField .otp-box.space { margin-right: 12px; }
.OtpField .otp-box:focus { outline: none; border-color: #f9c408; }
.OtpButton {
  text-transform: uppercase;
  font-weight: 500;
  color: #000;
  text-align: center;
  font-size: 16px;
  height: 46px;
  border: none;
  background: #f9c408;
  border-radius: 10px;
  width: 100%;
  margin: 12px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.OtpButton:disabled { opacity: .55; cursor: default; }
.OtpLoaderContainer { display: flex; justify-content: center; }
.OtpLoader {
  width: 22px;
  height: 22px;
  border: 2px solid #f9c408;
  border-top-color: transparent;
  border-radius: 50%;
  display: inline-block;
  animation: otpSpin .7s linear infinite;
}
@keyframes otpSpin { to { transform: rotate(360deg); } }