/* Login / şirket seçici — mobil kırmızı hero + beyaz sac dili */

.statione-login {
  --statione-login-red: #b91c1c;
  --statione-login-red-lift: color-mix(in srgb, #ffffff 20%, var(--statione-login-red));
  --statione-login-red-deep: color-mix(in srgb, #000000 16%, var(--statione-login-red));
  --statione-login-ink: #f2f0eb;
  --statione-login-sheet-radius: 1.35rem;
  --statione-login-overlap: 1.45rem;
  --statione-login-gutter: 0.75rem;

  height: 100dvh;
  min-height: 100dvh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: var(--statione-login-red);
  color: #1a1a1f;
  overflow: hidden;
}

.statione-login__hero {
  position: relative;
  flex: 1 1 auto;
  color: #ffffff;
  overflow: visible;
}

.statione-login .statione-mobile-hero__decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.statione-login .statione-mobile-hero__decor-svg {
  position: absolute;
  left: -12%;
  top: -8%;
  width: 124%;
  height: 118%;
  display: block;
}

.statione-login .statione-mobile-hero__decor-shape {
  fill: var(--statione-login-red-lift);
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform;
}

.statione-login .statione-mobile-hero__decor-shape--a {
  opacity: 0.72;
}

.statione-login .statione-mobile-hero__decor-shape--b {
  opacity: 0.5;
  fill: var(--statione-login-red-deep);
}

.statione-login .statione-mobile-hero__decor-shape--c {
  opacity: 0.42;
}

.statione-login__hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1rem;
  padding-top: calc(max(0.85rem, env(safe-area-inset-top, 0px)) + 1.35rem);
  padding-inline: var(--statione-login-gutter);
  padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  min-height: 100%;
  box-sizing: border-box;
}

.statione-login__hero-top-space {
  width: 100%;
  min-height: 2.5rem;
}

.statione-login__hero-profile {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.5rem;
  width: 100%;
  padding-top: 0.75rem;
}

.statione-login__hero-avatar {
  display: grid;
  place-items: center;
  width: 6rem;
  height: 6rem;
  margin-bottom: 0.5rem;
}

.statione-login__hero-avatar svg {
  width: 2.4rem;
  height: 2.4rem;
}

.statione-login__hero-avatar-mark {
  display: block;
  width: 6rem;
  height: 6rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.statione-login__hero-title {
  margin: 0;
  font-family: Metropolis;
  font-size: 1.95rem;
  font-weight: 700;
  line-height: 2.2rem;
  letter-spacing: -0.025em;
  color: #ffffff;
  text-align: center;
}

.statione-login__hero-caption {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.96rem;
  line-height: 1.35;
  text-align: center;
}

.statione-login__hero-gap {
  display: block;
  width: 100%;
  min-height: 1rem;
}

.statione-login__hero-panel {
  display: grid;
  gap: 0.95rem;
  width: min(100%, 24rem);
  margin: 0 auto;
}

.statione-login__hero-hint {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  text-transform: capitalize;
}

.statione-login__sheet {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  margin-top: calc(-1 * var(--statione-login-overlap));
  padding: 1.35rem var(--statione-login-gutter) max(1.1rem, env(safe-area-inset-bottom, 0px));
  background: #ffffff;
  border-radius: var(--statione-login-sheet-radius) var(--statione-login-sheet-radius) 0 0;
  box-sizing: border-box;
}

.statione-login__progress {
  height: 3px;
  border-radius: 999px;
  background: color-mix(in srgb, #ffffff 14%, transparent);
  overflow: hidden;
}

.statione-login__progress-bar {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: inherit;
  background: var(--statione-login-red);
  animation: statione-login-progress 1.1s ease-in-out infinite;
}

@keyframes statione-login-progress {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(320%);
  }
}

.statione-login__form,
.statione-login__orgs {
  display: grid;
  gap: 0.9rem;
}

.statione-login__pill {
  display: block;
  width: 100%;
}

.statione-login__pill input {
  width: 100%;
  min-height: 3.15rem;
  padding: 0.85rem 1.05rem;
  border: 0;
  border-radius: 1rem;
  background: color-mix(in srgb, #ffffff 16%, transparent);
  color: #ffffff;
  backdrop-filter: blur(8px);
  font-size: 16px;
  box-sizing: border-box;
  box-shadow: none;
}

.statione-login__pill input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.statione-login__pill input:focus {
  outline: none;
  background: color-mix(in srgb, #ffffff 22%, transparent);
  box-shadow: 0 0 0 2px color-mix(in srgb, #ffffff 28%, transparent);
}

.statione-login__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.statione-login__remember {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.86rem;
  color: #66666e;
}

.statione-login__remember--light {
  color: rgba(255, 255, 255, 0.88);
}

.statione-login__text-btn {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--statione-login-red);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}

.statione-login__text-btn--light {
  color: rgba(255, 255, 255, 0.92);
}

.statione-login__text-btn:disabled {
  opacity: 0.55;
  cursor: default;
}

.statione-login__submit {
  width: 100%;
  min-height: 3.2rem;
  margin-top: 0.3rem;
  border: 0;
  border-radius: 1rem;
  background: #ffffff;
  color: #1a1a1f;
  font-family: Metropolis;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.statione-login__submit:disabled {
  opacity: 0.72;
  cursor: default;
}

.statione-login__org-btn {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 4rem;
  margin: 0;
  padding: 0.75rem 0.95rem 0.75rem 0.75rem;
  border: 0;
  border-radius: 1.15rem;
  background: #ffffff;
  color: #1a1a1f;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.statione-login__org-btn:hover:not(:disabled),
.statione-login__org-btn:focus-visible {
  background: #ffffff;
  outline: none;
  box-shadow: 0 0 0 2px color-mix(in srgb, #ffffff 24%, transparent);
}

.statione-login__org-btn:disabled {
  opacity: 0.65;
  cursor: default;
}

.statione-login__org-initial {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: color-mix(in srgb, #ffffff 12%, var(--statione-login-red));
  color: #ffffff;
  font-family: Metropolis;
  font-size: 1.05rem;
  font-weight: 700;
}

.statione-login__org-name {
  min-width: 0;
  font-family: Metropolis;
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.statione-login__org-chevron {
  color: #9a9aa3;
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 400;
}

.statione-login__hero-meta {
  margin: 0.1rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  line-height: 1.35;
  text-align: center;
  word-break: break-all;
}

.statione-login__message {
  margin: 0;
  padding: 0.7rem 0.85rem;
  border-radius: 0.9rem;
  font-size: 0.88rem;
  line-height: 1.35;
}

.statione-login__message--error {
  background: #fef2f2;
  color: #991b1b;
}

.statione-login__message--ok {
  background: #ecfdf5;
  color: #065f46;
}

.statione-login__footer {
  margin-top: auto;
  padding: 0.5rem 1.1rem 1rem;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.74);
}

.statione-login__service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.statione-login__service-card {
  display: grid;
  gap: 0.3rem;
  min-height: 5.25rem;
  padding: 0.95rem 0.85rem;
  border-radius: 1rem;
  background: #fafafb;
  color: #1a1a1f;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.statione-login__service-card:hover,
.statione-login__service-card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--statione-login-red) 18%, transparent);
}

.statione-login__service-title {
  font-family: Metropolis;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
}

.statione-login__service-desc {
  font-size: 0.8rem;
  line-height: 1.35;
  color: #66666e;
}

.statione-login__copyright {
  margin: 0;
  line-height: 1.35;
  font-weight: 500;
}

.statione-login .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Masaüstü: aynı mobil kompozisyon (tam ekran kırmızı + binen beyaz sac) */
@media (min-width: 768px) {
  .statione-login {
    --statione-login-gutter: 1.25rem;
    --statione-login-overlap: 1.75rem;
    --statione-login-sheet-radius: 1.6rem;
  }

  .statione-login__hero-inner {
    padding-top: 2.25rem;
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
    min-height: 100%;
  }

  .statione-login__hero-top-space {
    min-height: 1.25rem;
  }

  .statione-login__hero-profile {
    padding-top: 1rem;
  }

  .statione-login__hero-title {
    font-size: 2.3rem;
    line-height: 2.6rem;
  }

  .statione-login__hero-caption {
    font-size: 1rem;
  }

  .statione-login__hero-panel {
    width: min(100%, 24rem);
  }

  .statione-login__sheet {
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
  }

  .statione-login__footer {
    width: min(100%, 24rem);
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .statione-login__progress-bar {
    animation: none;
    width: 100%;
  }
}
