/* Digilancer Freeio — GDPR cookie banner (ihavecookies markup) */

#gdpr-cookie-message {
    position: fixed;
    right: 24px;
    bottom: 24px;
    left: auto;
    max-width: min(420px, calc(100% - 32px));
    margin: 0;
    padding: 20px 22px 18px;
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    z-index: 10040;
    font-family: var(--title-font-family, "DM Sans", sans-serif);
    color: #222;
}

#gdpr-cookie-message h4 {
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    color: #222;
    margin: 0 28px 8px 0;
}

#gdpr-cookie-message h5 {
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    margin: 0 0 10px;
    text-decoration: none;
}

#gdpr-cookie-message p,
#gdpr-cookie-message ul {
    font-family: inherit;
    font-size: 13px;
    line-height: 1.55;
    color: #6b7177;
    margin: 0;
}

#gdpr-cookie-message a {
    color: var(--main-color-one, #5BBB7B);
    border-bottom: 1px solid transparent;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease;
}

#gdpr-cookie-message a:hover {
    color: #222;
    border-bottom-color: #222;
}

#gdpr-cookie-message #gdpr-cookie-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #6b7177;
    cursor: pointer;
    line-height: 1;
}

#gdpr-cookie-message #gdpr-cookie-close:hover {
    background: #f3f4f6;
    color: #222;
}

#gdpr-cookie-message .gdpr-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

#gdpr-cookie-message button,
button#ihavecookiesBtn {
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    border-radius: 8px !important;
    padding: 8px 14px !important;
    margin: 0 !important;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease !important;
}

#gdpr-cookie-message .gdpr-btn-group button:nth-child(1) {
    background: var(--main-color-one, #5BBB7B) !important;
    border: 1px solid var(--main-color-one, #5BBB7B) !important;
    color: #fff !important;
}

#gdpr-cookie-message .gdpr-btn-group button:nth-child(1):hover {
    background: #222 !important;
    border-color: #222 !important;
    color: #fff !important;
}

#gdpr-cookie-message .gdpr-btn-group button:nth-child(2),
#gdpr-cookie-message .gdpr-btn-group button:nth-child(3) {
    background: #fff !important;
    border: 1px solid #d1d5db !important;
    color: #6b7177 !important;
}

#gdpr-cookie-message .gdpr-btn-group button:nth-child(2):hover,
#gdpr-cookie-message .gdpr-btn-group button:nth-child(3):hover {
    background: #f8f9fd !important;
    border-color: #c4c8ce !important;
    color: #222 !important;
}

#gdpr-cookie-message .gdpr-cookie-types h5 {
    font-size: 15px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    margin-bottom: 12px !important;
}

#gdpr-cookie-message .gdpr-type-title-wrap h6 {
    font-size: 14px;
    font-weight: 500;
    color: #222;
}

#gdpr-cookie-message .gdpr-slider:before {
    background-color: #fff;
}

#gdpr-cookie-message input:checked + .gdpr-slider {
    background-color: var(--main-color-one, #5BBB7B);
}

#gdpr-cookie-message input:focus + .gdpr-slider {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--main-color-one, #5BBB7B) 22%, transparent);
}

@media (max-width: 575px) {
    #gdpr-cookie-message {
        right: 16px;
        left: 16px;
        bottom: 16px;
        max-width: none;
    }
}
