/* Çerez tercihleri bileşeni. Bağımsız stil dosyası (Tailwind derlemesi gerektirmez). */
.bhc { position: fixed; inset: auto 0 0 0; z-index: 70; padding: 12px; pointer-events: none; }
.bhc[hidden] { display: none; }
.bhc-card {
    pointer-events: auto; max-width: 980px; margin: 0 auto; background: #fff; color: #1f2937;
    border: 1px solid #e5e7eb; border-radius: 18px; box-shadow: 0 18px 48px rgba(15, 23, 42, .18);
    padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; max-height: calc(100vh - 24px); overflow-y: auto;
    font-family: inherit;
}
.bhc-title { margin: 0; font-size: 17px; font-weight: 800; color: #111827; display: flex; align-items: center; gap: 8px; }
.bhc-title i { color: #3a86ff; }
.bhc-title:focus { outline: none; }
.bhc-text { margin: 0; font-size: 14px; line-height: 1.55; color: #4b5563; }
.bhc-note { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: #92400e; background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 8px 10px; }
.bhc-link { color: #1d4ed8; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.bhc-link:hover { color: #3a86ff; }
.bhc-form { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.bhc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.bhc-btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px;
    border-radius: 12px; font-size: 14px; font-weight: 800; line-height: 1.2; cursor: pointer; text-decoration: none;
    border: 2px solid transparent; transition: background-color .15s, border-color .15s, color .15s; font-family: inherit;
}
.bhc-btn:focus-visible, .bhc-close:focus-visible, .bhc-category input:focus-visible, .bhc-link:focus-visible, .bhc-fab:focus-visible {
    outline: 3px solid #1d4ed8; outline-offset: 2px;
}
/* Kabul ve ret AYNI görünür ağırlıkta: aynı sınıf, aynı renk, aynı boyut. */
.bhc-btn-choice { background: #1d4ed8; color: #fff; border-color: #1d4ed8; }
.bhc-btn-choice:hover { background: #1e40af; border-color: #1e40af; }
.bhc-btn-ghost { background: #fff; color: #1d4ed8; border-color: #bfdbfe; }
.bhc-btn-ghost:hover { border-color: #1d4ed8; }
.bhc-btn[hidden] { display: none; }
.bhc-close {
    margin-left: auto; width: 40px; height: 40px; border-radius: 10px; border: 1px solid #e5e7eb; background: #fff;
    color: #4b5563; cursor: pointer; font-size: 16px;
}
.bhc-close[hidden] { display: none; }
.bhc-panel[hidden] { display: none; }
.bhc-categories { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bhc-category { border: 1px solid #e5e7eb; border-radius: 12px; padding: 10px 12px; background: #f8fafc; }
.bhc-category-head { display: flex; align-items: center; gap: 10px; }
.bhc-category-head input { width: 20px; height: 20px; accent-color: #1d4ed8; flex-shrink: 0; }
.bhc-category-head label { font-size: 14px; font-weight: 800; color: #111827; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; cursor: pointer; }
.bhc-category-head input:disabled + label { cursor: default; }
.bhc-category-desc { margin: 6px 0 0 30px; font-size: 13px; line-height: 1.5; color: #4b5563; }
.bhc-pill { font-size: 11px; font-weight: 700; color: #166534; background: #dcfce7; border-radius: 999px; padding: 2px 8px; }
.bhc-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.bhc-fab {
    position: fixed; left: 12px; bottom: 12px; z-index: 60; background: #fff; color: #1d4ed8; border: 1px solid #bfdbfe;
    border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 700; text-decoration: none; box-shadow: 0 6px 18px rgba(15, 23, 42, .12);
}

/* /cerez-tercihleri sayfası */
.bhc-page { max-width: 860px; margin: 0 auto; padding: 32px 16px 56px; display: flex; flex-direction: column; gap: 22px; }
.bhc-page-title { margin: 0; font-size: 28px; font-weight: 800; color: #111827; display: flex; align-items: center; gap: 10px; }
.bhc-page-title i { color: #3a86ff; }
.bhc-subtitle { margin: 0 0 10px; font-size: 18px; font-weight: 800; color: #111827; }
.bhc-alert { margin: 0; background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; border-radius: 12px; padding: 10px 12px; font-weight: 700; }
.bhc-current, .bhc-page-form { background: #fff; border: 1px solid #e5e7eb; border-radius: 18px; padding: 18px; }
.bhc-dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bhc-dl div { background: #f8fafc; border-radius: 10px; padding: 8px 10px; }
.bhc-dl dt { font-size: 12px; color: #6b7280; font-weight: 700; }
.bhc-dl dd { margin: 2px 0 0; font-size: 14px; color: #111827; font-weight: 800; }
.bhc-hint { margin: 0; font-size: 13px; line-height: 1.5; color: #6b7280; }
.bhc-table-wrap { overflow-x: auto; border: 1px solid #e5e7eb; border-radius: 14px; background: #fff; }
.bhc-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.bhc-table th, .bhc-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid #f1f5f9; vertical-align: top; }
.bhc-table th { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #6b7280; background: #f8fafc; }
.bhc-table td:first-child { font-weight: 700; color: #111827; word-break: break-word; }

@media (max-width: 640px) {
    .bhc { padding: 0; }
    .bhc-card { border-radius: 18px 18px 0 0; padding: 16px; max-height: 85vh; }
    .bhc-actions .bhc-btn { flex: 1 1 100%; }
    .bhc-close { position: absolute; right: 12px; top: 12px; }
    .bhc-card { position: relative; }
    .bhc-dl { grid-template-columns: 1fr; }
    .bhc-page { padding-top: 20px; }
    .bhc-page-title { font-size: 23px; }
    .bhc-table thead { display: none; }
    .bhc-table tr { display: block; padding: 8px 0; border-bottom: 1px solid #f1f5f9; }
    .bhc-table td { display: block; border: 0; padding: 2px 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .bhc-btn { transition: none; }
}
.bhc-ads-note { margin-top: 6px; font-size: 13px; }
