@font-face {
    font-family: 'Montserrat UltraLight';
    src: url('../fonts/montserrat-ultralight.eot');
    src: url('../fonts/montserrat-ultralight.eot?#iefix') format('embedded-opentype'),
         url('../fonts/montserrat-ultralight.woff') format('woff'),
         url('../fonts/montserrat-ultralight.ttf') format('truetype'),
         url('../fonts/montserrat-ultralight.svg#montserratultra_light') format('svg');
    font-weight: normal;
    font-style: normal;
}
.cookie-hidden {
    display: none !important;
}

.cookie-banner {
    position: sticky !important;
    bottom: 24px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 999999 !important;
    width: min(580px, 94vw) !important;
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
    font-size: 14px !important;
    font-family: 'Montserrat UltraLight', sans-serif !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12) !important;
}

.cookie-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.45) !important;
    z-index: 999998 !important;
}
.cookie-banner h3 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.cookie-banner p {
    margin: 0 0 16px;
    color: #555555;
    line-height: 1.6;
    font-size: 13px;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-cookie-primary {
    background: #581d74;
    color: #ffffff;
    border: none;
    padding: 9px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
}

.btn-cookie-primary:hover {
    background: #005f8d;
}

.btn-cookie-refuse {
    background: #ffffff;
    color: #555555;
    border: 1px solid #cccccc;
    padding: 9px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
}

.btn-cookie-refuse:hover {
    background: #f5f5f5;
}

.btn-cookie-link {
    background: none;
    border: none;
    color: #0073aa;
    cursor: pointer;
    font-size: 13px;
    text-decoration: underline;
    padding: 0;
    margin-right: auto;
}

.btn-cookie-link:hover {
    color: #005f8d;
}

.cookie-back {
    background: none;
    border: none;
    color: #0073aa;
    cursor: pointer;
    font-size: 13px;
    padding: 0;
    margin-bottom: 12px;
    display: inline-block;
    text-decoration: underline;
}

.cookie-section {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
}

.cookie-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid #e8e8e8;
    background: #fafafa;
}

.cookie-row:last-child {
    border-bottom: none;
}

.cookie-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 6px;
    text-align: left;
    padding: 0;
}

.cookie-arrow {
    display: inline-block;
    transition: transform 0.2s;
    font-size: 10px;
    color: #888888;
}

.cookie-detail {
    padding: 10px 14px;
    background: #ffffff;
}

.cookie-detail table {
    width: 100%;
    font-size: 12px;
    border-collapse: collapse;
}

.cookie-detail td {
    padding: 6px 8px;
    border: 1px solid #e8e8e8;
    color: #555555;
    vertical-align: top;
}

.cookie-detail td:first-child {
    font-weight: 500;
    color: #1a1a1a;
    width: 30%;
}

.badge-always-on {
    font-size: 11px;
    color: #0f6e56;
    background: #e1f5ee;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
    font-weight: 500;
}

/* Toggle switch */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    flex-shrink: 0;
}

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

.slider {
    position: absolute;
    inset: 0;
    background: #cccccc;
    border-radius: 22px;
    transition: background 0.3s;
    cursor: pointer;
}

.slider::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    left: 3px;
    bottom: 3px;
    background: #ffffff;
    border-radius: 50%;
    transition: transform 0.3s;
}

input:checked + .slider {
    background: #0073aa;
}

input:checked + .slider::before {
    transform: translateX(18px);
}
.cookie-banner,
.cookie-banner h3,
.cookie-banner p,
.cookie-banner button,
.cookie-banner label,
.cookie-banner td,
.cookie-banner span,
.badge-always-on {
    font-family: 'Montserrat UltraLight', sans-serif;
}