/* ========= legal.css ========= */

/* Legal page section styles (site css'inle çakışmaması için prefix'li) */
.legal-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 16px 56px;
}

.legal-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 22px;
}

.legal-head {
  display: grid;
  gap: 6px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.legal-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  color: #111827;
  font-weight: 800;
}

.legal-meta {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
}

.legal-content {
  display: grid;
  gap: 14px;
  color: #111827;
  line-height: 1.7;
}
/* metin satır uzunluğunu korumak için */
.legal-content {
  max-width: 900px; /* senin verdiğin değer */
  margin: 0 auto; /* 🔴 ÖNEMLİ: ortalar */
}
.legal-content p {
  margin: 0;
}

.legal-content h2 {
  margin: 10px 0 0;
  font-size: 18px;
  color: #111827;
  font-weight: 800;
}

.legal-content ul {
  margin: 0;
  padding-left: 18px;
}

.legal-content li {
  margin: 6px 0;
}

.legal-link {
  color: #111827;
  text-decoration: underline;
}

.legal-note {
  margin-top: 8px;
  padding: 12px 14px;
  background: #f9fafb;
  border: 1px dashed #e5e7eb;
  border-radius: 12px;
  color: #6b7280;
  font-size: 14px;
}

/* ========= Cookie Banner (only necessary + analytics) ========= */
.cc-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display: none;
}

.cc-box {
  max-width: 980px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  padding: 14px;
}

.cc-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cc-left {
  flex: 1;
  min-width: 240px;
}
.cc-title {
  margin: 0 0 6px;
  font-weight: 900;
  font-size: 15px;
  color: #111827;
}

.cc-desc {
  margin: 0;
  font-size: 14px;
  color: #374151;
  line-height: 1.55;
}

.cc-desc a {
  color: #111827;
  text-decoration: underline;
}

.cc-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.cc-btn {
  appearance: none;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #111827;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}

.cc-btn:hover {
  background: #f9fafb;
}

.cc-btn.primary {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
}

.cc-btn.primary:hover {
  background: #0b1220;
}

.cc-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 10000;
  display: none;
}

.cc-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 32px);
  max-width: 720px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  z-index: 10001;
  display: none;
  padding: 14px;
}

.cc-mhead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 12px;
}

.cc-mhead h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  color: #111827;
}

.cc-close {
  border: 1px solid #e5e7eb;
  background: #ffffff;
  border-radius: 12px;
  padding: 8px 10px;
  cursor: pointer;
  color: rgb(255, 0, 0);
}

.cc-grid {
  display: grid;
  gap: 10px;
}

.cc-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f9fafb;
  padding: 12px;
}

.cc-ctop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cc-ctitle {
  margin: 0;
  font-weight: 900;
  font-size: 14px;
  color: #111827;
}

.cc-cdesc {
  margin: 8px 0 0;
  font-size: 13px;
  color: #374151;
  line-height: 1.5;
}

.cc-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #6b7280;
}

.cc-switch input {
  width: 18px;
  height: 18px;
}

.cc-foot {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.legal-small {
  font-size: 14px;
  color: #6b7280;
}
