/* ══════════════════════════════════════════════════
   cookie_consent.css — ZSM Digital Cookie Consent Banner
   ══════════════════════════════════════════════════ */

/* Cookie Consent Banner Styles */
    .cookie-banner {
position: fixed;
bottom: 0;
left: 0;
right: 0;
z-index: 10000;
padding: 0;
transform: translateY(100%);
transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
pointer-events: none;
    }

    .cookie-banner.visible {
transform: translateY(0);
pointer-events: auto;
    }

    .cookie-banner-inner {
max-width: 520px;
margin: 0 0 24px 24px;
background: rgba(12, 12, 14, 0.97);
backdrop-filter: blur(24px);
-webkit-backdrop-filter: blur(24px);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 16px;
padding: 28px 28px 24px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04);
    }

    .cookie-banner-icon {
width: 36px;
height: 36px;
background: rgba(255, 255, 255, 0.06);
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 16px;
font-size: 18px;
    }

    .cookie-banner h3 {
font-family: 'Inter', sans-serif;
font-size: 1rem;
font-weight: 600;
color: #fff;
margin-bottom: 8px;
letter-spacing: -0.01em;
    }

    .cookie-banner p {
font-family: 'Inter', sans-serif;
font-size: 0.85rem;
color: rgba(255, 255, 255, 0.45);
line-height: 1.6;
margin-bottom: 20px;
    }

    .cookie-banner p a {
color: rgba(255, 255, 255, 0.7);
text-decoration: none;
border-bottom: 1px solid rgba(255, 255, 255, 0.15);
transition: all 0.3s ease;
    }

    .cookie-banner p a:hover {
color: #fff;
border-color: rgba(255, 255, 255, 0.4);
    }

    .cookie-banner-buttons {
display: flex;
gap: 8px;
flex-wrap: wrap;
    }

    .cookie-btn {
font-family: 'Inter', sans-serif;
font-size: 0.82rem;
font-weight: 500;
padding: 10px 18px;
border-radius: 8px;
border: none;
cursor: pointer;
transition: all 0.3s ease;
letter-spacing: 0.01em;
    }

    .cookie-btn-accept {
background: #fff;
color: #000;
    }

    .cookie-btn-accept:hover {
background: #e5e5e5;
transform: translateY(-1px);
    }

    .cookie-btn-reject {
background: rgba(255, 255, 255, 0.06);
color: rgba(255, 255, 255, 0.7);
border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .cookie-btn-reject:hover {
background: rgba(255, 255, 255, 0.1);
color: #fff;
    }

    .cookie-btn-settings {
background: transparent;
color: rgba(255, 255, 255, 0.4);
padding: 10px 14px;
    }

    .cookie-btn-settings:hover {
color: rgba(255, 255, 255, 0.7);
    }

    /* Cookie Settings Modal */
    .cookie-modal-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.7);
z-index: 10001;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
    }

    .cookie-modal-overlay.visible {
opacity: 1;
visibility: visible;
    }

    .cookie-modal {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) scale(0.95);
z-index: 10002;
width: 90%;
max-width: 500px;
max-height: 85vh;
overflow-y: auto;
background: rgba(12, 12, 14, 0.99);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 20px;
padding: 32px;
box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
opacity: 0;
visibility: hidden;
transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .cookie-modal.visible {
opacity: 1;
visibility: visible;
transform: translate(-50%, -50%) scale(1);
    }

    .cookie-modal h3 {
font-family: 'Inter', sans-serif;
font-size: 1.15rem;
font-weight: 600;
color: #fff;
margin-bottom: 6px;
letter-spacing: -0.02em;
    }

    .cookie-modal > p {
font-family: 'Inter', sans-serif;
font-size: 0.85rem;
color: rgba(255, 255, 255, 0.4);
line-height: 1.6;
margin-bottom: 24px;
    }

    .cookie-category {
padding: 18px 0;
border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .cookie-category:last-of-type {
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
margin-bottom: 24px;
    }

    .cookie-category-header {
display: flex;
justify-content: space-between;
align-items: center;
    }

    .cookie-category-info h4 {
font-family: 'Inter', sans-serif;
font-size: 0.9rem;
font-weight: 500;
color: #fff;
margin-bottom: 4px;
    }

    .cookie-category-info p {
font-family: 'Inter', sans-serif;
font-size: 0.8rem;
color: rgba(255, 255, 255, 0.35);
line-height: 1.5;
    }

    /* Toggle Switch */
    .cookie-toggle {
position: relative;
width: 44px;
height: 24px;
flex-shrink: 0;
margin-left: 16px;
    }

    .cookie-toggle input {
opacity: 0;
width: 0;
height: 0;
    }

    .cookie-toggle-slider {
position: absolute;
inset: 0;
background: rgba(255, 255, 255, 0.1);
border-radius: 12px;
cursor: pointer;
transition: all 0.3s ease;
    }

    .cookie-toggle-slider::before {
content: '';
position: absolute;
width: 18px;
height: 18px;
left: 3px;
bottom: 3px;
background: rgba(255, 255, 255, 0.4);
border-radius: 50%;
transition: all 0.3s ease;
    }

    .cookie-toggle input:checked + .cookie-toggle-slider {
background: rgba(255, 255, 255, 0.25);
    }

    .cookie-toggle input:checked + .cookie-toggle-slider::before {
transform: translateX(20px);
background: #fff;
    }

    .cookie-toggle input:disabled + .cookie-toggle-slider {
opacity: 0.5;
cursor: not-allowed;
    }

    .cookie-toggle-label {
font-family: 'Inter', sans-serif;
font-size: 0.72rem;
color: rgba(255, 255, 255, 0.3);
text-transform: uppercase;
letter-spacing: 0.05em;
margin-left: 8px;
    }

    .cookie-modal-buttons {
display: flex;
gap: 8px;
    }

    .cookie-modal-buttons .cookie-btn {
flex: 1;
    }

    @media (max-width: 600px) {
.cookie-banner-inner {
    margin: 0 12px 12px;
    max-width: none;
    padding: 22px 20px 20px;
}

.cookie-banner-buttons {
    flex-direction: column;
}

.cookie-btn {
    text-align: center;
}

.cookie-modal {
    width: 94%;
    padding: 24px 20px;
}

.cookie-modal-buttons {
    flex-direction: column;
}
    }
