/*
 * CeoyTech giriş ekranı. AspStudio tema değişkenleri (--bs-theme, --bs-component-bg vb.) kullanılır;
 * böylece tema rengi ve karanlık mod değişiklikleri bu sayfaya da yansır.
 */

.auth-page {
  display: flex;
  min-height: 100vh;
  background: var(--bs-component-bg);
}

/* Sol tanıtım paneli (lg ve üzeri) */
.auth-aside {
  position: relative;
  flex: 0 0 50%;
  max-width: 50%;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(var(--bs-theme-rgb), .14) 0%, rgba(var(--bs-theme-rgb), .04) 100%);
}

.auth-aside::before,
.auth-aside::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(var(--bs-theme-rgb), .12);
  filter: blur(4px);
  pointer-events: none;
}

.auth-aside::before {
  width: 26rem;
  height: 26rem;
  top: -9rem;
  left: -9rem;
}

.auth-aside::after {
  width: 18rem;
  height: 18rem;
  bottom: -6rem;
  right: -5rem;
}

.auth-aside-inner {
  position: relative;
  z-index: 1;
  max-width: 30rem;
}

.auth-illustration {
  display: block;
  width: 100%;
  max-width: 26rem;
  height: auto;
  margin: 2.5rem auto;
}

.auth-features li {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.auth-features li + li {
  margin-top: .85rem;
}

.auth-feature-icon {
  flex: 0 0 2.25rem;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .65rem;
  color: var(--bs-theme);
  background: var(--bs-component-bg);
  box-shadow: 0 .25rem .75rem rgba(var(--bs-theme-rgb), .15);
}

/* Sağ form alanı */
.auth-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.25rem;
}

.auth-form {
  width: 100%;
  max-width: 24rem;
  margin: auto;
}

.auth-logo {
  height: 48px;
  object-fit: contain;
}

/* Şifremi unuttum / şifre sıfırlama sonuç durumları (gönderildi, bağlantı geçersiz) */
.auth-state-icon {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  font-size: 1.75rem;
}

.auth-form .input-group-text {
  width: 2.875rem;
  justify-content: center;
  color: var(--bs-secondary-color);
  background: transparent;
}

.auth-form .input-group:focus-within .input-group-text {
  color: var(--bs-theme);
}

.auth-form .input-group > .form-control:not(:first-child) {
  border-left: 0;
}

.auth-form .input-group > .input-group-text + .form-control:focus {
  box-shadow: none;
}

.auth-form .input-group:focus-within {
  border-radius: var(--bs-border-radius-lg);
  box-shadow: 0 0 0 .25rem rgba(var(--bs-theme-rgb), .2);
}

.auth-form .input-group:focus-within > * {
  border-color: rgba(var(--bs-theme-rgb), .6);
}

.auth-form .input-group-text + .form-control {
  padding-left: 0;
}

.auth-form .input-group-lg > .form-control {
  font-size: 1rem;
}

.auth-form .btn-lg {
  font-size: 1rem;
  padding-top: .8rem;
  padding-bottom: .8rem;
}

/* Göz butonu olan şifre alanında Edge'in kendi göz ikonu gizlenir; aksi halde iki ikon görünür. */
.input-group:has([data-password-toggle]) input::-ms-reveal {
  display: none;
}

@media (min-width: 992px) {
  .auth-main {
    padding: 3rem;
  }
}
