/* Oturum aç / kayıt — styles.css .login-card (beyaz) ile çakışmaması için ayrı sınıf */

body.home-future .login-modal.auth-modal {
  z-index: 320;
}

body.home-future .auth-modal .modal-backdrop {
  background: rgba(2, 4, 10, .82);
  backdrop-filter: blur(10px);
}

body.home-future #loginModal .auth-card,
body.home-future #registerModal .auth-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  width: min(460px, 100%);
  min-width: 0;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  padding: clamp(22px, 4vw, 30px);
  color: #eef2ff !important;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  background:
    radial-gradient(circle at 10% 0%, rgba(66, 217, 255, .14), transparent 42%),
    radial-gradient(circle at 95% 6%, rgba(255, 122, 0, .12), transparent 38%),
    linear-gradient(160deg, rgba(14, 18, 32, .98), rgba(8, 10, 18, .96)) !important;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, .55),
    inset 0 1px 0 rgba(255, 255, 255, .08);
}

body.home-future #loginModal .modal-close,
body.home-future #registerModal .modal-close {
  color: #e2e8f0;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
}

body.home-future #loginModal .auth-card img,
body.home-future #registerModal .auth-card img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .16);
  box-shadow: 0 12px 32px rgba(255, 122, 0, .25);
}

body.home-future #loginModal .auth-card .eyebrow,
body.home-future #registerModal .auth-card .eyebrow {
  margin: 0;
  color: #ff7a00;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.home-future #loginModal .auth-card h2,
body.home-future #registerModal .auth-card h2 {
  margin: 0;
  padding-right: 42px;
  font-family: Syne, Inter, sans-serif;
  font-size: clamp(22px, 4vw, 28px);
  line-height: 1.15;
  color: #fff !important;
}

body.home-future #loginModal .auth-card label,
body.home-future #registerModal .auth-card label {
  display: grid;
  gap: 8px;
  color: #cbd5e1 !important;
  font-size: 13px;
  font-weight: 700;
}

/* E-posta: kutu div uzerinde (telefon gibi), eklenti inputu bozsa bile kutu gorunur */
body.home-future #loginModal .auth-card .auth-field-stack,
body.home-future #registerModal .auth-card .auth-field-stack {
  display: grid;
  gap: 8px;
}

body.home-future #loginModal .auth-card .auth-field-title,
body.home-future #registerModal .auth-card .auth-field-title {
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 700;
}

body.home-future #loginModal .auth-card .auth-field-box,
body.home-future #registerModal .auth-card .auth-field-box {
  position: relative;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  min-height: 48px;
  background: rgba(255, 255, 255, .06) !important;
  background-image: none !important;
  background-repeat: no-repeat !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

body.home-future #loginModal .auth-card .auth-field-box::before,
body.home-future #registerModal .auth-card .auth-field-box::before,
body.home-future #loginModal .auth-card .auth-field-box::after,
body.home-future #registerModal .auth-card .auth-field-box::after {
  display: none !important;
  content: none !important;
}

body.home-future #loginModal .auth-card .auth-field-box > *:not(input),
body.home-future #registerModal .auth-card .auth-field-box > *:not(input),
body.home-future #loginModal .auth-card .auth-field-box img,
body.home-future #registerModal .auth-card .auth-field-box img,
body.home-future #loginModal .auth-card .auth-field-box iframe,
body.home-future #registerModal .auth-card .auth-field-box iframe,
body.home-future #loginModal .auth-card .auth-field-box svg,
body.home-future #registerModal .auth-card .auth-field-box svg,
body.home-future #loginModal .auth-card .auth-field-box button,
body.home-future #registerModal .auth-card .auth-field-box button,
body.home-future #loginModal .auth-card .auth-field-stack [class*="temp"],
body.home-future #registerModal .auth-card .auth-field-stack [class*="temp"],
body.home-future #loginModal .auth-card .auth-field-stack [id*="temp"],
body.home-future #registerModal .auth-card .auth-field-stack [id*="temp"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  max-width: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
}

body.home-future #loginModal .auth-card .auth-field-box input,
body.home-future #registerModal .auth-card .auth-field-box input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  min-height: 46px !important;
  margin: 0;
  padding: 0 14px;
  color: #f8fafc !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
}

body.home-future #loginModal .auth-card [class*="temp-mail"],
body.home-future #registerModal .auth-card [class*="temp-mail"],
body.home-future #loginModal .auth-card [class*="tempmail"],
body.home-future #registerModal .auth-card [class*="tempmail"] {
  display: none !important;
}

body.home-future #registerModal .auth-card .phone-field-block {
  display: grid;
  gap: 8px;
}

body.home-future #registerModal .auth-card .phone-field-title {
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 700;
}

body.home-future #loginModal .auth-card input:not([type="checkbox"]),
body.home-future #registerModal .auth-card input:not([type="checkbox"]) {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  font-size: 16px;
  padding: 0 14px;
  color: #f8fafc !important;
  background: rgba(255, 255, 255, .06) !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

body.home-future #loginModal .auth-card input::placeholder,
body.home-future #registerModal .auth-card input::placeholder {
  color: #64748b;
}

body.home-future #loginModal .auth-card input:focus,
body.home-future #registerModal .auth-card input:focus {
  outline: none;
  border-color: rgba(66, 217, 255, .55) !important;
  box-shadow:
    0 0 0 3px rgba(66, 217, 255, .18),
    inset 0 1px 0 rgba(255, 255, 255, .06);
}

body.home-future #loginModal .auth-card input:-webkit-autofill,
body.home-future #registerModal .auth-card input:-webkit-autofill {
  -webkit-text-fill-color: #f8fafc !important;
  box-shadow: 0 0 0 1000px rgba(12, 18, 32, .95) inset !important;
}

body.home-future #registerModal .auth-card .phone-control--country {
  position: relative;
  display: flex !important;
  grid-template-columns: unset;
  align-items: stretch;
  overflow: visible;
  min-height: 46px;
  background: rgba(255, 255, 255, .06) !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  border-radius: 12px;
}

body.home-future #registerModal .auth-card .phone-control--country > span {
  display: inline;
  padding: 0;
  background: transparent;
  border: 0;
  color: inherit;
}

body.home-future #registerModal .auth-card .phone-control--country.is-country-open {
  z-index: 55;
  overflow: visible;
}

body.home-future #registerModal .auth-card .phone-country-picker {
  position: relative;
  flex: 0 0 auto;
  height: auto;
  padding: 0;
  background: transparent !important;
  border: 0;
}

body.home-future #registerModal .auth-card .phone-country-trigger {
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  min-width: 92px;
  max-width: 108px;
  flex: 0 0 auto;
  min-height: 46px;
  padding: 0 10px 0 8px;
  color: #f8fafc !important;
  background: rgba(255, 255, 255, .08) !important;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 12px 0 0 12px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  box-shadow: none;
}

body.home-future #registerModal .auth-card .phone-country-trigger:hover,
body.home-future #registerModal .auth-card .phone-country-trigger:focus-visible {
  background: rgba(66, 217, 255, .12);
  outline: none;
}

body.home-future #registerModal .auth-card .phone-country-flag {
  flex: 0 0 auto;
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .35);
}

body.home-future #registerModal .auth-card .phone-country-dial {
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

body.home-future #registerModal .auth-card .phone-country-chevron {
  margin-left: auto;
  font-size: 10px;
  opacity: .75;
}

body.home-future #registerModal .auth-card .phone-country-menu {
  position: absolute;
  z-index: 60;
  top: calc(100% + 6px);
  left: 0;
  width: min(340px, calc(100vw - 32px));
  min-width: 300px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(10, 14, 26, .98);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .55);
}

body.home-future #registerModal .auth-card .phone-country-menu[hidden] {
  display: none !important;
}

body.home-future #registerModal .auth-card .phone-country-menu-title {
  margin: 0;
  padding: 10px 12px 6px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.home-future #registerModal .auth-card .phone-country-list {
  margin: 0;
  padding: 4px 8px 8px;
  list-style: none;
  width: 100%;
  min-width: 0;
  max-height: min(260px, 40vh);
  overflow-y: auto;
  overflow-x: hidden;
}

body.home-future #registerModal .auth-card .phone-country-list li {
  width: 100%;
}

body.home-future #registerModal .auth-card .phone-country-option {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 52px;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-width: 100%;
  padding: 10px 12px;
  color: #e2e8f0;
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

body.home-future #registerModal .auth-card .phone-country-option:hover,
body.home-future #registerModal .auth-card .phone-country-option[aria-selected="true"] {
  background: rgba(66, 217, 255, .12);
}

body.home-future #registerModal .auth-card .phone-country-option-flag {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, .14);
}

body.home-future #registerModal .auth-card .phone-country-option-name {
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.home-future #registerModal .auth-card .phone-country-option-dial {
  justify-self: end;
  font-size: 12px;
  font-weight: 800;
  color: #94a3b8;
  white-space: nowrap;
}

body.home-future #registerModal .auth-card .phone-country-empty {
  padding: 12px;
  color: #94a3b8;
  font-size: 13px;
  text-align: center;
}

body.home-future #registerModal .auth-card .phone-control--country input[name="register_phone"] {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  min-height: 46px !important;
  border: 0 !important;
  background: transparent !important;
  border-radius: 0 12px 12px 0;
}

body.home-future #registerModal .auth-card input[name="register_phone"]::placeholder {
  color: rgba(255, 255, 255, .34);
  font-size: 12px;
  font-weight: 700;
}

body.home-future #registerModal .auth-card input[name="register_phone"]:focus::placeholder {
  color: #64748b;
  font-weight: 500;
}

body.home-future #registerModal .auth-card:has(.phone-control--country.is-country-open) {
  overflow: visible;
}

body.home-future #registerModal .auth-card .phone-field-block:has(.phone-control--country.is-country-open) {
  overflow: visible;
}

body.home-future #registerModal .auth-card .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.home-future #loginModal .auth-card .remember-row,
body.home-future #registerModal .auth-card .consent-row {
  display: flex !important;
  align-items: center;
  gap: 10px;
  color: #cbd5e1 !important;
  font-weight: 600 !important;
}

body.home-future #loginModal .auth-card .remember-row input,
body.home-future #registerModal .auth-card .consent-row input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  accent-color: #ff7a00;
}

body.home-future #loginModal .auth-card .consent-row {
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
}

body.home-future #loginModal .auth-card .consent-row a,
body.home-future #registerModal .auth-card .consent-row a {
  color: #42d9ff;
  font-weight: 700;
}

body.home-future #loginModal .auth-card .form-alert,
body.home-future #registerModal .auth-card .form-alert {
  color: #fecaca;
  background: rgba(127, 29, 29, .35);
  border: 1px solid rgba(248, 113, 113, .35);
  border-left: 4px solid #f87171;
}

body.home-future #loginModal .auth-card .primary-button,
body.home-future #registerModal .auth-card .primary-button {
  min-height: 48px;
  width: 100%;
  font-size: 15px;
  font-weight: 800;
  color: #0b0f19 !important;
  background: linear-gradient(135deg, #ff7a00, #ffd166 48%, #42d9ff) !important;
  border: 0 !important;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(255, 122, 0, .35);
}

body.home-future #loginModal .auth-card .login-switch,
body.home-future #registerModal .auth-card .login-switch {
  display: grid;
  gap: 8px;
  padding-top: 10px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

body.home-future #loginModal .auth-card .login-switch span,
body.home-future #registerModal .auth-card .login-switch span {
  color: #94a3b8 !important;
  font-size: 13px;
  font-weight: 600;
}

body.home-future #loginModal .auth-card .login-switch .ghost-button,
body.home-future #registerModal .auth-card .login-switch .ghost-button {
  width: 100%;
  min-height: 44px;
  color: #fff !important;
  background: rgba(255, 255, 255, .1) !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  border-radius: 12px;
}

body.home-future #loginModal .auth-card small,
body.home-future #registerModal .auth-card small {
  color: #94a3b8 !important;
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

@media (max-width: 520px) {
  body.home-future #loginModal .auth-card,
  body.home-future #registerModal .auth-card {
    width: calc(100vw - 24px);
    padding: 18px 16px;
  }

  body.home-future #loginModal .auth-card .form-two-column,
  body.home-future #registerModal .auth-card .form-two-column {
    grid-template-columns: 1fr;
  }
}
