/* login.css — Giriş / Kayıt sayfası temiz stilleri (Tailwind kaldırıldı, dış bağımlılık yok) */

.Register-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}

/* Ana kart — user'ın istediği .Register sınıfı; H_payment ile birebir yapışık */
.Register {
  background-color: #39414a;
  padding-bottom: 30px;
  padding-top: 10px;
  width: 100%;
  margin: 0;
}

.Register-inner {
  max-width: 480px;
  margin: 0 auto;
  padding: 8px 20px 0;
}

/* Başlık */
.Register-title {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.5px;
  margin: 8px 0 10px;
}
.Register-subtitle {
  color: #b9c0c8;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  margin: 0 0 20px;
}

/* Sekmeler (Giriş Yap / Kayıt Ol) */
.Register-tabs {
  display: flex;
  width: 100%;
  border: 1px solid #495159;
  border-radius: 12px;
  padding: 6px;
  gap: 6px;
  margin-bottom: 22px;
  background: rgba(0,0,0,0.08);
}
.Register-tab {
  flex: 1;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #b9c0c8;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.Register-tab.active {
  background-color: #00875a;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,135,90,0.35);
}
.Register-tab:not(.active):hover {
  color: #fff;
}

/* Form */
.Register-form { display: flex; flex-direction: column; }

.Register-field { margin-bottom: 14px; }

.Register-label {
  display: block;
  font-size: 12px;
  color: #b9c0c8;
  font-weight: 500;
  margin: 0 0 6px 18px;
  letter-spacing: 0.2px;
}

.Register-input-wrap {
  display: flex;
  align-items: center;
  height: 48px;
  padding-left: 18px;
  padding-right: 12px;
  background: #2f363d;
  border: 1px solid #495159;
  border-radius: 12px;
  transition: border-color .2s, background-color .2s;
}
.Register-input-wrap:focus-within {
  border-color: #00875a;
  background: #333b43;
}
.Register-input-icon {
  color: #b9c0c8;
  font-size: 18px;
  margin-right: 12px;
  flex: 0 0 auto;
}

/* Kayıt için 3'lü Doğum tarihi seçici */
.Register-input-wrap-triple {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 8px;
}
.Register-select {
  height: 48px;
  padding: 0 12px;
  background: #2f363d;
  border: 1px solid #495159;
  border-radius: 12px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%23b9c0c8' d='M5 6 0 0h10z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 28px;
  transition: border-color .2s, background-color .2s;
}
.Register-select:focus {
  outline: 0;
  border-color: #00875a;
  background-color: #333b43;
}
.Register-select option { background: #2f363d; color: #fff; }
.Register-input {
  flex: 1;
  min-width: 0;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: #fff !important;
  font-family: inherit;
  font-size: 15px;
  padding: 0;
  height: 100%;
  box-shadow: none !important;
}
.Register-input::placeholder { color: rgba(255,255,255,0.35); }
.Register-input:-webkit-autofill,
.Register-input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff;
  transition: background-color 9999s ease-in-out 0s;
}
.Register-input-toggle {
  background: transparent;
  border: 0;
  color: #6b7580;
  cursor: pointer;
  padding: 6px;
  font-size: 15px;
  transition: color .2s;
}
.Register-input-toggle:hover { color: #b9c0c8; }

/* Beni hatırla — özel checkbox */
.Register-check {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin: 12px 0 6px 4px;
  user-select: none;
}
.Register-check input[type=checkbox] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.Register-check-box {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 1.5px solid #6b7580;
  border-radius: 6px;
  background: #2f363d;
  position: relative;
  transition: background .2s, border-color .2s;
  flex: 0 0 auto;
}
.Register-check-box::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity .2s;
}
.Register-check input:checked + .Register-check-box {
  background: #00875a;
  border-color: #00875a;
}
.Register-check input:checked + .Register-check-box::after { opacity: 1; }
.Register-check-label {
  font-size: 13px;
  color: #b9c0c8;
  font-weight: 500;
}

/* Submit butonu */
.Register-submit {
  width: 100%;
  height: 52px;
  margin-top: 18px;
  background-color: #00875a;
  color: #fff;
  border: 0;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s, transform .1s;
  font-family: inherit;
}
.Register-submit:hover { background-color: #006e49; }
.Register-submit:active { transform: scale(0.995); }

/* Parolamı unuttum */
.Register-forgot {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  background: #495159;
  color: #d2d7dc;
  text-decoration: none;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 10px;
  transition: background-color .2s;
}
.Register-forgot:hover { background: #545c65; color: #fff; }

/* Küçük ekranlarda içerik kompakt */
@media (max-width: 390px) {
  .Register-inner { padding: 8px 16px 0; }
  .Register-title { font-size: 22px; }
}
