﻿#gdpr-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 330px;
    height: auto;
    background-color: #f9f9f9;
    border: 6px solid #1F386F;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1000000;
    border-radius: 20px;
    padding: 20px;
}

.gdpr-header-wrapper {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-weight: bold !important;
}

.header-text {
    font-family: 'Assistant', sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #1F386F !important;
}

#close-popup {
    background: none !important;
    border: none !important;
    font-size: 20px !important;
    cursor: pointer !important;
    padding: 0 !important;
    line-height: 1 !important;
}

#close-popup i {
    color: #1F386F !important;
}

.gdpr-body {
    flex-grow: 1 !important;
    margin: 10px 0 !important;
    font-family: 'Assistant', sans-serif !important;
    font-size: 18px !important;
    color: #333 !important;
    line-height: 1.4em !important;
}

.privacy-link {
    text-decoration: underline!important;
}

.gdpr-footer {
    text-align: right !important;
}

#accept-btn {
    padding: 5px 10px !important;
    background-color: rgba(31, 56, 111, 0.77) !important;
    color: white !important;
    border: none !important;
    cursor: pointer !important;
    border-radius: 20px !important;
    font-family: 'Assistant', sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    min-width: 100px !important;
}

/* Responsive */
@media screen and (max-width: 1181px) {
    .header-text, #accept-btn, .gdpr-body {
        font-family: 'Assistant', sans-serif !important;
        font-size: 16px !important;
    }

    #close-popup {
        font-size: 18px !important;
    }

    #gdpr-popup {
        width: 60% !important;
        right: 10px;
        bottom: 10px; /* still pinned to bottom */
        max-width: 400px; /* optional limit */
        border: 4px solid #1F386F;
        padding: 10px;
    }
}

@media screen and (max-width: 600px) {

    #gdpr-popup {
        position: fixed;
        bottom: -1px;
        left: 0;
        right: 0;
        width: 100vw!important;       /* full viewport width */
        max-width: none;    /* remove max-width */
        border: none;
        border-radius: 0;
        padding: 15px;
        box-sizing: border-box; /* include padding in width */
    }

    .lock-icon {
        display: none;
    }

    .header-text, #accept-btn, .gdpr-body {
        font-family: 'Assistant', sans-serif !important;
        font-size: 15px !important;
    }

    .gdpr-body br {
        display: none;
    }

    #close-popup {
        font-size: 16px !important;
    }

    #accept-btn {
        min-width: 60px;
        width: 100%;
        height: 30px;
    }
}
