/* Sıfırlama ve temel stil */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  height: 100vh;
  background: linear-gradient(135deg, #1e1e2f, #252542);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Login kutusu cam efekti + kart yapısı */
.login-container {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 40px 30px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  color: #fff;
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-form h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 24px;
  font-weight: 600;
}

/* Input alanları */
.login-form input {
  width: 100%;
  padding: 14px 16px;
  margin: 12px 0;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 15px;
  transition: 0.3s ease;
  outline: none;
}

.login-form input::placeholder {
  color: #ccc;
}

.login-form input:focus {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid #91aaff;
}

/* Buton */
.login-form button {
  width: 100%;
  padding: 14px;
  margin-top: 16px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.login-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(118, 75, 162, 0.4);
}

/* Alt metin */
.signup-text {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #aaa;
}

.signup-text a {
  color: #91aaff;
  text-decoration: none;
  font-weight: 500;
}

.signup-text a:hover {
  text-decoration: underline;
}
/* İkonlu başlık */
.login-form h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 26px;
  font-weight: 600;
  color: #fff;
}
.login-form h2 i {
  margin-right: 8px;
  color: #91aaff;
}

/* Giriş butonu özelleştirme */
.login-btn {
  background: linear-gradient(135deg, #667eea, #764ba2);
  width: 100%;
  padding: 14px;
  margin-top: 16px;
  border: none;
  border-radius: 12px;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(118, 75, 162, 0.4);
}

/* Sosyal login alanı */
.social-login {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.social-login button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border: none;
  border-radius: 10px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.3s ease;
  color: #fff;
}
.google-btn {
  background-color: #db4437;
}
.google-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
.facebook-btn {
  background-color: #4267B2;
}
.facebook-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
.social-login i {
  font-size: 16px;
}

/* Ayırıcı çizgi */
.divider {
  position: relative;
  text-align: center;
  margin: 25px 0 10px;
}
.divider::before,
.divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 45%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}
.divider::before {
  left: 0;
}
.divider::after {
  right: 0;
}
.divider span {
  color: #ccc;
  font-size: 13px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.05);
}
