/*
 * SPDX-FileCopyrightText: 2026 The Khronos Group, Inc.
 * SPDX-License-Identifier: MIT AND Apache-2.0
 */

/* ===== Base font: one sans-serif family, regular weight ===== */
.klaro .cookie-notice,
.klaro .cookie-modal,
#gpc-honored-notice {
    font-family: Arial, Helvetica, sans-serif !important;
    font-weight: 400;
}

/* ===== Position banner on left ===== */
.klaro #klaro-cookie-notice {
    left: 20px !important;
    right: auto !important;
    background: rgba(20, 20, 20, 0.9) !important;
}

/* ===== Modal background ===== */
.klaro .cookie-modal .cm-modal {
    background: rgba(20, 20, 20, 0.9) !important;
}

/* ===== Body text ===== */
.klaro #klaro-cookie-notice .cn-body,
.klaro #klaro-cookie-notice .cn-body p,
.klaro .cookie-modal,
.klaro .cookie-modal p {
    font-size: 15px !important;
    line-height: 26px !important;
}

/* ===== Title (h4) - override parent site's global h4 ===== */
.klaro #klaro-cookie-notice .cn-body h4,
.klaro .cookie-modal h4 {
    font-family: inherit !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    color: inherit !important;
    margin-top: 0 !important;
    margin-bottom: 12.5px !important;
}

/* ===== Accept All buttons: grey ===== */
.klaro .cm-btn.cm-btn-success {
    background-color: #6b7280 !important;
    color: #fff !important;
    font-size: 13px !important;
}

.klaro .cm-btn.cm-btn-success:hover {
    background-color: #4b5563 !important;
}

/* ===== Decline / Accept Selected buttons: blue ===== */
.klaro .cm-btn.cm-btn-danger,
.klaro .cm-btn.cm-btn-info {
    background-color: #2563eb !important;
    color: #fff !important;
    font-size: 13px !important;
}

.klaro .cm-btn.cm-btn-danger:hover,
.klaro .cm-btn.cm-btn-info:hover {
    background-color: #1d4ed8 !important;
}

/* ===== Small banner button order: buttons left, link right ===== */
.klaro .cookie-notice .cn-ok {
    flex-direction: row-reverse !important;
    justify-content: flex-end !important;
}

.klaro .cookie-notice .cn-buttons {
    margin-right: auto;
}

/* ===== All links white and underlined ===== */
.klaro .cookie-notice a,
.klaro .cookie-notice .cn-learn-more,
.klaro .cookie-modal a {
    color: #ffffff !important;
    text-decoration: underline !important;
}

/* ===== Toggle switches: blue on, grey off ===== */
.klaro .cookie-modal .cm-list-input + .cm-list-label .slider {
    background-color: #9ca3af !important;
}

.klaro .cookie-modal .cm-list-input.required + .cm-list-label .slider,
.klaro .cookie-modal .cm-list-input:checked + .cm-list-label .slider {
    background-color: #2563eb !important;
}

/* ===== "Realized with Klaro" footer link ===== */
.klaro .cookie-modal .cm-powered-by a {
    color: #2563eb !important;
}

/* ===== GPC honoured notice ===== */
#gpc-honored-notice {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(20, 20, 20, 0.9);
    color: #fff;
    padding: 12px 40px 12px 16px;
    border-radius: 4px;
    font-size: 13px;
    z-index: 9998;
    max-width: 400px;
}

#gpc-honored-notice a {
    color: #ffffff;
    text-decoration: underline;
}

#gpc-honored-notice button {
    position: absolute;
    top: 6px;
    right: 8px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}
