/* Modern Giriş Sayfası Tasarımı */

html,
body {
  height: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  display: flex;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

.form-signin {
  width: 100%;
  max-width: 400px;
  padding: 2rem;
  margin: auto;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  border: 1px solid rgba(255,255,255,0.2);
}

.form-signin .checkbox {
  font-weight: 400;
}

.form-signin .form-floating:focus-within {
  z-index: 2;
}

.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-signin input:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
  outline: none;
}

.form-signin .btn {
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2);
}

.form-signin .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px -3px rgba(79, 70, 229, 0.3);
}

.form-signin .btn:active {
  transform: translateY(0);
}

/* Logo ve başlık stilleri */
.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-header img {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.login-header h1 {
  color: #1e293b;
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.login-header p {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Form grupları */
.form-floating {
  margin-bottom: 1rem;
}

.form-floating label {
  color: #64748b;
  font-weight: 500;
}

/* Hata mesajları */
.alert {
  border-radius: 12px;
  border: none;
  font-weight: 500;
}

.alert-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
}

.alert-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

/* Responsive */
@media (max-width: 576px) {
  .form-signin {
    margin: 1rem;
    padding: 1.5rem;
  }
  
  .login-header h1 {
    font-size: 1.5rem;
  }
}

/* Animasyonlar */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-signin {
  animation: fadeInUp 0.6s ease-out;
}
