/* Genel stil ayarları */



/* Ana kapsayıcı */
.namazcontainer {
  max-width: 1100px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Üst Başlık */
.namazheader {
    background: linear-gradient( 240.1deg, #f0af2a -4.82%, #e97221 69.18%, #f44228 131.79% );
    color: white;
    padding: 25px;
}

    .namazheader h1 {
        font-size: 1.8rem;
        font-weight: bold;
        line-height:130%;
    }

    .namazheader p {
        margin-top: 4px;
        font-size: 1rem;
    }

    .vakitler {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 15px;
    }

.vakitler div {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 10px 14px;
  text-align: center;
  flex: 1 1 100px;
}

.vakitler strong {
  display: block;
  font-size: 0.9rem;
}

.vakitler span {
  font-size: 0.85rem;
}

/* Tablo */
.table-container {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left; /* ✅ Sol hizalama */
  font-size: 0.95rem;
}

thead {
  background-color: #f0f0f0;
}

th,
td {
  padding: 12px 15px;
  border-bottom: 1px solid #ddd;
  white-space: nowrap; /* ✅ Tarihler düz görünür */
}

th {
  font-weight: 600;
}

tbody tr:hover {
  background-color: #fafafa;
}

/* Tarih sütunu hizalama */
td:nth-child(2),
th:nth-child(2) {
  text-align: left; /* ✅ Tarih sütunu sola hizalı */
}

/* Sütun genişlikleri */
th:first-child,
td:first-child {
  width: 40px;
  text-align: center;
}

th:nth-child(2),
td:nth-child(2) {
  width: 180px;
}

/* İller Listesi */
.iller-container {
  padding: 30px 20px;
  text-align: center;
}

.iller-container h2 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #333;
  line-height:130%;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.city-grid a {
  text-decoration: none;
  color: #222;
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 10px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.city-grid a:hover {
  background: #f0af2a;
  color: white;
  border-color: #e97221;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 900px) {
    .topfilters {
        flex-direction: column;
        gap: 14px;
    }

        .topfilters .slot {
            justify-content: center;
            width: 100%;
        }

        .topfilters .tf-control {
            max-width: 420px;
        }
}

/* Responsive ayarlar */
@media (max-width: 768px) {
  .vakitler {
    justify-content: center;
  }

    .namazheader {
        text-align: center;
    }

  table {
    font-size: 0.85rem;
  }

  th,
  td {
    padding: 10px 8px;
  }

  .city-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
}

.topfilters-wrap {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.topfilters {
    max-width: 1100px;
    margin: 20px auto;
    padding: 16px 20px;
    background: #f2f2f2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

    /* 3 bölmeli hizalama */
    .topfilters .slot {
        flex: 1;
        display: flex;
        align-items: center;
    }

        .topfilters .slot.left {
            justify-content: flex-start;
        }

        .topfilters .slot.center {
            justify-content: center;
        }

        .topfilters .slot.right {
            justify-content: flex-end;
        }

    .topfilters .tf-control {
        height: 42px;
        width: 100%;
        max-width: 280px; /* kutucuk genişliği */
        padding: 0 12px;
        border: 1px solid #ccc;
        border-radius: 8px;
        background: #fff;
        font-size: 15px;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

        .topfilters .tf-control:focus {
            outline: none;
            border-color: #ff7e00;
            box-shadow: 0 0 0 2px rgba(255,126,0,0.25);
        }
