.cookies-banner { z-index:9999999; position:fixed; padding:24px; background:#0C1B33; width:360px; color:#b9bfc9; font-size:13px; transition:.3s; right:30px; bottom:30px; border-radius:10px; }
.cookies-banner p { line-height:1.5; color:#b9bfc9; }
.cookies-banner a { display:inline-block; margin-top:15px; color:#b9bfc9; }
.cookies-banner-btn-wrapper { margin-top:35px; display:flex; gap:12px; }
.cookies-settings, .shadow-bg { display:none; }


/* Base cookie banner styles */
.cookies-settings {
    border-radius: 10px;
    z-index: 99999999;
    background: #0C1B33;
    width: 100%;
    max-width: 575px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    padding: 45px 30px 25px;
    color: #B9BFC9;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    box-sizing: border-box;
}


.cookies-banner {
    padding: 24px 24px 22px;
    background-color: #0c1b33;
    width: 360px;
    color: #b9bfc9;
    font-size: 13px;
    transition: .3s;
    right: 30px;
    bottom: 30px;
    z-index: 9999999;
    position: fixed;
    border: 1px solid #ffffff42;
}

.cookies-banner p {
    line-height: 1.5;
    box-sizing: border-box;
    max-width: 260px;
    width: 100%;
    max-width: 100%;
    font-size: 13px;
    transition: .3s;
    white-space: normal;
    color: #b9bfc9;
}

.cookies-banner a {
    display: inline-block;
    margin-top: 15px;
    font-size: 13px;
    transition: .3s;
    white-space: normal;
    color: #b9bfc9;
	text-decoration: underline;
}

.cookies-banner-btn-wrapper {
    margin-top: 35px;
    gap: 12px;
    display: flex;
}

.cookies-banner.show {
    display: block;
}

.cookies-banner .basic-grid {
    height: 100%;
    align-items: center;
}

.cookies-banner button {
    padding: 12px 0;
    font-size: 18px;
    font-weight: 500;
    width: 100%;
    letter-spacing: -.18px;
}

.cookies-banner button:hover {
    opacity: .7;
}

/* Button styles */
#deny-cookies,
#open-cookie-settings {
    border: 1px solid #b9bfc9;
    color: #b9bfc9;
    background: 0 0;
}

#accept-cookies {
    background: #fff;
    border: 1px solid #fff;
	color: #0c1b33;
}

#close-cb {
    position: absolute;
    width: 30px;
    height: 30px;
    background: url("img/cookie-x.svg") center no-repeat;
    border: none;
    right: 24px;
    top: 19px;
}

/* Cookie settings popup styles */
.cookies-settings {
    /* Base styles for cookie settings popup */
}

.cookies-settings_seperator {
    background: #314F80;
    width: 100%;
    height: 1px;
}

.cookie-settings_title {
    color: #fff;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.24px;
}

.cookie-settings_buttons_wrap {
    display: flex;
    gap: 10px;
}

.cookie-settings_button {
    background: transparent;
    height: 40px;
    width: auto;
    padding: 0 20px;
    border-radius: 10px;
    border: solid 1px currentColor;
    color: #B9BFC9;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.16px;
    line-height: .9;
}

.cookie-settings_button:hover {
    opacity: .7;
}

.cookie-settings_button.white {
    color: #0C1B33;
    background: #fff;
}

/* Toggle switch styles */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #364f82;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    top: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #32D74C;
}

input:checked + .slider:before {
    transform: translateX(15px);
}

/* Cookie settings layout */
.cookies-settings-row {
    justify-content: space-between;
    display: flex;
}

.cookies-settings-flex-wrap {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.cookie-settings_text a {
    color: #B9BFC9;
}

#cookie-settings_save {
    /* Save button styles */
}


/* Mobile styles (from queries.css) */
@media only screen and (max-width: 1024px) {
    .cookies-banner p {
        max-width: 100%;
    }
}

@media only screen and (max-width: 767px) {
    .cookies-banner {
        width: auto;
        bottom: 15px;
        left: 15px;
        right: 15px;
    }
}

/* Cookie settings responsive */
@media only screen and (max-width: 991px) {
    .cookies-settings {
        max-width: 100%;
        bottom: 0;
        transform: translate(-50%,0);
        top: auto;
        font-size: 13px;
        border-radius: 10px 10px 0 0;
    }

    #cookie-settings_save {
        padding: 12px 24px;
        font-size: 18px;
        line-height: 1;
        height: 52px;
    }
}

@media only screen and (max-width: 450px) {
    .cookie-settings_button {
        font-size: 12px;
    }
}

/* French and German language adjustments */
html[lang="fr-FR"] .cookies-banner p,
html[lang="de-DE"] .cookies-banner p {
    font-size: 12px;
}

/* Shadow background for popups */
.shadow-bg {
    background-color: rgba(255, 255, 255, .3);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999999;
    position: fixed;
    display: none;
}
