/* Çerez onayı kartı (partials/cookie-consent) */
.cc { position: fixed; left: 20px; bottom: 20px; z-index: 1000; width: min(400px, calc(100vw - 32px)); box-sizing: border-box; padding: 20px; border-radius: 16px; background: #fff; color: #1f2a4d; border: 1px solid #dfe7f3; border-top: 4px solid #005ae0; box-shadow: 0 18px 48px -12px rgba(20, 27, 56, .28); font-family: inherit; font-size: 14px; line-height: 1.55; }
.cc[hidden] { display: none; }
.cc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.cc-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #eaf2ff; color: #005ae0; flex-shrink: 0; }
.cc-title { margin: 0; font-size: 16px; font-weight: 700; color: #141b38; }
.cc-text { margin: 0 0 14px; color: #4a5372; }
.cc-text a { color: #005ae0; font-weight: 600; }
.cc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cc-btn { min-height: 44px; padding: 0 14px; border-radius: 10px; font: inherit; font-weight: 700; cursor: pointer; border: 1px solid transparent; transition: background .15s, border-color .15s; }
.cc-btn-soft { background: #eef3fb; color: #141b38; border-color: #d6e0f0; }
.cc-btn-soft:hover { background: #e2eaf7; }
.cc-btn-main { background: #005ae0; color: #fff; }
.cc-btn-main:hover { background: #004bc0; }
.cc-btn:focus-visible, .cc-manage:focus-visible { outline: 3px solid rgba(0, 90, 224, .35); outline-offset: 2px; }
.cc-manage { display: block; margin: 12px auto 0; border: 0; background: none; color: #4a5372; font: inherit; font-size: 13px; font-weight: 600; text-decoration: underline; cursor: pointer; }
.cc-save { width: 100%; margin-top: 4px; }
.cc.is-managing .cc-actions, .cc.is-managing .cc-manage { display: none; }
.cc-prefs { display: grid; gap: 10px; margin-bottom: 14px; }
.cc-prefs[hidden] { display: none; }
.cc-pref { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border-radius: 10px; background: #f6f9fe; border: 1px solid #e3eaf6; }
.cc-pref-name { font-weight: 700; color: #141b38; }
.cc-pref-desc { font-size: 12.5px; color: #5b6482; }
.cc-always { font-size: 12px; font-weight: 700; color: #15803d; white-space: nowrap; }
.cc-switch { position: relative; display: inline-block; width: 44px; height: 26px; flex-shrink: 0; cursor: pointer; }
.cc-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: inherit; }
.cc-slider { position: absolute; inset: 0; border-radius: 999px; background: #c5cfe0; transition: background .15s; }
.cc-slider::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .15s; }
.cc-switch input:checked + .cc-slider { background: #005ae0; }
.cc-switch input:checked + .cc-slider::after { transform: translateX(18px); }
.cc-switch input:focus-visible + .cc-slider { outline: 3px solid rgba(0, 90, 224, .35); outline-offset: 2px; }
.cc-switch input:disabled + .cc-slider { opacity: .5; }
.cc-switch input:disabled { cursor: not-allowed; }
.cc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 560px) { .cc { right: 8px; left: 8px; bottom: 8px; width: auto; } }
@media (prefers-reduced-motion: no-preference) { .cc:not([hidden]) { animation: cc-in .3s ease-out; } }
@keyframes cc-in { from { opacity: 0; transform: translateY(16px); } }
