/* ========== GENEL YAPILANDIRMA ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  position: relative;
  background: #e8ecf0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding: 20px;
  overflow-x: hidden;
}

/* ========== ARKA PLAN LOGOLARI (GEYİK) ========== */
.bg-logo {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  height: auto;
  opacity: 1;
  filter: none;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.bg-left { 
  left: 40px;
}

.bg-right { 
  right: 40px;
}

/* ========== LOGIN KARTI ========== */
.login-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 500px;
}

.login-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 45px 40px 40px 40px;
  transition: none;
  border: none;
}

.login-card:hover {
  transform: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* ========== HEADER ========== */
.login-header {
  text-align: center;
  margin-bottom: 35px;
}

.login-logo {
  width: 5.9375rem; /* 95px */
  height: auto;
  margin-bottom: 20px;
  filter: none;
  transition: none;
}

.login-logo:hover {
  transform: none;
}

.login-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0b2447;
  margin-bottom: 8px;
  letter-spacing: 0;
}

.login-subtitle {
  font-size: 0.95rem;
  color: #7a8a99;
  font-weight: 400;
}

/* ========== FORM ELEMENTLERI ========== */
.mb-3 {
  margin-bottom: 18px;
}

.form-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: #2c3e50;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: none;
  letter-spacing: 0;
}

.form-label i {
  color: #5a6c7d;
  font-size: 1rem;
}

.required-indicator {
  color: #e74c3c;
  font-weight: 700;
  font-size: 1rem;
}

.form-control {
  border: 1px solid #d1dae3;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  background: #ffffff;
  color: #2c3e50;
  font-weight: 400;
}

.form-control:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
  background: #ffffff;
  outline: none;
}

.form-control:hover {
  border-color: #b8c5d1;
}

.form-control::placeholder {
  color: #a8b4c0;
  font-size: 0.9rem;
  font-weight: 400;
}

/* ========== CHECKBOX & LINK ========== */
.form-check {
  padding-left: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-check-input {
  width: 18px;
  height: 18px;
  border: 1px solid #cbd5e0;
  border-radius: 4px;
  cursor: pointer;
  margin: 0;
  flex-shrink: 0;
}

.form-check-input:checked {
  background-color: #3498db;
  border-color: #3498db;
}

.form-check-label {
  font-size: 0.875rem;
  color: #5a6c7d;
  cursor: pointer;
  user-select: none;
  font-weight: 400;
}

.forgot-link {
  font-size: 0.875rem;
  color: #3498db;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.forgot-link:hover {
  color: #2980b9;
  text-decoration: underline;
}

/* ========== BUTONLAR ========== */
.tursan-btn {
  background: linear-gradient(135deg, #0b2447 0%, #19376d 100%);
  border: none;
  color: #ffffff;
  border-radius: 8px;
  padding: 13px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  width: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(11, 36, 71, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 8px;
}

.tursan-btn:hover {
  background: linear-gradient(135deg, #19376d 0%, #0b2447 100%);
  box-shadow: 0 6px 16px rgba(11, 36, 71, 0.3);
  transform: translateY(-2px);
  color: #ffffff;
}

.tursan-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(11, 36, 71, 0.2);
}

.tursan-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.tursan-btn i {
  font-size: 1.1rem;
}

/* ========== ALERT MESAJLARI ========== */
.alert {
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.9rem;
  border: none;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideIn 0.3s ease;
  font-weight: 500;
  margin-bottom: 16px;
}

.alert-danger {
  background: #ffeaea;
  color: #c0392b;
  border-left: 4px solid #e74c3c;
}

.alert-success {
  background: #d5f4e6;
  color: #27ae60;
  border-left: 4px solid #2ecc71;
}

.alert i {
  font-size: 1.2rem;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== FOOTER ========== */
.login-footer {
  margin-top: 30px;
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid #e8ecf0;
}

.register-link-text {
  font-size: 0.9rem;
  color: #7a8a99;
  margin: 0;
  font-weight: 400;
}

.register-link-a {
  color: #0b2447;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-left: 5px;
  text-transform: none;
  letter-spacing: 0;
}

.register-link-a:hover {
  color: #19376d;
  text-decoration: underline;
}

/* ========== ANIMASYONLAR ========== */
.spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% { 
    transform: rotate(360deg); 
  }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .bg-logo {
    width: 300px;
    opacity: 0.8;
  }

  .bg-left { left: 10px; }
  .bg-right { right: 10px; }

  .login-card {
    padding: 35px 30px;
    border-radius: 16px;
  }

  .login-title {
    font-size: 1.5rem;
  }

  .login-logo {
    width: 75px;
    height: 75px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 15px;
  }

  .bg-logo {
    width: 220px;
    opacity: 0.6;
  }

  .bg-left { left: -30px; }
  .bg-right { right: -30px; }

  .login-card {
    padding: 30px 25px;
  }

  .login-logo {
    width: 70px;
    height: 70px;
  }

  .login-title {
    font-size: 1.4rem;
  }
}.login-card {
  animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}