body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #282c34;
  color: white;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  transition: background-color 0.5s;
}

.container {
  max-width: 400px; /* Kapsayıcı genişliği */
  width: 100%;
  background-color: #3c4043;
  padding: 40px; /* Yalnızca tek bir padding değeri */
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.5s ease-in-out; /* Fade in effect */
  border: 2px solid transparent; /* Kenar rengi için başlangıç */
  transition: border-color 0.3s; /* Kenar rengi geçişi */
}

@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(-20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.error {
  color: #ff6b6b;
  margin-bottom: 15px;
  z-index: 1;
  position: relative;
  font-weight: bold;
  text-align: center; /* Metni ortala */
}

input[type="text"], input[type="password"] {
  width: 90%; /* Genişlik %90 */
  padding: 14px;
  margin: 10px auto; /* Yatayda ortala */
  border: none;
  border-radius: 8px;
  background-color: #444649;
  color: white;
  font-size: 16px;
  transition: background-color 0.3s, box-shadow 0.3s;
  border: 1px solid transparent;
  display: block; /* Görünümü simetrik hale getir */
  position: relative; /* Position relative */
}

input[type="text"]:focus, input[type="password"]:focus {
  background-color: #55595e;
  box-shadow: 0 0 8px rgba(97, 218, 251, 0.8);
  outline: none;
  border-color: #61dafb; /* Focus durumundaki kenar rengi */
  transition: border-color 0.3s; /* Border rengi geçişi */
}

input[type="text"]::placeholder, input[type="password"]::placeholder {
  color: #b0b3b8;
  font-style: italic; /* Placeholder yazı stili */
}

button {
  padding: 14px; /* Yalnızca tek bir padding değeri */
  border: none;
  background-color: #61dafb;
  color: black;
  cursor: pointer;
  border-radius: 8px;
  width: 90%; /* Buton genişliği %90 */
  min-height: 50px; /* Butonun minimum yüksekliği */
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s, filter 0.3s; /* Geçişlere filtre eklendi */
  display: block; /* Görünümü simetrik hale getir */
  margin: 20px auto; /* Yatayda ortala */
  filter: brightness(1.1); /* Buton parlaklık efekti */
}

button:hover {
  background-color: #21a1f1;
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  filter: brightness(1.2); /* Hoverda daha parlak hale getirin */
}

h2 {
  margin-bottom: 20px;
  font-size: 28px;
  z-index: 1;
  position: relative;
  text-align: center; /* Metni ortala */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Başlık için gölge efekti */
}

.ai-icon {
  margin: 20px 0;
  width: 60px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.3s;
}

.ai-icon:hover {
  transform: scale(1.1); /* Hover efekt */
}

/* Yeni stil: Animasyon efekti */
.container:hover {
  border-color: #61dafb; /* Hover durumunda kenar rengi değişimi */
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5); /* Hoverda gölge artışı */
}
