/* ===== COOKIE BANNER — ZenvClean ===== */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #fff;
    border-top: 3px solid #005bb5;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
    padding: 18px 24px;
    display: block;
    font-family: inherit;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
}
#cookie-banner.show {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.cookie-banner-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.cookie-banner-text {
    flex: 1;
    font-size: 13px;
    color: #6b7894;
    margin: 0;
    line-height: 1.6;
}
.cookie-banner-text a { color: #005bb5; text-decoration: underline; }

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

/* ===== BUTTONS — equal prominence ===== */
.cookie-btn {
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid #005bb5;
    transition: background .2s, color .2s;
    white-space: nowrap;
    font-family: inherit;
}
.cookie-btn-primary { background: #005bb5; color: #fff; }
.cookie-btn-primary:hover { background: #00427f; border-color: #00427f; }
.cookie-btn-secondary { background: #fff; color: #005bb5; }
.cookie-btn-secondary:hover { background: #f0f6ff; }

/* ===== MODAL ===== */
.cookie-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 100000;
}
.cookie-overlay.show { display: block; }

#cookie-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100001;
    background: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 540px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 40px rgba(0,0,0,0.2);
}
#cookie-modal.show { display: block; }

.cookie-modal-inner { padding: 32px; }
.cookie-modal-inner h2 {
    font-size: 20px;
    font-weight: 600;
    color: #010A44;
    margin-bottom: 10px;
}
.cookie-modal-inner > p { font-size: 13px; color: #6b7894; margin-bottom: 24px; }

.cookie-option {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid #eee;
}
.cookie-option-info strong { display: block; font-size: 14px; color: #010A44; margin-bottom: 4px; }
.cookie-option-info p { font-size: 12px; color: #6b7894; margin: 0; }
.cookie-always-on { font-size: 12px; color: #005bb5; font-weight: 600; white-space: nowrap; margin-top: 2px; }

/* Toggle switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 26px;
    flex-shrink: 0;
    margin-top: 2px;
}
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-toggle-slider {
    position: absolute;
    inset: 0;
    background: #ccc;
    border-radius: 26px;
    cursor: pointer;
    transition: background .2s;
}
.cookie-toggle-slider:before {
    content: '';
    position: absolute;
    width: 20px; height: 20px;
    left: 3px; top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform .2s;
}
.cookie-toggle input:checked + .cookie-toggle-slider { background: #005bb5; }
.cookie-toggle input:checked + .cookie-toggle-slider:before { transform: translateX(20px); }

.cookie-modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* ===== FOOTER LINK ===== */
.cookie-preferences-link {
    cursor: pointer;
    color: #6b7894;
    font-size: 13px;
    text-decoration: underline;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
}
.cookie-preferences-link:hover { color: #005bb5; }

.zk-footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
    align-items: center;
}
.zk-footer-legal a, .zk-footer-legal button {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
}
.zk-footer-legal a:hover, .zk-footer-legal button:hover { color: #fff; }

@media (max-width: 600px) {
    .cookie-banner-inner { flex-direction: column; align-items: flex-start; }
    .cookie-banner-actions { width: 100%; }
    .cookie-btn { flex: 1; text-align: center; }
}
