/* Sayfa genel yapısı */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  padding: 20px;
  max-width: 960px;
  margin: auto;
}

/* Başlık */
h1 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 10px;
  color: #2c3e50;
}

/* Başlık */
h5 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 10px;
  color: #2c3e50;
}




/* Açıklama paragrafı */
p {
  text-align: center;
  font-size: 15px;
  color: #555;
}

/* Filtre formu */
form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  background-color: #eef2f7;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0,0,0,0.05);
}

label {
  font-weight: bold;
  font-size: 14px;
}

input[type="date"] {
  padding: 6px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
}

button {
  padding: 8px 16px;
  font-size: 14px;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #2980b9;
}

/* Yükleniyor mesajı */
.loading {
  margin-top: 10px;
  font-style: italic;
  color: #555;
  text-align: center;
}

/* Deprem tablosu */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  box-shadow: 0 0 5px rgba(0,0,0,0.05);
}

th, td {
  border: 1px solid #ccc;
  padding: 10px;
  font-size: 14px;
  text-align: center;
}

th {
  background-color: #ecf0f1;
  font-weight: bold;
}

/* Mobil uyum */
@media screen and (max-width: 600px) {
  form {
    flex-direction: column;
    align-items: stretch;
  }

  input[type="date"],
  button {
    width: 100%;
  }

  table,
  th,
  td {
    font-size: 12px;
  }
}



.geri-buton {
  position: fixed;
  bottom: 5px;   /* Footer’dan yukarıya mesafe */
  left: 20px;     /* Sol kenardan mesafe */
  z-index: 1000;  /* Her şeyin üstünde olsun */
}

.geri-buton a {
  text-decoration: none;
}

.geri-buton button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;

  /* Arka plan uyumlu gri geçişli */
  background: linear-gradient(145deg, #e0e0e0, #cfcfcf);
  color: #333;

  /* Hafif gölge */
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.geri-buton button:hover {
  background: linear-gradient(145deg, #d32f2f, #b71c1c);
  color: #fff;
  transform: scale(1.1);
}

