.cookie-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 999999;
    overflow: auto;
}

.cookie-modal {
    position: relative;
    margin: 60px auto;
    width: 95%;
    max-width: 1200px;
    background: #fff;
    border-radius: 14px;
    padding: 28px 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
}

.cookie-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eee;
}

    .cookie-header h2 {
        font-size: 22px;
        font-weight: 600;
        color: #0b4ca0;
        margin: 0;
    }


.cookie-info h3 {
    font-size: 16px;
    margin-bottom: 6px;
    color: #0b4ca0;
}

.cookie-info p {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

.cookie-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 10px;
    transition: .2s;
}

    .cookie-category:hover {
        border-color: #cfd8ff;
        background: #fafbff;
    }

.cookie-category-title {
    font-size: 15px;
    font-weight: 600;
    color: #1f3a93;
    margin-bottom: 4px;
}

.cookie-category-desc {
    font-size: 13px;
    color: #666;
    max-width: 750px;
}

.switch {
    position: relative;
    width: 52px;
    height: 28px;
}

.slider {
    background: #cfcfcf;
    border-radius: 999px;
}

    .slider:before {
        height: 22px;
        width: 22px;
        left: 3px;
        top: 3px;
    }

.switch input:checked + .slider {
    background: #0b4ca0;
}

    .switch input:checked + .slider:before {
        transform: translateX(24px);
    }

.cookie-category input:disabled + .slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.btn-cookie {
    font-size: 13px;
    border-radius: 8px;
    padding: 10px 16px;
}

.cookie-container-new {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-top: 1px solid #eaeaea;
    padding: 20px 24px;
    font-family: 'Poppins', sans-serif, Arial;
    z-index: 99999;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

.cookie-top-row {
    margin-bottom: 10px;
}

.cookie-logo {
    font-weight: 900;
    font-size: 26px;
    color: #008e43;
    font-family: Arial, sans-serif;
}

.cookie-text-content {
    font-size: 14px;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: left;
}

.cookie-buttons-row {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.btn-cookie-new {
    flex: 1;
    max-width: 280px;
    min-width: 200px;
    background-color: #0d5cb6;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    text-align: center;
}

    .btn-cookie-new:hover {
        background-color: #0a468a;
    }

    .btn-cookie-new:active {
        transform: scale(0.98);
    }

body.cookie-blocked {
    overflow: hidden !important;
}

    body.cookie-blocked > * {
        pointer-events: none !important;
    }

    body.cookie-blocked::after {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 9999;
        pointer-events: auto;
    }

#cookieBanner,
#cookieBanner *,
.cookie-container-new,
.cookie-container-new * {
    pointer-events: auto !important;
}

.cookie-company-logo {
    height: 40px; 
    width: auto; 
    max-width: 180px;
    object-fit: contain;
    display: block;
    margin-bottom: 5px;
}
.cookie-header {
    position: relative;
}

#cookieConsentId {
    position: absolute;
    top: 2px;
    right: 0;
    color: #0b4ca0;
    font-weight: 600;
    font-size: 14px;
    font-family: inherit;
}

.btn-cookie.primary {
    background-color: #0d5cb6;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color .2s ease;
}

    .btn-cookie.primary:hover {
        background-color: #0a468a;
    }