/* İshak Gencer - Mobil uyumlu, hızlı arayüz */

/* Badak Medya fontu - assets/font/Astra-6RGXq.otf */
@font-face {
  font-family: "Badak Medya";
  src: url("../assets/font/Astra-6RGXq.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0d0d0d;
  --surface: #1a1a1a;
  --text: #f2f2f2;
  --muted: #888;
  --accent: #c9a962;
  --accent-hover: #d4b872;
  --border: #2a2a2a;
  --error: #c94a4a;
  --success: #4a9c6d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 480px;
  margin: 0 auto;
  padding: 1rem;
}

/* Ana sayfa - Hazırlanıyoruz */
.coming-soon {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
}

.coming-soon-logo {
  width: 200px;
  height: 200px;
  max-width: 90vw;
  object-fit: contain;
  margin-bottom: 0.5rem;
  display: block;
}

.coming-soon .tagline {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.coming-soon .cta {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s;
}

.coming-soon .cta:hover {
  background: var(--accent-hover);
}

/* Form sayfaları */
.page-box {
  min-height: 100vh;
  padding: 1.5rem 1rem;
}

.page-box h1 {
  font-size: 1.35rem;
  margin: 0 0 1.5rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea {
  min-height: 80px;
  resize: vertical;
}

.btn {
  display: block;
  width: 100%;
  padding: 0.85rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  margin-top: 0.5rem;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  margin-top: 0.75rem;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.alert {
  padding: 0.75rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.alert-error {
  background: rgba(201, 74, 74, 0.15);
  border: 1px solid var(--error);
  color: #e88;
}

.alert-success {
  background: rgba(74, 156, 109, 0.15);
  border: 1px solid var(--success);
  color: #8ec;
}

.links {
  text-align: center;
  margin-top: 1.25rem;
}

.links a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
}

.links a:hover {
  text-decoration: underline;
}

/* Randevu sayfası */
.randevu-list {
  margin-top: 1.5rem;
}

.randevu-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.randevu-item .date {
  color: var(--accent);
  font-weight: 600;
}

.randevu-item .status {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.user-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.user-bar .user-name {
  color: var(--muted);
  font-size: 0.9rem;
}

.user-bar a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
}

/* Yönetici listesi */
.table-wrap {
  overflow-x: auto;
  margin-top: 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th, td {
  padding: 0.6rem 0.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  color: var(--muted);
  font-weight: 600;
}

.randevu-table { border: none; }
.randevu-table th { background: var(--surface); }

@media (max-width: 600px) {
  table { font-size: 0.8rem; }
  th, td { padding: 0.5rem 0.35rem; }
}

/* Utility */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mb-0 { margin-bottom: 0; }
.saat-ozet { font-size: 0.9rem; }
.muted { color: var(--muted); }
.btn-link { background: none; border: none; color: var(--accent); cursor: pointer; text-decoration: none; font-size: 0.9rem; padding: 0; }
.btn-link:hover { text-decoration: underline; }
.panel-ayar { margin-bottom: 1rem; }
.panel-ayar .form-group { margin-bottom: 0.75rem; }

.musaitlik-tablo-wrap { margin-top: 1rem; }
.musaitlik-tablo { width: 100%; max-width: 320px; }
.musaitlik-tablo th { text-align: left; padding: 0.5rem 0.6rem; background: var(--surface); color: var(--muted); font-size: 0.9rem; }
.musaitlik-tablo td { padding: 0.45rem 0.6rem; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.musaitlik-tablo tr.durum-bos td:last-child { color: var(--success); }
.musaitlik-tablo tr.durum-dolu td:last-child { color: var(--muted); }

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 1.25rem 1rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-inner { max-width: 480px; margin: 0 auto; }
.footer-logo {
  width: 48px;
  height: 48px;
  max-width: 48px;
  max-height: 48px;
  object-fit: contain;
  display: block;
  margin: 0 auto 0.75rem;
}
.footer-brand {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}
.footer-tagline {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}
.footer-credit {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.9;
  line-height: 1.5;
}
.footer-badak-link {
  font-family: "Badak Medya", "Segoe UI", system-ui, sans-serif;
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}
.footer-credit .footer-badak-link {
  color: var(--muted);
}
.footer-badak-link:hover {
  color: var(--text);
  text-decoration: underline;
}
