﻿.cookie-chip {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    font-family: system-ui, sans-serif;
}

.cookie-panel {
    display: none; /* dold som standard */
    background: #fff;
    color: #000;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
    width: 320px;
    max-width: 90vw;
}

.cookie-chip.open .cookie-panel {
    display: block;
}

#cookieToggle {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 24px;
    padding: 6px 12px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-label {
    font-size: 14px;
    color: #444;
    white-space: nowrap;
}

.btn-accept {
    background: #0057e7;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}

.btn-reset-consent {
    background: none;
    border: 1px solid #999;
    color: #333;
    padding: 8px 14px;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .btn-reset-consent:hover {
        background: #f0f0f0;
    }
