/* =========================================================
   COOKIE CONSENT - RING STYLE
   ========================================================= */

.eupopup-container {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999999;
    display: none;
    width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    color: #172033;
    border-top: 1px solid #d9d9d9;
    padding: 15px 48px;
    font-family: inherit;
    font-size: 17px;
    line-height: 1.7;
    text-align: left;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   BANNER INNER CONTENT
   ========================================================= */

.eupopup-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    max-width: 1400px;
    margin: 0 auto;
}

.eupopup-message {
    flex: 1;
    min-width: 0;
}

.eupopup-body {
    color: #172033;
    font-size: 17px;
    line-height: 1.7;
    margin: 0;
}

    .eupopup-body a {
        color: #172033;
        text-decoration: underline;
        font-weight: 600;
    }


/* =========================================================
   BUTTONS
   ========================================================= */

.eupopup-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    padding: 0;
    margin: 0;
}

.eupopup-button {
    box-sizing: border-box;
    height: 64px;
    padding: 0 28px;
    border-radius: 5px;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}


/* Manage Settings */

.eupopup-button_2 {
    order: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111111;
    background: #ffffff;
    border: 1px solid #111111;
    text-decoration: none;
}

    .eupopup-button_2:hover,
    .eupopup-button_2:focus {
        color: #111111;
        background: #f5f5f5;
        text-decoration: none;
    }


/* Got it */

.eupopup-button_1 {
    order: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: #111111;
    border: 1px solid #111111;
    font-weight: 700;
}

    .eupopup-button_1:hover,
    .eupopup-button_1:focus {
        color: #ffffff;
        background: #292929;
        border-color: #292929;
    }


/* Hide old close X */

.eupopup-closebutton {
    display: none !important;
}


/* =========================================================
   MANAGE COOKIE SETTINGS OVERLAY
   ========================================================= */

.eupopup-settings-overlay {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 10000000 !important;
    display: none;
    background: rgba(0, 0, 0, 0.58);
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden !important;
}


/* =========================================================
   MODAL
   ========================================================= */

.eupopup-settings-modal {
    position: relative !important;
    width: 100% !important;
    max-width: 810px !important;
    height: calc(100vh - 40px) !important;
    height: calc(100dvh - 40px) !important;
    max-height: calc(100vh - 40px) !important;
    max-height: calc(100dvh - 40px) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.30);
    color: #172033;
    box-sizing: border-box;
}


/* =========================================================
   HEADER
   ========================================================= */

.eupopup-settings-header {
    position: relative !important;
    flex: 0 0 70px !important;
    height: 70px !important;
    min-height: 70px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 65px 0 20px !important;
    box-sizing: border-box;
    border-bottom: 1px solid #dddddd;
    font-size: 21px;
    font-weight: 700;
    background: #ffffff;
    z-index: 5;
}


/* =========================================================
   CLOSE BUTTON
   ========================================================= */

.eupopup-settings-close {
    position: absolute !important;
    right: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    border: 1px solid #d5d5d5 !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: #333333 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 26px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    text-align: center !important;
    cursor: pointer !important;
    z-index: 20 !important;
    opacity: 1 !important;
}

    .eupopup-settings-close:hover,
    .eupopup-settings-close:focus {
        background: #f3f3f3 !important;
        border-color: #aaaaaa !important;
        color: #111111 !important;
        outline: none !important;
    }

    .eupopup-settings-close:active {
        background: #e8e8e8 !important;
    }


/* =========================================================
   BODY
   ONLY THIS AREA SCROLLS
   ========================================================= */

.eupopup-settings-body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    padding: 38px 50px 25px;
    box-sizing: border-box;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}


/* =========================================================
   FOOTER
   ========================================================= */

.eupopup-settings-footer {
    flex: 0 0 auto !important;
    display: flex;
    justify-content: flex-end;
    padding: 13px 50px;
    border-top: 1px solid #dddddd;
    background: #ffffff;
    box-sizing: border-box;
    z-index: 5;
}


    .eupopup-settings-close:hover,
    .eupopup-settings-close:focus {
        background: #f3f3f3 !important;
        border-color: #aaaaaa !important;
        color: #111111 !important;
        outline: none !important;
    }

    .eupopup-settings-close:active {
        background: #e8e8e8 !important;
    }


/* =========================================================
   MOBILE CLOSE BUTTON
   ========================================================= */

@media screen and (max-width: 767px) {

    .eupopup-settings-close {
        right: 10px !important;
        width: 42px !important;
        height: 42px !important;
        font-size: 27px !important;
    }
}




/* Icon */

.eupopup-settings-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    color: #007ac3;
}

    .eupopup-settings-icon svg {
        width: 100%;
        height: 100%;
    }


/* Title */

.eupopup-settings-title {
    margin: 0 0 22px;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
}


/* Description */

.eupopup-settings-description {
    margin: 0 0 28px;
    font-size: 16px;
    line-height: 1.7;
    color: #27364d;
}


/* =========================================================
   COOKIE CATEGORY
   ========================================================= */

.eupopup-cookie-category {
    padding: 24px 0;
    border-top: 1px solid #dddddd;
}

    .eupopup-cookie-category:last-child {
        border-bottom: 1px solid #dddddd;
    }

.eupopup-category-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.eupopup-category-title-wrap {
    flex: 1;
}

.eupopup-category-title {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
}

.eupopup-category-description {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #34445b;
}

.eupopup-category-status {
    margin-top: 12px;
    color: #007ac3;
    font-size: 15px;
    font-weight: 700;
}


/* =========================================================
   TOGGLE
   ========================================================= */

.eupopup-toggle {
    position: relative;
    flex-shrink: 0;
    width: 62px;
    height: 36px;
    margin-top: 5px;
}

    .eupopup-toggle input {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
    }

.eupopup-toggle-slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    background: #c9c9c9;
    border-radius: 36px;
    transition: .2s;
}

    .eupopup-toggle-slider:before {
        content: "";
        position: absolute;
        width: 28px;
        height: 28px;
        left: 4px;
        top: 4px;
        background: #ffffff;
        border-radius: 50%;
        box-shadow: 0 1px 3px rgba(0,0,0,.25);
        transition: .2s;
    }

.eupopup-toggle input:checked + .eupopup-toggle-slider {
    background: #007ac3;
}

    .eupopup-toggle input:checked + .eupopup-toggle-slider:before {
        transform: translateX(26px);
    }


/* Operational cookie */

.eupopup-category-operational {
    padding-bottom: 0;
}


/* =========================================================
   SAVE SETTINGS
   ========================================================= */



.eupopup-save-settings {
    min-width: 250px;
    height: 46px;
    padding: 0 28px;
    background: #ffffff;
    border: 1px solid #111111;
    border-radius: 5px;
    color: #111111;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}

    .eupopup-save-settings:hover,
    .eupopup-save-settings:focus {
        background: #f5f5f5;
    }


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 767px) {

    /* =====================================================
       COOKIE BANNER
       ===================================================== */

    .eupopup-container {
        padding: 15px 20px;
    }

    .eupopup-content {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .eupopup-body {
        font-size: 15px;
        line-height: 1.5;
    }

    .eupopup-buttons {
        width: 100%;
    }

    .eupopup-button {
        flex: 1;
        height: 48px;
        padding: 0 12px;
        font-size: 14px;
        border-radius: 7px;
    }


    /* =====================================================
       SETTINGS OVERLAY
       ===================================================== */

    .eupopup-settings-overlay {
        position: fixed !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        height: 100dvh !important;
        padding: 10px !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
    }


    /* =====================================================
       SETTINGS MODAL
       ===================================================== */

    .eupopup-settings-modal {
        width: 100% !important;
        max-width: none !important;
        height: calc(100vh - 20px) !important;
        height: calc(100dvh - 20px) !important;
        max-height: calc(100vh - 20px) !important;
        max-height: calc(100dvh - 20px) !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        border-radius: 4px !important;
    }


    /* =====================================================
       HEADER
       ===================================================== */

    .eupopup-settings-header {
        flex: 0 0 62px !important;
        height: 62px !important;
        min-height: 62px !important;
        padding: 0 58px 0 15px !important;
        font-size: 18px !important;
        text-align: center;
    }


    /* =====================================================
       MOBILE CLOSE BUTTON
       ===================================================== */

    .eupopup-settings-close {
        right: 9px !important;
        width: 42px !important;
        height: 42px !important;
        font-size: 27px !important;
    }


    /* =====================================================
       SCROLLABLE BODY
       ===================================================== */

    .eupopup-settings-body {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        padding: 25px 20px 20px !important;
        max-height: none !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }


    /* =====================================================
       ICON
       ===================================================== */

    .eupopup-settings-icon {
        width: 58px;
        height: 58px;
        margin-bottom: 18px;
    }


    /* =====================================================
       TITLE
       ===================================================== */

    .eupopup-settings-title {
        margin: 0 0 22px;
        font-size: 23px;
        line-height: 1.3;
    }


    /* =====================================================
       DESCRIPTION
       ===================================================== */

    .eupopup-settings-description {
        margin: 0 0 25px;
        font-size: 14px;
        line-height: 1.7;
    }


    /* =====================================================
       CATEGORY
       ===================================================== */

    .eupopup-cookie-category {
        padding: 22px 0;
    }

    .eupopup-category-header {
        gap: 10px;
    }

    .eupopup-category-title {
        font-size: 16px;
        line-height: 1.4;
    }

    .eupopup-category-description {
        font-size: 14px;
        line-height: 1.6;
    }

    .eupopup-category-status {
        font-size: 14px;
    }


    /* =====================================================
       TOGGLE
       ===================================================== */

    .eupopup-toggle {
        width: 62px;
        height: 36px;
        flex-shrink: 0;
    }


    /* =====================================================
       FOOTER
       ===================================================== */

    .eupopup-settings-footer {
        flex: 0 0 auto !important;
        padding: 12px 20px !important;
        background: #ffffff;
    }

    .eupopup-save-settings {
        width: 100%;
        min-width: 0;
        height: 50px;
        font-size: 15px;
    }
}
