/* Çerez izin bildirimi — tema bağımsız */
.zp-cc-banner {
    position: fixed;
    z-index: 2147483000;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #1a1a1a;
    box-sizing: border-box;
}

.zp-cc-banner *,
.zp-cc-modal * {
    box-sizing: border-box;
}

.zp-cc-banner--bar {
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
    padding: 16px 20px;
}

.zp-cc-banner--box {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: 420px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    padding: 20px;
}

@media (min-width: 768px) {
    .zp-cc-banner--bar {
        padding: 20px 28px;
    }
    .zp-cc-banner--box {
        left: 24px;
        bottom: 24px;
    }
}

.zp-cc-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 900px) {
    .zp-cc-banner--bar .zp-cc-banner-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.zp-cc-banner-title {
    display: block;
    font-size: 16px;
    margin: 0 0 6px;
}

.zp-cc-banner-message {
    margin: 0;
    color: #444;
}

.zp-cc-banner-policy {
    margin: 8px 0 0;
}

.zp-cc-policy-link {
    color: #0d6efd;
    text-decoration: underline;
}

.zp-cc-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex-shrink: 0;
}

.zp-cc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.zp-cc-btn--primary {
    background: #111;
    color: #fff;
    border-color: #111;
}

.zp-cc-btn--primary:hover {
    background: #333;
}

.zp-cc-btn--ghost {
    background: #fff;
    color: #111;
    border-color: #ccc;
}

.zp-cc-btn--ghost:hover {
    background: #f5f5f5;
}

.zp-cc-btn--link {
    background: transparent;
    color: #0d6efd;
    border-color: transparent;
    text-decoration: underline;
    font-weight: 500;
    min-height: auto;
    padding: 8px 12px;
}

body.zp-cookie-consent-modal-open {
    overflow: hidden;
}

.zp-cc-banner--bar {
    max-height: 50vh;
    overflow-y: auto;
}

/* Modal */
.zp-cc-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.zp-cc-modal[hidden],
.zp-cc-modal.is-closed {
    display: none !important;
}

.zp-cc-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.zp-cc-modal-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.zp-cc-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}

.zp-cc-modal-header h2 {
    margin: 0;
    font-size: 18px;
}

.zp-cc-modal-close {
    border: none;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #666;
    padding: 4px 10px;
    min-width: 40px;
    min-height: 40px;
    flex-shrink: 0;
    border-radius: 8px;
}

.zp-cc-modal-close:hover {
    background: #f0f0f0;
    color: #111;
}

.zp-cc-modal-body {
    padding: 16px 20px;
    overflow-y: auto;
}

.zp-cc-cat {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.zp-cc-cat:last-child {
    border-bottom: none;
}

.zp-cc-cat-head {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 600;
}

.zp-cc-cat-head input {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.zp-cc-cat-badge {
    margin-left: auto;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #666;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 999px;
}

.zp-cc-cat-desc {
    margin: 8px 0 0 28px;
    color: #555;
    font-size: 13px;
}

.zp-cc-modal-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    padding: 16px 20px;
    border-top: 1px solid #eee;
}
