/* Noxy marka renkleri (PDF: #006b6c, #d6d79c, #000000) */
:root {
  --noxy-teal: #006b6c;
  --noxy-teal-bright: #0a8d8f;
  --noxy-sand: #d6d79c;
  --noxy-black: #000000;
  --noxy-sand-muted: rgba(214, 215, 156, 0.35);
  --noxy-sand-subtle: rgba(214, 215, 156, 0.12);
  --noxy-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

body.noxy-auth-branded {
  font-family: var(--noxy-font);
  background: var(--noxy-black) !important;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
}

body.noxy-auth-branded::before,
body.noxy-auth-branded::after {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
}

/* Yumuşak mesh / aurora — marka teal + sand */
body.noxy-auth-branded::before {
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(0, 107, 108, 0.55) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(214, 215, 156, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 50% 60% at 60% 90%, rgba(0, 107, 108, 0.35) 0%, transparent 45%);
  animation: noxy-mesh-shift 18s ease-in-out infinite alternate;
}

body.noxy-auth-branded::after {
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  mix-blend-mode: overlay;
}

@keyframes noxy-mesh-shift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-3%, 2%) scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  body.noxy-auth-branded::before {
    animation: none;
  }
}

.noxy-login {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

/* Izgara çizgileri */
.noxy-login__grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(214, 215, 156, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214, 215, 156, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 100%);
  pointer-events: none;
}

.noxy-login__bubbles {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.noxy-login__bubbles span {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--noxy-sand-muted), transparent 60%);
  filter: blur(1px);
  animation: noxy-float 20s ease-in-out infinite;
}

.noxy-login__bubbles span:nth-child(1) { width: 120px; height: 120px; left: 8%; top: 15%; animation-delay: 0s; }
.noxy-login__bubbles span:nth-child(2) { width: 80px; height: 80px; right: 12%; top: 25%; animation-delay: -4s; opacity: 0.5; }
.noxy-login__bubbles span:nth-child(3) { width: 60px; height: 60px; left: 20%; bottom: 20%; animation-delay: -8s; opacity: 0.4; }
.noxy-login__bubbles span:nth-child(4) { width: 100px; height: 100px; right: 25%; bottom: 10%; animation-delay: -2s; opacity: 0.45; }

@keyframes noxy-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12px, -18px) scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  .noxy-login__bubbles span { animation: none; }
}

/* Sol panel: marka hikâyesi */
.noxy-login__hero {
  position: relative;
  background: linear-gradient(160deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 107, 108, 0.25) 45%, rgba(0, 0, 0, 0.5) 100%);
  border-right: 1px solid var(--noxy-sand-subtle);
}

.noxy-login__hero-inner {
  max-width: 32rem;
  margin-left: auto;
  margin-right: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.noxy-login__logo {
  max-height: 3rem;
  width: auto;
  margin-bottom: 1.75rem;
  filter: drop-shadow(0 4px 24px rgba(0, 107, 108, 0.4));
}

.noxy-login__headline {
  font-size: clamp(1.65rem, 2.2vw, 2.15rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.noxy-login__headline .noxy-line-sand {
  color: var(--noxy-sand);
}

.noxy-login__lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 26rem;
}

.noxy-login__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.noxy-login__chips span {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(214, 215, 156, 0.12);
  color: var(--noxy-sand);
  border: 1px solid rgba(214, 215, 156, 0.25);
  backdrop-filter: blur(8px);
}

.noxy-login__features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.noxy-login__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
  line-height: 1.45;
}

.noxy-login__features li i {
  color: var(--noxy-sand);
  font-size: 1.1rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.noxy-login__footer-hero {
  margin-top: auto;
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.noxy-login__footer-hero a {
  color: var(--noxy-sand);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.noxy-login__footer-hero a:hover {
  color: #fff;
}

/* Sağ: form paneli */
.noxy-login__panel {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.25rem 2rem;
}

.noxy-login__card {
  width: 100%;
  max-width: 26rem;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 1.25rem;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 25px 60px -12px rgba(0, 0, 0, 0.45),
    0 0 80px -20px rgba(0, 107, 108, 0.35);
  border-top: 4px solid var(--noxy-teal);
  padding: 2.25rem 1.75rem 2rem;
  animation: noxy-card-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  backdrop-filter: blur(20px);
}

@media (min-width: 768px) {
  .noxy-login__card {
    padding: 2.5rem 2.25rem;
  }
}

@keyframes noxy-card-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .noxy-login__card {
    animation: none;
  }
}

.noxy-login__eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--noxy-teal);
  margin-bottom: 0.35rem;
}

.noxy-login__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--noxy-black);
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.noxy-login__subtitle {
  color: #5c5c5c;
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* Mobilde marka bandı (sol panel gizli) */
.noxy-login__mobile-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}

.noxy-login__mobile-brand img {
  max-height: 2.5rem;
}

.noxy-login__mobile-tagline {
  font-size: 0.8rem;
  color: var(--noxy-sand);
  margin-top: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* Form */
.noxy-login__card .form-label {
  font-weight: 500;
  font-size: 0.85rem;
  color: #1a1a1a;
}

.noxy-login__card .form-control {
  border-radius: 0.6rem;
  border: 1px solid #d9e0e0;
  padding: 0.65rem 0.9rem;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.noxy-login__card .form-control:focus {
  border-color: var(--noxy-teal);
  box-shadow: 0 0 0 3px rgba(0, 107, 108, 0.2);
}

.noxy-login__card .input-group .form-control {
  border-right: 0;
}

.noxy-login__card .input-group .btn {
  border-radius: 0 0.6rem 0.6rem 0;
  border: 1px solid #d9e0e0;
  border-left: 0;
  color: var(--noxy-teal);
  background: #f8fafa;
}

.noxy-login__card .form-check-input:checked {
  background-color: var(--noxy-teal);
  border-color: var(--noxy-teal);
}

.noxy-login__card a.link-noxy {
  color: var(--noxy-teal);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.8rem;
}

.noxy-login__card a.link-noxy:hover {
  text-decoration: underline;
  color: var(--noxy-teal-bright);
}

/* Birincil buton — CTA */
.noxy-login__btn {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--noxy-teal);
  --bs-btn-border-color: var(--noxy-teal);
  --bs-btn-hover-bg: var(--noxy-teal-bright);
  --bs-btn-hover-border-color: var(--noxy-teal-bright);
  --bs-btn-active-bg: #085f60;
  --bs-btn-active-border-color: #085f60;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.7rem 1.25rem;
  border-radius: 0.65rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.noxy-login__btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-18deg);
  transition: left 0.5s ease;
}

.noxy-login__btn:hover::after {
  left: 100%;
}

.noxy-login__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -8px rgba(0, 107, 108, 0.6);
}

@media (prefers-reduced-motion: reduce) {
  .noxy-login__btn::after { display: none; }
  .noxy-login__btn:hover { transform: none; }
}

/* Tema switcher kısayolu — marka rengi */
body.noxy-auth-branded .noxy-login-settings-fab {
  background: var(--noxy-teal) !important;
  border: 1px solid var(--noxy-sand-subtle) !important;
  color: #fff !important;
  box-shadow: 0 8px 32px rgba(0, 107, 108, 0.45);
}

body.noxy-auth-branded .noxy-login-settings-fab:hover {
  background: var(--noxy-teal-bright) !important;
  color: #fff !important;
}
