/* Ambarcık Köyü - Sneat authentication cover */
.authentication-wrapper.authentication-cover {
  position: relative;
  overflow: hidden;
  min-block-size: 100vh;
  background: var(--bs-paper-bg);
}

.auth-cover-brand {
  position: fixed;
  z-index: 20;
  inset-block-start: 1.75rem;
  inset-inline-start: 2.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #15233f;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.auth-cover-brand:hover {
  color: #15233f;
}

.auth-cover-brand img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  box-shadow: 0 0.25rem 0.8rem rgba(22, 34, 63, 0.16);
}

.auth-theme-switcher {
  position: fixed;
  z-index: 30;
  inset-block-start: 1.75rem;
  inset-inline-end: 2rem;
}

.auth-theme-switcher .btn {
  width: 2.75rem;
  height: 2.75rem;
  background: color-mix(in srgb, var(--bs-paper-bg) 88%, transparent);
  backdrop-filter: blur(10px);
}

.auth-theme-switcher .dropdown-menu {
  min-width: 10.5rem;
}

.auth-cover-visual {
  position: relative;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 6.5rem 4rem 3rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(105, 108, 255, 0.17), transparent 28%),
    radial-gradient(circle at 83% 76%, rgba(3, 195, 236, 0.13), transparent 25%),
    linear-gradient(145deg, #f3f3ff 0%, #f4f7ff 48%, #f8f9ff 100%);
}

.auth-cover-visual::before {
  position: absolute;
  width: 40rem;
  height: 40rem;
  border: 1px solid rgba(105, 108, 255, 0.13);
  border-radius: 50%;
  content: "";
}

.auth-cover-visual::after {
  position: absolute;
  width: 31rem;
  height: 31rem;
  border: 1px dashed rgba(105, 108, 255, 0.18);
  border-radius: 50%;
  content: "";
  transform: rotate(-12deg);
}

.auth-visual-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
}

.auth-logo-halo {
  position: relative;
  isolation: isolate;
  width: clamp(21rem, 43vw, 35rem);
  max-width: 68vh;
  padding: clamp(0.7rem, 1.35vw, 1.25rem);
  border: 1px solid rgba(105, 108, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 2rem 5rem rgba(45, 47, 104, 0.14),
    0 0 0 0.75rem rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
}

.auth-hero-logo {
  content: url("../../web/images/ambarcik-koyu-logo.png?theme=light");
  display: block;
  width: 100%;
  aspect-ratio: 1;
  backface-visibility: hidden;
  border-radius: 50%;
  object-fit: cover;
  transform: translateZ(0);
}

.auth-visual-copy {
  margin-top: 2rem;
}

.auth-eyebrow {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: #696cff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.auth-visual-copy h1 {
  margin: 0 0 0.45rem;
  color: #15233f;
  font-size: clamp(1.45rem, 2vw, 2rem);
  letter-spacing: -0.03em;
}

.auth-visual-copy p {
  max-width: 31rem;
  margin: 0;
  color: #657085;
}

.auth-shape {
  position: absolute;
  z-index: 1;
  display: block;
  border-radius: 0.55rem;
  background: rgba(105, 108, 255, 0.13);
  transform: rotate(35deg);
}

.auth-shape-one {
  width: 3.25rem;
  height: 3.25rem;
  inset-block-start: 12%;
  inset-inline-start: 12%;
}

.auth-shape-two {
  width: 1.5rem;
  height: 1.5rem;
  inset-block-start: 19%;
  inset-inline-end: 12%;
  border-radius: 50%;
  background: rgba(3, 195, 236, 0.22);
}

.auth-shape-three {
  width: 4rem;
  height: 4rem;
  inset-block-end: 9%;
  inset-inline-end: 10%;
  border: 1px solid rgba(255, 171, 0, 0.3);
  background: rgba(255, 171, 0, 0.09);
}

.auth-form-panel {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  padding: 6.5rem clamp(1.5rem, 4.5vw, 5rem) 2rem;
  background: var(--bs-paper-bg);
  box-shadow: -1.25rem 0 4rem rgba(34, 36, 62, 0.045);
}

.auth-form-container {
  width: 100%;
  max-width: 27rem;
  margin-inline: auto;
}

.auth-form-container.auth-form-wide {
  max-width: 32rem;
}

.auth-step-badge {
  display: inline-flex;
  margin-bottom: 0.65rem;
  padding: 0.28rem 0.7rem;
  border: 1px solid rgba(var(--bs-primary-rgb), .22);
  border-radius: 999px;
  background: rgba(var(--bs-primary-rgb), .08);
  color: var(--bs-primary);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-section-label {
  margin-bottom: 0.15rem;
  color: var(--bs-heading-color);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.auth-haberdar-banner {
  margin-bottom: 1.25rem;
}

.auth-haberdar-panel {
  padding: 1rem 1.05rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.9rem;
  background: rgba(var(--bs-primary-rgb), 0.035);
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.auth-haberdar-aciklama {
  margin: 0 0 0.9rem;
  color: var(--bs-secondary-color);
  font-size: 0.82rem;
  line-height: 1.45;
}

.auth-kanal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
}

.auth-kanal-kart {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0;
  padding: 0.85rem 0.75rem;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.8rem;
  background: var(--bs-paper-bg);
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.auth-kanal-kart:hover,
.auth-kanal-kart.secili {
  border-color: rgba(var(--bs-primary-rgb), .45);
  box-shadow: 0 0.35rem 1rem rgba(var(--bs-primary-rgb), .12);
  background: rgba(var(--bs-primary-rgb), .05);
}

.auth-kanal-kart .form-check-input {
  flex: 0 0 auto;
  margin-top: 0.2rem;
}

.auth-kanal-ikon {
  display: grid;
  flex: 0 0 2rem;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  background: rgba(var(--bs-primary-rgb), .1);
  color: var(--bs-primary);
  font-size: 1.05rem;
}

.auth-kanal-metin {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  overflow-wrap: anywhere;
}

.auth-kanal-metin strong {
  font-size: 0.9rem;
  line-height: 1.2;
}

.auth-kanal-metin small {
  color: var(--bs-secondary-color);
  font-size: 0.72rem;
  line-height: 1.35;
}

.auth-bilgilendirme-onay {
  margin-top: 0.95rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--bs-border-color);
}

.auth-secondary-prompt {
  margin-top: 0.55rem;
  font-size: 0.82rem;
}

/* Kayıt formu dar sütunda; kartlar alta dizilsin, taşmasın */
.authentication-inner .auth-kanal-grid,
.auth-register-form .auth-kanal-grid {
  grid-template-columns: 1fr;
}

@media (max-width: 575.98px) {
  .auth-kanal-grid {
    grid-template-columns: 1fr;
  }
}

.auth-form-heading {
  margin-bottom: 2rem;
}

.auth-form-heading h2 {
  margin-bottom: 0.55rem;
  color: var(--bs-heading-color);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.auth-form-heading p {
  margin: 0;
  color: var(--bs-secondary-color);
  line-height: 1.6;
}

.auth-mobile-mark {
  display: inline-flex;
  margin-bottom: 1.5rem;
}

.auth-mobile-mark img {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  box-shadow: 0 0.75rem 2rem rgba(34, 43, 82, 0.15);
}

#formAuthentication .form-control-lg,
#formAuthentication .input-group-lg > .form-control {
  min-height: 3rem;
  font-size: 0.95rem;
}

#formAuthentication .btn-lg {
  min-height: 3rem;
  font-size: 0.95rem;
}

.auth-register-prompt {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 1.75rem;
  color: var(--bs-secondary-color);
  font-size: 0.9rem;
}

.auth-footer {
  margin-top: 3rem;
  color: var(--bs-secondary-color);
  font-size: 0.78rem;
  text-align: center;
}

.auth-register-heading {
  margin-bottom: 1.5rem;
}

.auth-register-form .form-label {
  margin-bottom: 0.4rem;
}

.auth-register-form .form-control-lg,
.auth-register-form .input-group-lg > .form-control {
  min-height: 2.85rem;
}

.auth-security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1rem;
  color: var(--bs-secondary-color);
  font-size: 0.78rem;
  text-align: center;
}

[data-bs-theme="dark"] .auth-cover-visual {
  background:
    radial-gradient(circle at 15% 20%, rgba(105, 108, 255, 0.24), transparent 30%),
    radial-gradient(circle at 83% 76%, rgba(3, 195, 236, 0.14), transparent 27%),
    linear-gradient(145deg, #1c1d2c 0%, #23253a 52%, #1b1c2b 100%);
}

[data-bs-theme="dark"] .auth-cover-brand,
[data-bs-theme="dark"] .auth-cover-brand:hover,
[data-bs-theme="dark"] .auth-visual-copy h1 {
  color: #f2f3ff;
}

[data-bs-theme="dark"] .auth-visual-copy p {
  color: #adb1c5;
}

[data-bs-theme="dark"] .auth-logo-halo {
  border-color: rgba(159, 161, 255, 0.2);
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 2rem 5rem rgba(0, 0, 0, 0.3),
    0 0 0 0.75rem rgba(105, 108, 255, 0.08);
}

[data-bs-theme="dark"] .auth-hero-logo {
  content: url("../../web/images/ambarcik-koyu-logo.png?theme=dark");
}

@media (max-width: 1199.98px) {
  .auth-cover-brand {
    inset-inline-start: 1.5rem;
  }

  .auth-logo-halo {
    width: min(43vw, 29rem);
  }
}

@media (max-width: 991.98px) {
  .auth-cover-brand {
    display: none;
  }

  .auth-theme-switcher {
    inset-block-start: 1.25rem;
    inset-inline-end: 1.25rem;
  }

  .authentication-inner {
    min-height: 100vh;
  }

  .auth-cover-visual {
    min-height: clamp(22rem, 52svh, 30rem);
    padding: 4.75rem 1.5rem 2.25rem;
  }

  .auth-cover-visual::before {
    width: min(34rem, 82vw);
    height: min(34rem, 82vw);
  }

  .auth-cover-visual::after {
    width: min(27rem, 68vw);
    height: min(27rem, 68vw);
  }

  .auth-logo-halo {
    width: clamp(13.5rem, 35vw, 19rem);
    max-width: 38vh;
  }

  .auth-visual-copy {
    margin-top: 1.25rem;
  }

  .auth-visual-copy h1 {
    font-size: clamp(1.25rem, 3vw, 1.65rem);
  }

  .auth-form-panel {
    min-height: auto;
    padding: 3rem 1.5rem 2rem;
    box-shadow: none;
  }
}

@media (max-width: 575.98px) {
  .auth-theme-switcher {
    inset-block-start: 1rem;
    inset-inline-end: 1rem;
  }

  .auth-cover-visual {
    min-height: 22rem;
    padding: 4.25rem 1rem 1.75rem;
  }

  .auth-logo-halo {
    width: clamp(11.5rem, 52vw, 15rem);
    max-width: none;
    padding: 0.55rem;
    box-shadow:
      0 1.25rem 3rem rgba(45, 47, 104, 0.14),
      0 0 0 0.5rem rgba(255, 255, 255, 0.3);
  }

  .auth-visual-copy {
    margin-top: 1rem;
  }

  .auth-visual-copy h1 {
    margin-bottom: 0;
    font-size: 1.2rem;
  }

  .auth-visual-copy p {
    display: none;
  }

  .auth-eyebrow {
    margin-bottom: 0.3rem;
    font-size: 0.68rem;
  }

  .auth-shape-three {
    width: 2.75rem;
    height: 2.75rem;
  }

  .auth-form-panel {
    padding: 2.5rem 1.25rem 1.5rem;
  }

  .auth-form-heading h2 {
    font-size: 1.45rem;
  }

  .auth-register-prompt {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-cover-visual::after {
    transform: none;
  }
}
