/* Genel Stil (Global body styles remain as needed) */
body {
  font-family: 'Roboto', sans-serif;
  background-color: #fcfcfc;
  margin: 0;
  padding: 0;
}

/* Ana İçerik Stil (Scoped to the .auth-page container) */
.auth-page {
  max-width: 450px;
  margin: 50px auto 60px; /* Spacing from header */
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
}

.auth-page:hover {
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

/* Sayfa Başlığı */
.auth-page h1 {
  text-align: center;
  color: #2c3e50;
  font-size: 28px;
  margin-bottom: 25px;
  font-weight: 700;
}

/* Hata Mesajı */
.auth-page .error {
  background-color: #ffe6e6;
  color: #d32f2f;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 20px;
  text-align: center;
  border: 1px solid #f44336;
  font-weight: 600;
}

/* Başarı Mesajı */
.auth-page .success {
  background-color: #e6ffed;
  color: #27ae60;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 20px;
  text-align: center;
  border: 1px solid #2ecc71;
  font-weight: 600;
}

/* Form Stil */
.auth-page form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-page form label {
  font-weight: 700;
  font-size: 16px;
  color: #34495e;
}

.auth-page form input {
  padding: 12px 15px;
  font-size: 16px;
  border: 1px solid #bdc3c7;
  border-radius: 6px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.auth-page form input:focus {
  border-color: #e74c3c;
  box-shadow: 0 0 8px rgba(231, 76, 60, 0.3);
  outline: none;
}

/* Buton Stil */
.auth-page button {
  padding: 12px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background-color: #e74c3c;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
}

.auth-page button:hover {
  background-color: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.auth-page button:active {
  background-color: #a93226;
}

/* Form Altbilgisi */
.auth-page .form-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #7f8c8d;
}

.auth-page .form-footer a {
  color: #e74c3c;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s, text-decoration 0.3s;
}

.auth-page .form-footer a:hover {
  color: #c0392b;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 500px) {
  .auth-page {
    padding: 20px;
    margin: 80px 10px 40px;
  }

  .auth-page h1 {
    font-size: 24px;
  }

  .auth-page form input,
  .auth-page button {
    font-size: 14px;
    padding: 10px;
  }

  .auth-page .form-footer {
    font-size: 13px;
  }
}
