/* ===========================
   FIRMAPUAN COOKIE CONSENT
=========================== */
#fp-cb {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 999999;
    background: #fff;
    border-top: 3px solid #1a56db;
    box-shadow: 0 -4px 24px rgba(0,0,0,.12);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    color: #1f2937;
    opacity: 0;
    transition: opacity .3s ease;
}

.fp-cb-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
}

/* Ana banner */
#fp-cb-main .fp-cb-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.fp-cb-text {
    flex: 1;
    min-width: 260px;
}
.fp-cb-text strong { display: block; margin-bottom: 4px; font-size: 15px; }
.fp-cb-text p { margin: 0; color: #6b7280; font-size: 13px; line-height: 1.5; }

.fp-cb-link {
    background: none;
    border: none;
    color: #1a56db;
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
    padding: 0;
}

.fp-cb-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.fp-cb-btn {
    padding: 9px 20px;
    border-radius: 6px;
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: .15s;
    white-space: nowrap;
}
.fp-cb-btn-accept { background: #1a56db; color: #fff; }
.fp-cb-btn-accept:hover { background: #1e429f; }
.fp-cb-btn-reject { background: #f3f4f6; color: #374151; border: 1px solid #d1d5db; }
.fp-cb-btn-reject:hover { background: #e5e7eb; }

/* Panel */
#fp-cb-panel .fp-cb-wrap { padding-top: 20px; padding-bottom: 20px; }
#fp-cb-panel h3 { margin: 0 0 16px; font-size: 16px; }

.fp-cb-cats { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }

.fp-cb-cat {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 14px 16px;
}
.fp-cb-cat-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}
.fp-cb-cat-head > div { flex: 1; }
.fp-cb-cat strong { display: block; margin-bottom: 4px; }
.fp-cb-cat p { margin: 0; color: #6b7280; font-size: 12px; line-height: 1.5; }

.fp-cb-panel-btns { display: flex; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }

.fp-cb-legal { font-size: 12px; color: #9ca3af; margin: 0; }
.fp-cb-legal a { color: #6b7280; }

/* Toggle switch */
.fp-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    flex-shrink: 0;
}
.fp-toggle input { display: none; }
.fp-toggle-slider {
    width: 44px; height: 24px;
    background: #d1d5db;
    border-radius: 24px;
    position: relative;
    transition: .2s;
    flex-shrink: 0;
}
.fp-toggle-slider::after {
    content: '';
    position: absolute;
    width: 18px; height: 18px;
    background: #fff;
    border-radius: 50%;
    top: 3px; left: 3px;
    transition: .2s;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.fp-toggle input:checked + .fp-toggle-slider { background: #1a56db; }
.fp-toggle input:checked + .fp-toggle-slider::after { transform: translateX(20px); }
.fp-toggle-disabled .fp-toggle-slider { background: #6b7280; cursor: not-allowed; }
.fp-toggle-lbl { font-size: 11px; color: #6b7280; white-space: nowrap; }

/* Mobil */
@media (max-width: 640px) {
    #fp-cb-main .fp-cb-wrap { flex-direction: column; align-items: stretch; }
    .fp-cb-btns { flex-direction: column; }
    .fp-cb-btn { width: 100%; text-align: center; }
    .fp-cb-cat-head { flex-direction: column; }
}
