/* =========================
   GENEL SAYFA TASARIMI
   ========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: #f3f4f6;
  margin: 0;
  padding: 0;
  color: #111827;
}

/* Ana kap: desktop'ta ortalanmış, mobilde tam genişlik */
.container {
  width: 100%;
  max-width: 960px;
  margin: 40px auto;
  background: #ffffff;
  padding: 24px 28px;
  border-radius: 18px;
  box-shadow: 0px 14px 40px rgba(15, 23, 42, 0.1);
}

h1 {
  margin-top: 0;
  font-size: 30px;
  font-weight: 700;
  color: #111827;
  text-align: center;
}

.intro {
  font-size: 15px;
  color: #4b5563;
  text-align: center;
  margin-bottom: 16px;
}

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 13px;
  background: #eef2ff;
  color: #4338ca;
  margin-left: 6px;
}

.pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  background: #d1fae5;
  color: #047857;
  margin-left: 6px;
}

/* =========================
   BUTONLAR
   ========================= */
button,
.btn {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  border: none;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, opacity 0.15s;
}

button:hover,
.btn:hover {
  opacity: 0.96;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

button:active,
.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* =========================
   LİNKLER
   ========================= */
a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
}

/* =========================
   FORM ELEMANLARI
   ========================= */
label {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
  display: block;
}

input[type="text"],
input[type="url"],
input[type="search"],
textarea,
select {
  width: 100%;
  padding: 11px 12px;
  margin-bottom: 16px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  background: #fff;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

/* =========================
   KARTLAR (Setup sayfası)
   ========================= */
.cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0px 10px 26px rgba(15, 23, 42, 0.06);
}

.card h2 {
  margin-top: 0;
  font-size: 20px;
  margin-bottom: 10px;
}

.card-primary {
  background: radial-gradient(circle at top left, #eff6ff, #ffffff);
  border: 1px solid #dbeafe;
}

.card .hint {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 14px;
}

/* Desktop'ta kartlar yan yana olsun istersen
   (şu an mobil için alt alta istiyorsun, o yüzden yorum satırında bırakıyorum)
   İLERİDE AÇMAK İSTERSEN yorumdan çıkarırsın. */
/*
@media (min-width: 900px) {
  .cards {
    flex-direction: row;
    align-items: stretch;
  }

  .card {
    flex: 1;
  }
}
*/

/* =========================
   İŞLETME SEÇİM LİSTESİ
   ========================= */
.place-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.place-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 14px 12px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.place-header {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}

.place-thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.place-thumb.placeholder {
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.place-name {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}

.place-address {
  font-size: 13px;
  color: #6b7280;
  margin-top: 4px;
}

.place-rating {
  font-size: 13px;
  color: #374151;
  margin-top: 4px;
}

.rating-count {
  color: #6b7280;
  margin-left: 4px;
}

/* =========================
   ADMIN TABLO
   ========================= */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 14px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
}

.table th {
  background: #f3f4f6;
  font-weight: 600;
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.table td {
  padding: 10px;
  border-bottom: 1px solid #f1f1f1;
}

.table tr:hover {
  background: #f9fafb;
}

/* =========================
   MOBİL TASARIM
   ========================= */
@media (max-width: 768px) {
  body {
    background: #ffffff;
  }

  .container {
    margin: 0;
    margin-top: 0;
    border-radius: 0;
    width: 100%;
    max-width: 100%;
    padding: 18px 14px 24px;
    box-shadow: none;
  }

  h1 {
    font-size: 22px;
  }

  .intro {
    font-size: 14px;
  }

  .card {
    padding: 14px 14px;
    border-radius: 14px;
  }

  .card h2 {
    font-size: 17px;
  }

  label {
    font-size: 13px;
  }

  input[type="text"],
  input[type="url"],
  input[type="search"],
  textarea {
    padding: 10px 11px;
    font-size: 14px;
  }

  button,
  .btn {
    padding: 11px 14px;
    font-size: 14px;
    border-radius: 12px;
  }

  .place-card {
    padding: 12px 12px;
    border-radius: 12px;
  }

  .place-thumb {
    width: 52px;
    height: 52px;
  }

  .place-name {
    font-size: 14px;
  }

  .place-address,
  .place-rating {
    font-size: 12px;
  }
}

