/* Üyelik splash + sayfa formları (e-posta/şifre) */
.auth-splash-overlay {
  position: fixed;
  inset: 0;
  z-index: 100050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.auth-splash-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.auth-splash-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.auth-splash-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
  max-height: min(92vh, 900px);
  overflow: auto;
  background: linear-gradient(165deg, #1a2332 0%, #0f1419 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.auth-splash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  background: rgba(15, 20, 25, 0.95);
  z-index: 2;
}

.auth-splash-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #e8eef5;
}

.auth-splash-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #c5d0dc;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.auth-splash-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.auth-splash-body {
  padding: 1rem 1rem 1.25rem;
}

.auth-page-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 1rem 1rem 2rem;
}

.auth-page-title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: #e8eef5;
}

.auth-page-lead {
  margin: 0 0 1.25rem;
  color: #9aa8b8;
  font-size: 0.95rem;
  line-height: 1.5;
}

.ms-auth {
  font-size: 0.95rem;
  color: #c5d0dc;
}

.ms-auth-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.ms-auth-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 0.9rem;
  padding: 0.15rem;
}

.ms-auth-tabs-btn {
  flex: 1;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #9aa8b8;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  user-select: none;
}

.ms-auth-tabs-btn:hover {
  border-color: rgba(34, 197, 94, 0.35);
  color: #e2e8f0;
}

.ms-auth-tabs-btn.is-active,
.ms-auth-tabs-btn[aria-selected="true"] {
  background: rgba(34, 197, 94, 0.16);
  border-color: rgba(34, 197, 94, 0.45);
  color: #22c55e;
}

.ms-auth-panel {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1rem 1rem 1.1rem;
}

.ms-auth-title {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #e8eef5;
}

.ms-auth-hint {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #9aa8b8;
}

.ms-auth-hint strong {
  color: #e8c547;
  font-weight: 600;
}

.ms-auth-hint--warn {
  color: #fbbf94;
  border-left: 3px solid rgba(251, 191, 36, 0.55);
  padding-left: 0.65rem;
}

.ms-auth-form {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.ms-auth-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #9aa8b8;
  margin-top: 0.25rem;
}

.ms-auth-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: #f0f4f8;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ms-auth-input:focus {
  border-color: rgba(52, 211, 153, 0.55);
  box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.15);
}

.ms-auth-register-cred-box {
  background: rgba(8, 12, 20, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.65rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.ms-auth-register-fields {
  width: 100%;
  border-collapse: collapse;
}
.ms-auth-register-fields td {
  padding: 0;
  vertical-align: top;
}
.ms-auth-register-fields tr:nth-child(even) td {
  padding-bottom: 0.35rem;
}
.ms-auth-panel--register .ms-auth-register-fields .ms-auth-label {
  margin-top: 0.35rem;
  margin-bottom: 0.12rem;
}
.ms-auth-panel--register .ms-auth-register-fields tr:first-child .ms-auth-label {
  margin-top: 0;
}
.ms-auth-input--register {
  padding: 0.3rem 0.55rem;
  font-size: 0.82rem;
  line-height: 1.25;
  min-height: 0;
}

.ms-auth-btn {
  margin-top: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.ms-auth-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.ms-auth-btn--primary {
  background: linear-gradient(165deg, #22c55e 0%, #16a34a 100%);
  color: #fff;
}

.ms-auth-btn--primary:hover:not(:disabled) {
  filter: brightness(1.06);
}

.ms-auth-link {
  font-size: 0.85rem;
  font-weight: 500;
  background: none;
  border: none;
  color: #6ee7b7;
  cursor: pointer;
  text-decoration: underline;
  padding: 0.35rem 0;
  text-align: left;
}

.ms-auth-link:hover {
  color: #a7f3d0;
}

.ms-auth-notify-opt {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #b8c5d3;
  cursor: pointer;
}

.ms-auth-notify-opt input {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: #22c55e;
}

.ms-auth-msg {
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.ms-auth-msg--error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fecaca;
}

.ms-auth-msg--ok {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #bbf7d0;
}

.ms-auth-forgot {
  padding: 0.25rem 0 0.5rem;
}

.ms-auth-forgot .ms-auth-title {
  margin-bottom: 0.5rem;
}

.ms-auth-forgot .ms-auth-hint {
  margin-bottom: 0.85rem;
}

body.ms-auth-no-scroll {
  overflow: hidden;
}
