:root {
  --color-base: #ffffff;
  --color-primary: #1e88e5;
  --color-accent: #ffc107;
  --color-neutral: #e9eef5;
  --color-text: #0d1b2a;
  --color-subtext: #4a4a4a;
  --shadow-soft: 0 8px 24px rgba(9, 30, 66, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(255, 255, 255, 0.4);
  --blur-backdrop: blur(12px);
  --spacing-unit: 8px;
  --transition-base: all 0.3s ease;
  --font-base: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Dark mode variables */
.dark-mode {
  --color-base: #1a1a1a;
  --color-primary: #1e88e5;
  --color-accent: #ffc107;
  --color-neutral: #0f172a99;
  --color-text: #ffffff;
  --color-subtext: #b0b0b0;
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.3);
  --glass-bg: rgba(45, 45, 45, 0.85);
  --glass-border: rgba(255, 255, 255, 0.1);
  --blur-backdrop: blur(12px);
}

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

/* Global horizontal scroll prevention */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

/* Mobile specific horizontal scroll prevention */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
  }
  
  * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

.auth-body {
  font-family: var(--font-base);
  background: linear-gradient(135deg, #e3f2fd, #fffde7);
  min-height: 100vh;
  margin: 0;
  color: var(--color-text);
  position: relative;
  overflow-x: hidden;
  overflow-y: visible;
  transition: var(--transition-base);
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

.dark-mode .auth-body {
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
  color: var(--color-text);
}

.auth-body::before,
.auth-body::after {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(30, 136, 229, 0.2), transparent 70%);
  filter: blur(0);
  animation: drift 12s ease-in-out infinite;
  z-index: 0;
}

.auth-body::before {
  top: -240px;
  right: -160px;
  animation-delay: -3s;
}

.auth-body::after {
  bottom: -260px;
  left: -180px;
}

@keyframes drift {
  0%, 100% {
    transform: translateY(0) translateX(0) scale(1);
  }
  50% {
    transform: translateY(-18px) translateX(12px) scale(1.05);
  }
}

.auth-scene {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 5vw, 64px);
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Desktop centering */
@media (min-width: 769px) {
  .auth-scene {
    align-items: center;
    justify-content: center;
  }
  
  .auth-grid {
    justify-items: center;
    align-items: center;
  }
  
  .auth-card,
  .auth-panel {
    max-width: 100%;
    width: 100%;
  }
  
  /* Login page specific centering */
  .auth-grid:not(.auth-grid--register) {
    grid-template-columns: repeat(auto-fit, minmax(300px, 400px));
    justify-content: center;
  }
  
  .auth-grid:not(.auth-grid--register) .auth-card {
    max-width: 400px;
  }
  
  .auth-grid:not(.auth-grid--register) .auth-panel {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .auth-scene {
    align-items: flex-start;
    padding-top: clamp(24px, 10vw, 48px);
    padding-bottom: clamp(32px, 12vw, 64px);
    min-height: auto;
    height: auto;
    padding-left: 12px;
    padding-right: 12px;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  .auth-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }
  
  .auth-grid {
    width: 100%;
    max-width: 100%;
    padding: 0 4px;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  
  .auth-grid--register {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    max-width: 100%;
  }
  
  .auth-card {
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 20px;
    overflow-x: hidden;
  }
  
  .auth-panel {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 20px;
    overflow-x: hidden;
  }
  
  /* Form elements mobile optimization */
  .input-field {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .input-field input,
  .input-field textarea,
  .input-field select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .form-grid {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .form-grid > div {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* Theme Toggle Button Styles */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  backdrop-filter: var(--blur-backdrop);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: var(--transition-base);
  color: var(--color-text);
  font-weight: 500;
  font-size: 14px;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(9, 30, 66, 0.15);
  background: var(--color-primary);
  color: white;
}

.theme-toggle:active {
  transform: translateY(0);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  transition: var(--transition-base);
}

.theme-toggle span {
  transition: var(--transition-base);
}

.dark-mode .theme-toggle {
  background: var(--glass-bg);
  border-color: var(--glass-border);
  color: var(--color-text);
}

.dark-mode .theme-toggle:hover {
  background: var(--color-primary);
  color: white;
}

/* Dark mode form styles */
.dark-mode .input-field input,
.dark-mode .input-field textarea,
.dark-mode .input-field select {
  background-color: var(--color-neutral) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: var(--color-text) !important;
}

.dark-mode .input-field input:focus,
.dark-mode .input-field textarea:focus,
.dark-mode .input-field select:focus {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1) !important;
}

.dark-mode .input-field input::placeholder,
.dark-mode .input-field textarea::placeholder {
  color: var(--color-subtext) !important;
}

.dark-mode .input-label {
  color: var(--color-text) !important;
}

.dark-mode .auth-submit {
  background: var(--color-primary) !important;
  color: white !important;
  border: none !important;
}

.dark-mode .auth-submit:hover {
  background: #1565c0 !important;
  transform: translateY(-2px);
}

.dark-mode .auth-link {
  color: var(--color-primary) !important;
}

.dark-mode .auth-link:hover {
  color: #1565c0 !important;
}

.dark-mode .checkbox-field {
  color: var(--color-text) !important;
}

.dark-mode .checkbox-field input[type="checkbox"] {
  accent-color: var(--color-primary) !important;
}

.dark-mode .field-errors {
  color: #ff6b6b !important;
}

.dark-mode .alert {
  background-color: rgba(255, 107, 107, 0.1) !important;
  border: 1px solid rgba(255, 107, 107, 0.3) !important;
  color: #ff6b6b !important;
}

/* Mobile responsive theme toggle */
@media (max-width: 768px) {
  .theme-toggle {
    top: 15px;
    right: 15px;
    padding: 10px 12px;
    font-size: 13px;
  }
  
  .theme-toggle svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 480px) {
  .theme-toggle {
    top: 10px;
    right: 10px;
    padding: 8px 10px;
    font-size: 12px;
  }
  
  .theme-toggle span {
    display: none;
  }
  
  .theme-toggle svg {
    width: 20px;
    height: 20px;
  }
  
  /* Extra small screens - prevent overflow */
  .auth-scene {
    padding-left: 8px;
    padding-right: 8px;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  .auth-grid {
    padding: 0 2px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .auth-card,
  .auth-panel {
    padding: 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  
  .input-field input,
  .input-field textarea,
  .input-field select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .form-grid {
    width: 100%;
    max-width: 100%;
    gap: 16px;
  }
  
  .form-grid > div {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  /* Prevent any horizontal scroll */
  * {
    max-width: 100%;
    box-sizing: border-box;
  }
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 420px));
  gap: clamp(24px, 4vw, 48px);
  width: min(1100px, 100%);
  align-items: stretch;
  max-width: 100%;
  overflow-x: hidden;
}

.auth-grid--register {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.auth-grid--register .auth-card {
  width: 100%;
}

@media (min-width: 992px) {
  .auth-grid--register {
    grid-template-columns: minmax(280px, 360px) minmax(420px, 640px);
    justify-items: center;
    align-items: start;
  }
  
  .auth-grid--register .auth-card {
    width: 100%;
    max-width: 640px;
  }
  
  .auth-grid--register .auth-panel {
    width: 100%;
    max-width: 360px;
  }
}

.auth-card,
.auth-panel {
  background: var(--glass-bg);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  backdrop-filter: var(--blur-backdrop);
  padding: clamp(28px, 4vw, 48px);
  position: relative;
  overflow: visible;
  transform: translateY(18px);
  opacity: 0;
  transition: var(--transition-base);
  transition-property: opacity, transform, box-shadow;
}

.auth-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 136, 229, 0.08), rgba(255, 193, 7, 0.05));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}



.auth-card.is-visible,
.auth-panel.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.auth-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 32px);
}

.auth-panel__header {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.auth-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(30, 136, 229, 0.25), rgba(255, 193, 7, 0.4));
  display: grid;
  place-items: center;
  position: relative;
}

.auth-logo::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(30, 136, 229, 0.35);
  animation: pulse 10s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.12);
    opacity: 0.25;
  }
}

.auth-logo svg,
.auth-logo i {
  width: 26px;
  height: 26px;
  font-size: 26px;
  color: var(--color-primary);
  line-height: 1;
}

.auth-panel__title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  margin: 0;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.auth-panel__caption {
  margin: 8px 0 0 0;
  font-size: clamp(1rem, 2.4vw, 1.1rem);
  color: rgba(13, 27, 42, 0.7);
  line-height: 1.6;
}

.auth-panel__highlight {
  background: linear-gradient(135deg, rgba(30, 136, 229, 0.12), rgba(255, 193, 7, 0.16));
  border-radius: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(30, 136, 229, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.auth-panel__highlight h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
}

.auth-panel__highlight p {
  margin: 6px 0 0;
  font-size: 0.95rem;
  color: rgba(13, 27, 42, 0.75);
}

.auth-panel__meta {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: rgba(13, 27, 42, 0.68);
}

.auth-panel__meta strong {
  color: var(--color-primary);
}

.auth-panel__list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.auth-panel__list li {
  position: relative;
  display: block;
  color: rgba(13, 27, 42, 0.78);
  font-weight: 500;
  padding-left: 42px;
  line-height: 1.55;
}

.auth-panel__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(30, 136, 229, 0.16), rgba(255, 193, 7, 0.12));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7), 0 8px 20px rgba(30, 136, 229, 0.12);
}

.auth-panel__list svg,
.auth-panel__list i {
  width: 20px;
  height: auto;
  font-size: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
  position: absolute;
  left: 3px;
  top: 8px;
  line-height: 1;
}

.auth-panel__footer {
  font-size: 0.95rem;
  color: rgba(13, 27, 42, 0.65);
}

.auth-form {
  display: grid;
  gap: clamp(18px, 3vw, 24px);
}

.auth-headline {
  display: grid;
  gap: 8px;
  text-align: center;
}

.auth-headline h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #1e88e5, #ffc107);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.auth-headline p {
  margin: 0;
  font-size: 1rem;
  color: var(--color-subtext);
}

.message-alerts {
  display: grid;
  gap: 12px;
}

.message-alerts .alert {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(30, 136, 229, 0.18);
  color: var(--color-text);
  font-weight: 500;
  box-shadow: 0 10px 25px rgba(9, 30, 66, 0.08);
}

.input-field {
  display: grid;
  gap: 6px;
}

.input-label {
  font-weight: 500;
  color: rgba(13, 27, 42, 0.75);
  font-size: 0.95rem;
}

/* Crispy Forms compatibility */
.form-group {
  display: grid;
  gap: 6px;
  margin-bottom: 20px;
}

.form-group label {
  font-weight: 500;
  color: rgba(13, 27, 42, 0.75);
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.form-group .form-control {
  border: none;
  background: transparent;
  padding: 16px 18px 16px 0;
  font-size: 1rem;
  color: var(--color-text);
  width: 100%;
  font-family: inherit;
}

.form-group .form-control:focus {
  outline: none;
}

/* Crispy Forms field wrapper */
.field-wrapper {
  display: grid;
  gap: 6px;
}

.field-wrapper .input-shell {
  display: flex;
  align-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  border: 3px solid rgba(13, 27, 42, 0.08);
  padding: 0;
  transition: var(--transition-base);
  box-shadow: inset 0 0 0 0 rgba(30, 136, 229, 0.2);
}

.field-wrapper .input-shell:hover {
  border-color: rgba(30, 136, 229, 0.25);
  box-shadow: inset 0 0 0 1px rgba(30, 136, 229, 0.15);
}

.field-wrapper .input-shell:focus-within {
  border-color: rgba(30, 136, 229, 0.65);
  box-shadow: inset 0 0 0 1px rgba(30, 136, 229, 0.3), 0 0 0 6px rgba(30, 136, 229, 0.12);
}

.field-wrapper .input-shell .invalid-feedback {
  display: none;
}

.field-wrapper .input-icon {
  display: grid;
  place-items: center;
  width: 52px;
  color: rgba(30, 136, 229, 0.7);
}

.field-wrapper .input-icon svg {
  width: 20px;
  height: 20px;
}

/* Crispy Forms özel stilleri */
.crispy-form-wrapper {
  display: grid;
  gap: 20px;
}

.crispy-form-wrapper .form-group {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.crispy-form-wrapper .form-group label {
  font-weight: 500;
  color: rgba(13, 27, 42, 0.75);
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.crispy-form-wrapper .form-group input[type="text"],
.crispy-form-wrapper .form-group input[type="password"],
.crispy-form-wrapper .form-group input[type="email"] {
  width: 100%;
  padding: 16px 18px;
  border: 2px solid rgba(30, 136, 229, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--color-text);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition-base);
  box-shadow: inset 0 0 0 0 rgba(30, 136, 229, 0.2);
}

.crispy-form-wrapper .form-group input[type="text"]:focus,
.crispy-form-wrapper .form-group input[type="password"]:focus,
.crispy-form-wrapper .form-group input[type="email"]:focus {
  outline: none;
  border-color: rgba(30, 136, 229, 0.65);
  box-shadow: inset 0 0 0 1px rgba(30, 136, 229, 0.3), 0 0 0 6px rgba(30, 136, 229, 0.12);
}

.crispy-form-wrapper .form-group input[type="text"]:hover,
.crispy-form-wrapper .form-group input[type="password"]:hover,
.crispy-form-wrapper .form-group input[type="email"]:hover {
  border-color: rgba(30, 136, 229, 0.25);
  box-shadow: inset 0 0 0 1px rgba(30, 136, 229, 0.15);
}

.crispy-form-wrapper .form-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
  margin-right: 8px;
}

.crispy-form-wrapper .help-block {
  font-size: 0.85rem;
  color: #d93025;
  margin-top: 6px;
}

.crispy-form-wrapper .errorlist {
  list-style: none;
  padding: 0;
  margin: 6px 0 0 0;
}

.crispy-form-wrapper .errorlist li {
  font-size: 0.85rem;
  color: #d93025;
  margin-bottom: 4px;
}

.crispy-form-wrapper .errorlist li:last-child {
  margin-bottom: 0;
}

/* Yeni Crispy Forms tasarımı */
.crispy-field-wrapper {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.crispy-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: rgba(13, 27, 42, 0.85);
  font-size: 1rem;
  margin-bottom: 8px;
}

.label-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--color-primary);
}

.label-icon svg {
  width: 100%;
  height: 100%;
}

.crispy-input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.crispy-input-container input,
.crispy-input {
  width: 100%;
  padding: 12px 20px;
  border: 2px solid rgba(30, 136, 229, 0.15);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--color-text);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(30, 136, 229, 0.08);
  display: block;
  height: 48px;
}

.crispy-input-container input:focus,
.crispy-input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 4px rgba(30, 136, 229, 0.15), 0 8px 24px rgba(30, 136, 229, 0.12);
  transform: translateY(-2px);
}

.crispy-input-container input:hover,
.crispy-input:hover {
  border-color: rgba(30, 136, 229, 0.3);
  box-shadow: 0 6px 16px rgba(30, 136, 229, 0.1);
}

.crispy-input-container input::placeholder,
.crispy-input::placeholder {
  color: rgba(13, 27, 42, 0.5);
  font-weight: 400;
  text-align: center;
  padding-left: 0;
}

.crispy-errors {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.error-message {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #e53e3e;
  font-weight: 500;
  padding: 8px 12px;
  background: rgba(229, 62, 62, 0.08);
  border: 1px solid rgba(229, 62, 62, 0.2);
  border-radius: 8px;
}

.error-message::before {
  content: '⚠';
  font-size: 0.9rem;
}

/* Beni Hatırla tasarımı */
.crispy-remember-wrapper {
  margin: 20px 0 24px 0;
}

.crispy-checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(30, 136, 229, 0.05);
  border: 1px solid rgba(30, 136, 229, 0.1);
  transition: all 0.3s ease;
}

.crispy-checkbox-label:hover {
  background: rgba(30, 136, 229, 0.08);
  border-color: rgba(30, 136, 229, 0.2);
  transform: translateY(-1px);
}

.custom-checkbox {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(30, 136, 229, 0.3);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.custom-checkbox input[type="checkbox"],
.remember-checkbox {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  z-index: 2;
}

.checkmark {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: white;
  font-size: 14px;
  opacity: 0;
  transform: scale(0.3);
  transition: all 0.2s ease;
  z-index: 1;
}

.custom-checkbox input[type="checkbox"]:checked + .checkmark,
.remember-checkbox:checked + .checkmark {
  opacity: 1;
  transform: scale(1);
}

.custom-checkbox:has(input[type="checkbox"]:checked),
.custom-checkbox:has(.remember-checkbox:checked) {
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(30, 136, 229, 0.3);
}

.checkbox-text {
  font-size: 0.95rem;
  color: rgba(13, 27, 42, 0.8);
  font-weight: 500;
  user-select: none;
}

/* Submit button tasarımı */
.auth-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--color-primary), #1565c0);
  color: white;
  border: none;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(30, 136, 229, 0.3);
  position: relative;
  overflow: hidden;
}

.auth-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.auth-submit:hover::before {
  left: 100%;
}

.auth-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(30, 136, 229, 0.4);
}

.auth-submit:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(30, 136, 229, 0.3);
}

.submit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.submit-icon svg {
  width: 100%;
  height: 100%;
}

/* Dark mode stilleri */
.auth-body.dark-mode .crispy-label {
  color: rgba(241, 245, 249, 0.9);
}

.auth-body.dark-mode .crispy-input-container input,
.auth-body.dark-mode .crispy-input {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(148, 163, 184, 0.2);
  color: rgba(241, 245, 249, 0.9);
}

.auth-body.dark-mode .crispy-input-container input:focus,
.auth-body.dark-mode .crispy-input:focus {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(59, 130, 246, 0.7);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2), 0 8px 24px rgba(59, 130, 246, 0.15);
}

.auth-body.dark-mode .crispy-input-container input::placeholder,
.auth-body.dark-mode .crispy-input::placeholder {
  color: rgba(148, 163, 184, 0.6);
}

.auth-body.dark-mode .crispy-checkbox-label {
  background: rgba(15, 23, 42, 0.4);
  border-color: rgba(148, 163, 184, 0.2);
}

.auth-body.dark-mode .crispy-checkbox-label:hover {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(59, 130, 246, 0.3);
}

.auth-body.dark-mode .custom-checkbox {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(148, 163, 184, 0.3);
}

.auth-body.dark-mode .checkbox-text {
  color: rgba(241, 245, 249, 0.8);
}

.auth-body.dark-mode .error-message {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.input-shell {
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(13, 27, 42, 0.08);
  padding: 0;
  transition: var(--transition-base);
  box-shadow: inset 0 0 0 0 rgba(30, 136, 229, 0.2);
}

/* Crispy Forms mb-3 class'ını override et */
.input-shell .mb-3,
.input-shell div[class*="mb-3"],
.input-shell .form-group {
  margin-bottom: 0 !important;
  width: 100%;
}

.input-shell input {
  margin-bottom: 0 !important;
}

/* Crispy Remember Wrapper */
.crispy-remember-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.crispy-checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  position: relative;
  margin: 0;
  padding: 10px;
}

.crispy-checkbox-label .custom-checkbox {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(30, 136, 229, 0.4);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.crispy-checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  z-index: 2;
}

.crispy-checkbox-label .checkmark {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: white;
  font-size: 14px;
  opacity: 0;
  transform: scale(0.3);
  transition: all 0.2s ease;
  z-index: 1;
}

.crispy-checkbox-label .checkmark svg {
  width: 12px;
  height: 12px;
  color: white;
}

.crispy-checkbox-label input[type="checkbox"]:checked + .checkmark {
  opacity: 1;
  transform: scale(1);
}

.crispy-checkbox-label input[type="checkbox"]:checked ~ .custom-checkbox {
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(30, 136, 229, 0.3);
}

.crispy-checkbox-label .checkbox-text {
  font-size: 1rem;
  color: rgba(13, 27, 42, 1);
  font-weight: 600;
  display: inline-block;
  position: relative;
  z-index: 101;
  padding: 2px 6px;
  border-radius: 4px;
  margin: 0;
}

.input-shell:hover {
  border-color: rgba(30, 136, 229, 0.25);
  box-shadow: inset 0 0 0 1px rgba(30, 136, 229, 0.15);
}

.input-shell:focus-within {
  border-color: rgba(30, 136, 229, 0.65);
  box-shadow: inset 0 0 0 1px rgba(30, 136, 229, 0.3), 0 0 0 6px rgba(30, 136, 229, 0.12);
}

.input-icon {
  display: grid;
  place-items: center;
  width: 52px;
  color: rgba(30, 136, 229, 0.7);
}

.input-icon svg {
  width: 20px;
  height: 20px;
}

.auth-form .form-control,
.auth-form input,
.auth-form select,
.auth-form textarea {
  text-indent: 10px;
  border: none;
  background: transparent;
  padding: 16px 18px 16px 0;
  font-size: 1rem;
  color: var(--color-text);
  width: 100%;
  font-family: inherit;
}

.auth-form .form-control:focus,
.auth-form input:focus,
.auth-form select:focus,
.auth-form textarea:focus {
  outline: none;
}

.auth-form--split {
  gap: clamp(20px, 3vw, 28px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(14px, 2.5vw, 1px);
}

.form-grid__span {
  grid-column: 1 / -1;
}

.password-meter {
  margin-top: 10px;
  background: rgba(30, 136, 229, 0.08);
  border-radius: 999px;
  height: 6px;
  overflow: hidden;
  position: relative;
}

.password-meter-wrap {
  display: grid;
  gap: 8px;
}

.password-meter__bar {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(135deg, #ef4444, #f59e0b);
  transition: width 0.4s ease, background 0.3s ease;
}

.password-meter[data-strength="empty"] .password-meter__bar {
  width: 0%;
}

.password-meter[data-strength="weak"] .password-meter__bar {
  width: 35%;
  background: linear-gradient(135deg, #ef4444, #f97316);
}

.password-meter[data-strength="medium"] .password-meter__bar {
  width: 60%;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.password-meter[data-strength="strong"] .password-meter__bar {
  width: 100%;
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
}

.password-meter__text {
  margin-top: 8px;
  font-size: 0.85rem;
  color: rgba(13, 27, 42, 0.65);
  display: flex;
  align-items: center;
  gap: 6px;
}

.password-meter__text svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
}

.field-error-slot {
  display: flex;
  align-items: center;
  min-height: 20px;
  margin-top: 6px;
}

.field-error-slot:empty {
  visibility: hidden;
}

.field-error-slot .field-errors {
  margin: 0;
}

.field-errors {
  font-size: 0.85rem;
  color: #d93025;
}

.auth-actions__error-slot {
  grid-column: 1 / -1;
}

.auth-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  padding-top: 8px;
}

.auth-actions--login {
  grid-template-columns: repeat(auto-fit, minmax(160px, auto));
}

.auth-actions--login a {
  justify-self: end;
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(13, 27, 42, 0.75);
  font-weight: 500;
  cursor: pointer;
  position: relative;
}

.remember-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(13, 27, 42, 0.8);
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  position: relative;
}

.checkbox-field input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 2px solid rgba(30, 136, 229, 0.4);
  accent-color: var(--color-primary);
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.checkbox-field .checkmark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 2px solid rgba(30, 136, 229, 0.4);
  background: transparent;
  transition: all 0.3s ease;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkbox-field .checkmark svg {
  width: 12px;
  height: 12px;
  color: white;
  opacity: 0;
  transform: scale(0.3);
  transition: all 0.2s ease;
}

.checkbox-field input[type="checkbox"]:checked + .checkmark {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.checkbox-field input[type="checkbox"]:checked + .checkmark svg {
  opacity: 1;
  transform: scale(1);
}

/* Remember checkbox özel stilleri */
.remember-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  cursor: pointer;
  z-index: 2;
}

.remember-checkbox .checkmark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(30, 136, 229, 0.4);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  flex-shrink: 0;
  z-index: 1;
}

.remember-checkbox .checkmark svg {
  width: 12px;
  height: 12px;
  color: white;
  opacity: 0;
  transform: scale(0.3);
  transition: all 0.2s ease;
}

.remember-checkbox input[type="checkbox"]:checked + .checkmark {
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(30, 136, 229, 0.3);
}

.remember-checkbox input[type="checkbox"]:checked + .checkmark svg {
  opacity: 1;
  transform: scale(1);
}

.remember-checkbox .checkbox-text {
  font-size: 1rem;
  color: rgba(13, 27, 42, 1);
  font-weight: 600;
  display: inline-block;
  position: relative;
  z-index: 101;
  background: rgba(255, 255, 255, 0.9);
  padding: 2px 6px;
  border-radius: 4px;
}

.kvkk-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.kvkk-inline__checkbox {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 2px solid rgba(30, 136, 229, 0.4);
  position: relative;
  transition: var(--transition-base);
  background: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
}

.kvkk-inline__checkbox::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 0px;
  width: 6px;
  height: 12px;
  border-right: 2px solid rgba(255, 255, 255, 0.95);
  border-bottom: 2px solid rgba(255, 255, 255, 0.95);
  transform: scale(0) rotate(45deg);
  transform-origin: center;
  transition: var(--transition-base);
}

.kvkk-inline__checkbox.is-checked {
  background: linear-gradient(135deg, rgba(30, 136, 229, 0.85), rgba(76, 175, 80, 0.85));
  border-color: transparent;
}

.kvkk-inline__checkbox.is-checked::after {
  transform: scale(1) rotate(45deg);
}

.auth-link {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.auth-link:hover {
  color: #0d47a1;
}

.auth-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  border-radius: 16px;
  padding: 16px 20px;
  font-size: 1rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
  color: #ffffff;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(30, 136, 229, 0.35);
  transition: var(--transition-base);
}

.auth-submit:hover,
.auth-submit:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(30, 136, 229, 0.5);
}

.auth-submit:active {
  transform: translateY(0);
}

.auth-footer {
  text-align: center;
  font-size: 0.95rem;
  color: rgba(13, 27, 42, 0.75);
}

.auth-footer a {
  font-weight: 600;
  text-decoration: none;
  color: var(--color-primary);
  transition: color 0.3s ease;
}

.auth-footer a:hover {
  color: #0d47a1;
}

.dual-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(14px, 2vw, 20px);
}

.input-field .help-text {
  font-size: 0.85rem;
  color: rgba(13, 27, 42, 0.6);
}

.auth-meta {
  display: grid;
  gap: 16px;
  font-size: 0.92rem;
  color: rgba(13, 27, 42, 0.65);
}

.auth-meta strong {
  color: var(--color-text);
}

@media (max-width: 992px) {
  .auth-grid {
    justify-items: center;
  }

  .auth-panel {
    order: -1;
    text-align: center;
    align-items: center;
  }

  .auth-panel__list li {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .auth-card,
  .auth-panel {
    padding: 24px;
    width: min(95vw, 440px);
  }

  .auth-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .checkbox-field {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .auth-body::before,
  .auth-body::after {
    width: 320px;
    height: 320px;
    opacity: 0.8;
  }

  .auth-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .auth-panel {
    display: none;
  }
}

.theme-toggle {
  position: absolute;
  top: clamp(16px, 4vw, 24px);
  right: clamp(16px, 4vw, 24px);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  border: 1px solid rgba(13, 27, 42, 0.08);
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(13, 27, 42, 0.78);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px rgba(9, 30, 66, 0.08);
  cursor: pointer;
  transition: var(--transition-base);
}

.theme-toggle:hover {
  box-shadow: 0 10px 26px rgba(9, 30, 66, 0.12);
  transform: translateY(-1px);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
}

.auth-body.dark-mode {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: rgba(241, 245, 249, 0.94);
}

.auth-body.dark-mode::before,
.auth-body.dark-mode::after {
  background: radial-gradient(circle at center, rgba(30, 136, 229, 0.28), transparent 70%);
  opacity: 0.85;
}

.auth-body.dark-mode .auth-card,
.auth-body.dark-mode .auth-panel {
  background: rgba(15, 23, 42, 0.68);
  border-color: rgba(148, 163, 184, 0.22);
}

.auth-body.dark-mode .auth-card::before {
  background: linear-gradient(135deg, rgba(30, 136, 229, 0.18), rgba(255, 193, 7, 0.12));
}

.auth-body.dark-mode .auth-panel__title,
.auth-body.dark-mode .auth-headline h1,
.auth-body.dark-mode .auth-footer,
.auth-body.dark-mode .auth-panel__caption,
.auth-body.dark-mode .auth-panel__list li,
.auth-body.dark-mode .auth-panel__meta,
.auth-body.dark-mode .auth-panel__meta strong,
.auth-body.dark-mode .auth-panel__highlight h3,
.auth-body.dark-mode .auth-panel__highlight p,
.auth-body.dark-mode .auth-panel__footer,
.auth-body.dark-mode .input-label,
.auth-body.dark-mode .checkbox-field,
.auth-body.dark-mode .auth-actions,
.auth-body.dark-mode .auth-submit,
.auth-body.dark-mode .auth-panel__list svg,
.auth-body.dark-mode .auth-panel__list i {
  color: rgba(241, 245, 249, 0.9);
}

.auth-body.dark-mode .auth-submit {
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.3);
}

/* Dark mode için remember checkbox */
.auth-body.dark-mode .remember-checkbox {
  color: rgba(241, 245, 249, 0.9);
}

.auth-body.dark-mode .remember-checkbox .checkmark {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(148, 163, 184, 0.3);
}

.auth-body.dark-mode .remember-checkbox input[type="checkbox"]:checked + .checkmark {
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(30, 136, 229, 0.4);
}

.auth-body.dark-mode .remember-checkbox .checkbox-text {
  color: rgba(241, 245, 249, 1);
  display: inline-block;
  position: relative;
  z-index: 101;
  background: rgba(15, 23, 42, 0.9);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
}

/* Dark mode için crispy remember */
.auth-body.dark-mode .crispy-remember-wrapper {
  color: rgba(241, 245, 249, 0.9);
}

.auth-body.dark-mode .crispy-checkbox-label .custom-checkbox {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(148, 163, 184, 0.3);
}

.auth-body.dark-mode .crispy-checkbox-label input[type="checkbox"]:checked ~ .custom-checkbox {
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(30, 136, 229, 0.4);
}

.auth-body.dark-mode .crispy-checkbox-label .checkbox-text {
  color: rgba(241, 245, 249, 1);
  background: rgba(15, 23, 42, 0.9);
}

.auth-body.dark-mode .auth-submit:hover,
.auth-body.dark-mode .auth-submit:focus-visible {
  box-shadow: 0 16px 36px rgba(59, 130, 246, 0.45);
}

.auth-body.dark-mode .auth-panel__highlight {
  background: linear-gradient(135deg, rgba(14, 116, 144, 0.28), rgba(17, 94, 89, 0.22));
  border-color: rgba(148, 197, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.auth-body.dark-mode .input-shell {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(148, 163, 184, 0.2);
}

.auth-body.dark-mode .input-shell:focus-within {
  border-color: rgba(148, 197, 255, 0.7);
  box-shadow: inset 0 0 0 1px rgba(30, 136, 229, 0.35), 0 0 0 6px rgba(59, 130, 246, 0.2);
}

.auth-body.dark-mode .input-icon {
  color: rgba(129, 199, 245, 0.85);
}

.auth-body.dark-mode .auth-link {
  color: rgba(125, 211, 252, 0.92);
}

.auth-body.dark-mode .auth-link:hover {
  color: rgba(96, 165, 250, 0.92);
}

.auth-body.dark-mode .message-alerts .alert {
  background: rgba(30, 41, 59, 0.75);
  border-color: rgba(59, 130, 246, 0.3);
  color: rgba(226, 232, 240, 0.95);
}

.auth-body.dark-mode .auth-panel__list li::before {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.28), rgba(30, 64, 175, 0.22));
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.26), 0 8px 18px rgba(14, 116, 144, 0.3);
}

.auth-body.dark-mode .password-meter {
  background: rgba(30, 64, 175, 0.35);
}

.auth-body.dark-mode .auth-panel__list svg {
  color: rgba(191, 219, 254, 0.9);
}

.auth-body.dark-mode .password-meter__text {
  color: rgba(209, 213, 219, 0.75);
}
.auth-body.kvkk-open {
  overflow: hidden;
}

.kvkk-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
}

.kvkk-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 42, 0.45);
  backdrop-filter: blur(6px);
}

.kvkk-modal__dialog {
  position: relative;
  width: min(640px, 92vw);
  max-height: 85vh;
  background: var(--glass-bg);
  border-radius: 24px;
  border: 1px solid rgba(30, 136, 229, 0.18);
  box-shadow: 0 18px 45px rgba(13, 27, 42, 0.18);
  padding: clamp(24px, 4vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
}

.kvkk-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(13, 27, 42, 0.08);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  color: var(--color-text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition-base);
}

.kvkk-modal__close:hover {
  background: rgba(30, 136, 229, 0.15);
}

.kvkk-modal__content {
  overflow-y: auto;
  padding-right: 6px;
  display: grid;
  gap: 16px;
  color: rgba(13, 27, 42, 0.75);
  max-height: calc(65vh - 80px);
}

.kvkk-modal__content p {
  margin: 0;
  line-height: 1.65;
}

.kvkk-modal__content a {
  color: var(--color-primary);
  font-weight: 600;
}

.kvkk-modal__actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.auth-submit--light {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(227, 242, 253, 0.9));
  color: var(--color-primary);
  box-shadow: 0 10px 25px rgba(30, 136, 229, 0.25);
}

.auth-submit--light:hover,
.auth-submit--light:focus-visible {
  box-shadow: 0 16px 35px rgba(30, 136, 229, 0.32);
}

.auth-link--inline {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.auth-body.dark-mode .kvkk-modal__dialog {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.2);
  color: rgba(226, 232, 240, 0.92);
}

.auth-body.dark-mode .kvkk-modal__content p {
  color: rgba(226, 232, 240, 0.8);
}

.auth-body.dark-mode .auth-submit--light {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.35), rgba(30, 64, 175, 0.45));
  color: rgba(241, 245, 249, 0.92);
}

.auth-body.dark-mode .kvkk-inline__checkbox {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(148, 163, 184, 0.35);
}

.auth-body.dark-mode .kvkk-inline__checkbox.is-checked {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.8), rgba(16, 185, 129, 0.85));
}

/* ================= KVKK Modal Overrides ================ */
body.no-scroll {
  overflow: hidden;
}

.kvkk-modal {
  position: fixed !important;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* JS ile açıldığında */
.kvkk-modal[style*="display: flex"] {
  opacity: 1;
  visibility: visible;
}

/* Popup içeriği */
.kvkk-modal__dialog {
  background: #fff;
  color: #222;
  width: min(480px, 90%);
  border-radius: 12px;
  padding: 24px 28px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  transform: scale(0.9);
  transition: transform 0.35s ease;
  position: relative;
  animation: kvkkOpen 0.4s ease forwards;
}

/* Fade-in + scale animasyonu */
@keyframes kvkkOpen {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Kapatma butonu */
.kvkk-modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: #444;
  cursor: pointer;
  transition: color 0.2s ease;
}
.kvkk-modal__close:hover {
  color: #000;
}

/* Başlık ve içerik */
.kvkk-modal__dialog h2 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  text-align: center;
}

.kvkk-modal__content {
  max-height: 50vh;
  overflow-y: auto;
  line-height: 1.5;
  padding-right: 4px;
  color: #444;
  font-size: 0.95rem;
}

/* Onay butonu */
.kvkk-modal__actions {
  margin-top: 1.5rem;
  text-align: center;
}
.kvkk-modal__actions button {
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease;
}
.kvkk-modal__actions button:hover {
  background: #005fcc;
}
        .password-toggle {
            position: absolute;
            top: 50%;
            right: 1rem;
            transform: translateY(-50%);
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--auth-input-icon-color, #9ca3af);
        }
        .password-toggle:focus {
            outline: none;
        }
        .password-toggle i {
            font-size: 1.25rem;
        }
        .password-toggle .ph-eye,
        .password-toggle .ph-eye-slash {
            transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
        }
        .password-toggle .ph-eye {
            display: none;
        }
        .password-toggle.visible .ph-eye {
            display: block;
        }
        .password-toggle.visible .ph-eye-slash {
            display: none;
        }

.form-logo {
  width: 150px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.form-logo--light {
  display: block;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.623));
}

.form-logo--dark {
  display: none;
  filter: drop-shadow(0 8px 16px rgba(255, 255, 255, 0.7));
}

.auth-body.dark-mode .form-logo--light {
  display: none;
}

.auth-body.dark-mode .form-logo--dark {
  display: block;
}

.auth-footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.auth-footer__links span {
  color: rgba(13, 27, 42, 0.75);
}

.phone-login-link {
  margin-top: 5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(30, 136, 229, 0.25);
  background: linear-gradient(135deg, rgba(30, 136, 229, 0.08), rgba(59, 130, 246, 0.12));
  position: relative;
  overflow: hidden;
  transition: color 0.35s ease, border-color 0.35s ease;
}

.phone-login-link__icon {
  font-size: 1rem;
  line-height: 1;
}

.phone-login-link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(30, 136, 229, 0.25), rgba(148, 197, 255, 0.2));
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.phone-login-link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(30, 136, 229, 0.45);
  transition: box-shadow 0.45s ease;
}

.phone-login-link:hover::after,
.phone-login-link:focus-visible::after {
  opacity: 1;
  transform: scale(1.02);
}

.phone-login-link:hover::before,
.phone-login-link:focus-visible::before {
  box-shadow: 0 0 0 6px rgba(30, 136, 229, 0.18);
}

.phone-login-link:hover,
.phone-login-link:focus-visible {
  color: rgba(15, 23, 42, 0.88);
  border-color: rgba(30, 136, 229, 0.35);
}

.auth-body.dark-mode .auth-footer__links span {
  color: rgba(226, 232, 240, 0.82);
}

.auth-body.dark-mode .phone-login-link {
  color: rgba(226, 232, 240, 0.92);
  border: 1px solid rgba(148, 197, 255, 0.25);
  background: linear-gradient(135deg, rgba(77, 168, 255, 0.16), rgba(167, 135, 255, 0.14));
  box-shadow: 0 10px 28px rgba(14, 28, 45, 0.45);
}

.auth-body.dark-mode .phone-login-link::after {
  background: linear-gradient(135deg, rgba(77, 168, 255, 0.35), rgba(167, 135, 255, 0.3));
}

.auth-body.dark-mode .phone-login-link:hover,
.auth-body.dark-mode .phone-login-link:focus-visible {
  color: rgba(226, 232, 240, 0.98);
  border-color: rgba(148, 197, 255, 0.6);
}

.auth-body.dark-mode .phone-login-link:hover::before,
.auth-body.dark-mode .phone-login-link:focus-visible::before {
  box-shadow: 0 0 0 6px rgba(148, 197, 255, 0.25);
}
