/* Üye oturum (giriş / SMS) — vitrin site.css’e bağlı değil, tek sayfa görünümü */

.uo-html {
  scroll-padding-top: 0;
}

.uo-body {
  --uo-font: "Plus Jakarta Sans", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  min-height: 100dvh;
  min-height: 100vh;
  font-family: var(--uo-font);
  line-height: 1.55;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: max(0.75rem, env(safe-area-inset-top)) max(0.85rem, env(safe-area-inset-right))
    max(1rem, env(safe-area-inset-bottom)) max(0.85rem, env(safe-area-inset-left));
  position: relative;
}

.uo-body *,
.uo-body *::before,
.uo-body *::after {
  box-sizing: border-box;
}

.uo-body.uo-theme-light {
  --uo-bg: #eef2f8;
  --uo-surface: #ffffff;
  --uo-text: #15202b;
  --uo-muted: #5c6b7e;
  --uo-border: #d0dae8;
  --uo-accent: #1565c0;
  --uo-accent-contrast: #ffffff;
  --uo-danger-bg: rgba(220, 38, 38, 0.1);
  --uo-danger-border: rgba(220, 38, 38, 0.35);
  --uo-danger-text: #b91c1c;
  --uo-ok-bg: rgba(22, 163, 74, 0.1);
  --uo-ok-border: rgba(22, 163, 74, 0.35);
  --uo-ok-text: #166534;
  color: var(--uo-text);
  background: var(--uo-bg);
}

.uo-body.uo-theme-dark {
  --uo-bg: #0f1419;
  --uo-surface: #1a2332;
  --uo-text: #e8edf4;
  --uo-muted: #94a3b8;
  --uo-border: #2a3545;
  --uo-accent: #7dd3fc;
  --uo-accent-contrast: #0b1220;
  --uo-danger-bg: rgba(248, 81, 73, 0.12);
  --uo-danger-border: #da3633;
  --uo-danger-text: #ff9892;
  --uo-ok-bg: rgba(46, 196, 182, 0.12);
  --uo-ok-border: rgba(46, 196, 182, 0.45);
  --uo-ok-text: #99f6e4;
  color: var(--uo-text);
  background: var(--uo-bg);
}

.uo-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 72% at 50% -18%, color-mix(in srgb, var(--uo-accent) 16%, transparent), transparent 54%),
    var(--uo-bg);
}

.uo-skip {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  padding: 0.35rem 0.65rem;
  background: var(--uo-accent);
  color: var(--uo-accent-contrast);
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  z-index: 50;
}

.uo-skip:focus {
  left: max(0.5rem, env(safe-area-inset-left));
}

.uo-wrap {
  width: 100%;
  max-width: 22rem;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Kart içi: başlığın altında logo + ünvan */
.uo-brand-in-card {
  margin: 0.15rem 0 1rem;
}

.uo-brand-in-card__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.uo-brand-in-card__link:hover .uo-brand-text {
  opacity: 0.92;
}

/* Vitrin .t-logo ile aynı: dönen gökkuşağı hale + yuvarlak logo */
.uo-brand__mark {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  margin-inline: auto;
}

.uo-brand__mark::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 82px;
  height: 82px;
  margin-left: -41px;
  margin-top: -41px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #ff4d6d 0deg,
    #ff9f1c 60deg,
    #ffe66d 120deg,
    #2ec4b6 180deg,
    #4d96ff 240deg,
    #8b5cf6 300deg,
    #ff4d6d 360deg
  );
  filter: blur(10px) saturate(1.2);
  opacity: 0.9;
  z-index: 0;
  pointer-events: none;
  animation: uo-logo-halo 4.8s linear infinite;
}

@keyframes uo-logo-halo {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .uo-brand__mark::before {
    animation: none;
    opacity: 0.55;
  }
}

.uo-brand__mark img {
  position: relative;
  z-index: 1;
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  padding: 0;
  border: 1px solid var(--uo-border);
  background: var(--uo-surface);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.28),
    0 0 12px rgba(125, 211, 252, 0.4),
    0 0 24px rgba(77, 150, 255, 0.32);
}

.uo-theme-dark .uo-brand__mark img {
  background: #121a28;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 14px rgba(125, 211, 252, 0.35),
    0 0 26px rgba(77, 150, 255, 0.22);
}

.uo-brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  text-align: center;
  font-weight: 800;
  font-size: clamp(0.86rem, 2.6vw, 1rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  max-width: 20rem;
}

.uo-brand-line2 {
  font-weight: 700;
  font-size: 0.9em;
  opacity: 0.9;
}

.uo-card {
  background: var(--uo-surface);
  border: 1px solid var(--uo-border);
  border-radius: 16px;
  padding: clamp(1.05rem, 3vw, 1.35rem) clamp(1rem, 2.8vw, 1.2rem);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

.uo-theme-dark .uo-card {
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
}

.uo-main {
  width: 100%;
}

.uo-page {
  width: 100%;
}

.uo-back {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
}

/* Logo / ünvan bloğunun hemen altında (SMS sayfaları) */
.uo-brand-in-card + .uo-back {
  text-align: center;
  margin: 0.15rem 0 0.95rem;
}

.uo-back a {
  color: var(--uo-accent);
  font-weight: 600;
  text-decoration: none;
}

.uo-back a:hover {
  text-decoration: underline;
}

.uo-title {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.uo-subtitle {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.uo-lead {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--uo-muted);
}

.uo-muted {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--uo-muted);
  line-height: 1.5;
}

.uo-gsm-hint {
  margin: -0.25rem 0 0.75rem;
  font-size: 0.88rem;
  color: var(--uo-muted);
  line-height: 1.45;
}

.uo-alert {
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  margin-bottom: 0.85rem;
  font-size: 0.88rem;
  border: 1px solid transparent;
}

.uo-alert--ok {
  background: var(--uo-ok-bg);
  border-color: var(--uo-ok-border);
  color: var(--uo-ok-text);
}

.uo-alert--err {
  background: var(--uo-danger-bg);
  border-color: var(--uo-danger-border);
  color: var(--uo-danger-text);
}

.uo-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.uo-form label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--uo-muted);
}

.uo-form input:not([type="hidden"]) {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--uo-border);
  background: color-mix(in srgb, var(--uo-surface) 92%, var(--uo-bg));
  color: var(--uo-text);
  font: inherit;
  font-size: 1rem;
  min-height: 2.75rem;
}

.uo-theme-dark .uo-form input:not([type="hidden"]) {
  background: #121a28;
}

.uo-form input:focus {
  outline: 2px solid color-mix(in srgb, var(--uo-accent) 55%, transparent);
  outline-offset: 1px;
}

.uo-actions {
  margin-top: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.uo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.08s ease;
}

.uo-btn:active:not(:disabled) {
  transform: translateY(2px) scale(0.96);
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.38);
  filter: brightness(0.92);
}

.uo-btn--primary {
  background: var(--uo-accent);
  color: var(--uo-accent-contrast);
}

.uo-btn--primary:hover {
  filter: brightness(1.06);
}

.uo-btn--primary:active:not(:disabled) {
  filter: brightness(0.88);
}

.uo-btn--ghost:active:not(:disabled) {
  filter: none;
  background: color-mix(in srgb, var(--uo-accent) 14%, transparent);
}

.uo-btn--ghost {
  background: transparent;
  border-color: var(--uo-border);
  color: var(--uo-accent);
}

.uo-btn--ghost:hover {
  background: color-mix(in srgb, var(--uo-accent) 10%, transparent);
}

.uo-extra {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--uo-border);
}

.uo-apk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.55rem;
  margin-top: 0.7rem;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, #2384ff 0%, #0f6feb 100%);
  color: #fff;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(15, 111, 235, 0.22);
}

.uo-apk-btn:hover {
  filter: brightness(1.06);
}

.uo-extra-hint {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  color: var(--uo-muted);
}

.uo-steps {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--uo-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.uo-steps li.uo-steps__current {
  color: var(--uo-text);
  font-weight: 600;
}

.uo-links {
  margin: 0.5rem 0 0;
  font-size: 0.84rem;
  text-align: center;
}

.uo-links a {
  color: var(--uo-accent);
  font-weight: 600;
  text-decoration: none;
}

.uo-links a:hover {
  text-decoration: underline;
}

.uo-panel .uo-links {
  margin-top: 1rem;
}

.uo-foot {
  margin-top: auto;
  padding-top: 1.2rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--uo-muted);
}

.uo-foot-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 1.1rem;
  margin-bottom: 0.45rem;
}

.uo-foot-row a {
  font-weight: 600;
  color: var(--uo-accent);
  text-decoration: none;
}

.uo-foot-row a:hover {
  text-decoration: underline;
}

.uo-foot-copy {
  margin: 0;
  font-size: 0.76rem;
  opacity: 0.88;
}

.uo-btn:focus:not(:focus-visible) {
  outline: none;
}

.uo-btn:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--uo-accent) 65%, transparent);
  outline-offset: 2px;
}

.uo-kod {
  letter-spacing: 0.2em;
  font-variant-numeric: tabular-nums;
  text-align: center;
  font-size: 1.15rem;
}

@media (prefers-reduced-motion: reduce) {
  .uo-btn,
  .uo-form input {
    transition: none;
  }

  .uo-btn:active:not(:disabled) {
    transform: none;
    filter: none;
    box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.35);
  }
}
