/*#cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.9);

    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 999999;
}*/

/*#cookie-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;*/

    /* KEY FIX for mobile */
/*    height: 100vh;
    width: 100vw;
    overflow: hidden;
}*/

#cookie-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    overflow: hidden;
}

#cookie-modal {
    background: #ffffff;

    width: 90%;
    max-width: 550px;

    padding: 35px;

    border-radius: 16px;

    box-shadow: 0 15px 40px rgba(0,0,0,0.35);

    font-family: Arial, sans-serif;

    max-height: 90vh;
    overflow-y: auto;
}

#cookie-modal h2 {
    margin-top: 0;
    color: #222;
}

#cookie-modal p {
    color: #444;
    line-height: 1.6;
}

#cookie-modal a {
    color: #7b2cff;
    font-weight: bold;
    text-decoration: none;
}

.cookie-buttons {
    margin-top: 30px;
    text-align: right;
}

#accept-cookies {
    background: #7b2cff;
    color: white;

    border: none;

    padding: 14px 24px;

    border-radius: 10px;

    cursor: pointer;

    font-weight: bold;
}

#accept-cookies:hover {
    opacity: 0.9;
}