/* IZ Cookie Consent — GDPR/KVKK uyumlu banner + tercih paneli */
.iz-cc { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9000;
    background: #fff; color: #0a1929;
    border-radius: 16px; box-shadow: 0 24px 60px rgba(2, 30, 60, .25);
    padding: 22px 24px; max-width: 980px; margin: 0 auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    transform: translateY(120%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.iz-cc.is-open { transform: translateY(0); }
.iz-cc__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.iz-cc__icon { width: 38px; height: 38px; border-radius: 50%;
    background: linear-gradient(135deg, #00457c, #00b4d8); color: #fff;
    display: grid; place-items: center; font-size: 18px; flex-shrink: 0;
}
.iz-cc__title { font-size: 1.05rem; font-weight: 700; margin: 0; }
.iz-cc__body { font-size: .92rem; color: #1a2b3d; line-height: 1.55; margin: 0 0 14px; }
.iz-cc__body a { color: #0072b5; text-decoration: underline; }
.iz-cc__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.iz-cc__btn { font: inherit; cursor: pointer; padding: 11px 20px; border-radius: 999px;
    border: 1px solid #e6ebf2; font-weight: 600; font-size: .9rem;
    background: #fff; color: #0a1929; transition: background .2s, transform .2s, border-color .2s;
}
.iz-cc__btn:hover { transform: translateY(-1px); }
.iz-cc__btn--primary { background: linear-gradient(135deg, #002a4a, #0072b5); color: #fff; border-color: transparent; }
.iz-cc__btn--primary:hover { background: linear-gradient(135deg, #00457c, #00b4d8); }
.iz-cc__btn--ghost { background: #f5f7fb; }
.iz-cc__btn--link { background: transparent; border-color: transparent; padding: 11px 12px; color: #5a6a7d; }
.iz-cc__btn--link:hover { color: #00457c; }

/* Tercih paneli (modal) */
.iz-cc-modal { position: fixed; inset: 0; z-index: 9100;
    background: rgba(10, 25, 41, .55); backdrop-filter: blur(6px);
    display: none; align-items: center; justify-content: center; padding: 16px;
}
.iz-cc-modal.is-open { display: flex; }
.iz-cc-modal__card { background: #fff; border-radius: 18px;
    width: 100%; max-width: 560px; max-height: 92vh; overflow: auto;
    padding: 28px 26px; box-shadow: 0 32px 80px rgba(2, 30, 60, .35);
}
.iz-cc-modal__title { font-size: 1.2rem; font-weight: 700; margin: 0 0 6px; color: #0a1929; }
.iz-cc-modal__lead { font-size: .9rem; color: #5a6a7d; margin: 0 0 18px; }
.iz-cc-cat { border: 1px solid #e6ebf2; border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }
.iz-cc-cat__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.iz-cc-cat__name { font-weight: 700; color: #002a4a; font-size: .98rem; }
.iz-cc-cat__desc { font-size: .85rem; color: #5a6a7d; margin: 6px 0 0; line-height: 1.5; }
.iz-cc-cat--locked { background: #f5f7fb; }
.iz-cc-cat__pill { font-size: .72rem; font-weight: 700; color: #00457c;
    background: #caf0f8; padding: 4px 10px; border-radius: 999px;
}
.iz-cc-switch { position: relative; display: inline-block; width: 42px; height: 24px; flex-shrink: 0; }
.iz-cc-switch input { opacity: 0; width: 0; height: 0; }
.iz-cc-switch__slider { position: absolute; cursor: pointer; inset: 0;
    background: #cbd5e1; border-radius: 999px; transition: .25s;
}
.iz-cc-switch__slider::before { content: ""; position: absolute; left: 3px; top: 3px;
    width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: .25s;
}
.iz-cc-switch input:checked + .iz-cc-switch__slider { background: #00457c; }
.iz-cc-switch input:checked + .iz-cc-switch__slider::before { transform: translateX(18px); }
.iz-cc-switch input:disabled + .iz-cc-switch__slider { background: #94a3b8; cursor: not-allowed; }
.iz-cc-modal__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; justify-content: flex-end; }

@media (max-width: 640px) {
    .iz-cc { left: 8px; right: 8px; bottom: 8px; padding: 18px 18px; }
    .iz-cc__actions { flex-direction: column; }
    .iz-cc__btn { width: 100%; text-align: center; }
}
