﻿/* ✅ General Styles */
.cookie-banner,
.cookie-settings-overlay {
    font-family: Arial, sans-serif;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    color: #333;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 10000;
}

/* ✅ Banner Styles */
.cookie-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f9f9f9;
    color: #111;
    font-size: 14px;
}
.cookie-banner-content {
    padding: 15px 20px;
    font-family: 'NotoSansLight300',Arial,sans-serif;
}
    .cookie-banner p {
        margin: 0;
        font-size: 14px;
        flex-grow: 1;
    }
    .cookie-banner p.strong {
        font-family:'NotoSansMedium500',Arial,sans-serif;
        font-weight: 500;
    }

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-button {
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
    transition: background 0.3s ease;
    font-family: 'NotoSansLight300',Arial,sans-serif;
}

    .cookie-button.primary {
        background: #222;
        color: white;
    }

        .cookie-button.primary:hover {
            background: #444;
        }

    .cookie-button.secondary {
        background: #666;
        color: white;
    }

        .cookie-button.secondary:hover {
            background: #888;
        }

/* ✅ Fullscreen Settings Overlay */
.cookie-settings-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    align-items: center;
    justify-content: center;
}

/* ✅ Cookie Settings Container */
.cookie-settings-content {
    background: white;
    padding: 25px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    text-align: left;
}

    /* ✅ Header & Description */
    .cookie-settings-content h2 {
        font-size: 20px;
        font-weight: bold;
        margin-bottom: 10px;
        color: #222;
    }

    .cookie-settings-content p {
        font-size: 14px;
        color: #555;
        margin-bottom: 15px;
    }

/* ✅ Category Styles */
.cookie-category {
    text-align: left;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

    .cookie-category:last-child {
        border-bottom: none;
    }

    .cookie-category h3 {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 15px;
        font-weight: bold;
        color: #333;
        margin-bottom: 5px;
    }

    /* ✅ Toggle Switch Styling */
    .cookie-category label {
        display: flex;
        align-items: center;
        font-size: 14px;
        font-weight: bold;
        cursor: pointer;
    }

    /* ✅ Custom Toggle Switch */
    .cookie-category input[type="checkbox"] {
        appearance: none;
        width: 40px;
        height: 20px;
        background: #ccc;
        border-radius: 15px;
        position: relative;
        outline: none;
        cursor: pointer;
        transition: background 0.3s;
        margin-right: 10px;
    }

        .cookie-category input[type="checkbox"]:checked {
            background: #4caf50;
        }

        .cookie-category input[type="checkbox"]::before {
            content: "";
            position: absolute;
            width: 18px;
            height: 18px;
            background: white;
            border-radius: 50%;
            top: 1px;
            left: 2px;
            transition: left 0.3s;
        }

        .cookie-category input[type="checkbox"]:checked::before {
            left: 20px;
        }

/* ✅ Save & Reject Buttons */
.cookie-settings-content .cookie-button {
    margin-top: 20px;
    width: 100%;
}

/* ✅ Mobile Friendly */
@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        margin-top: 10px;
        width: 100%;
    }

    .cookie-button {
        width: 100%;
    }

    .cookie-settings-content {
        width: 95%;
    }
}
