/* Alap beállítások */
#cookie-banner,
#cookie-settings {
    font-family: 'Poppins', Arial, sans-serif;
    box-sizing: border-box;
}

/* Cookie banner (alul fixen, mobilbarát) */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(173, 173, 173, 0.9);
    color: rgb(12, 12, 12);
    text-align: center;
    padding: 16px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
}

/* Gombok tároló */
.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/* Gombok alap stílus */
.cookie-buttons button {
    cursor: pointer;
    border: none;
    font-weight: bold;
    padding: 10px 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

/* Elfogadás gomb */
#acceptAll {
    background-color: #8f6a96;
    color: #efd4ff;
}

/* Testreszabás gomb */
#customize {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

/* Hover effekt */
.cookie-buttons button:hover {
    opacity: 0.8;
}

/* Cookie settings (felugró ablak, középen, reszponzív) */
#cookie-settings {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    background-color: #333;
    color: white;
    padding: 20px;
    border-radius: 10px;
    z-index: 10000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Kategóriák egyesével */
.cookie-category {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
    font-size: 14px;
}

/* Checkbox mérete */
.cookie-category input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Mentés gomb */
#saveSettings {
    background-color: #5c5c5c;
    color: #1a202c;
    font-weight: bold;
    cursor: pointer;
    border: none;
    padding: 10px 16px;
    border-radius: 5px;
    margin-top: 10px;
    transition: background-color 0.3s ease;
    width: 100%;
}

/* Hover */
#saveSettings:hover {
    background-color: #5c5c5c;
}

/* Cookie Overlay (kattintás blokkolása, ha nincs consent) */
#cookie-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    font-size: 18px;
    padding: 20px;
}


/* Mobil optimalizálás */
@media (max-width: 480px) {
    #cookie-banner {
        font-size: 12px;
        padding: 12px;
    }
    .cookie-buttons button {
        padding: 8px 12px;
    }
    #cookie-settings {
        width: 95%;
        padding: 15px;
    }
    #saveSettings {
        padding: 8px;
    }
}
