#cookie-banner {
    position: fixed;
    z-index: 2000000;
    box-shadow: 0px 4px 10px rgb(63 63 68 / 40%);
    max-height: 90%;
    box-sizing: border-box;
    opacity: 1;
    padding: 32px;
    background-color: hsl(0deg, 0%, 100%, 100%);
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    border: 1px solid #000000;
    text-align: left;
    bottom: 5px;
    right: 5px;
    max-width: 650px;
    border-top-right-radius: 3px;
} 

#cookie-body h2 {
    text-transform: none;
}
#cookie-banner p {
    margin: 0;
    flex: 1;
}

#cookie-banner a {
    color: #000000;
    text-decoration: underline;
}

#cookie-buttons {
    display: flex;
    gap: 10px;
    margin-top:10px;
}

#cookie-buttons button {
    background: #ffffff;
    color: #000000;
    border: 1px solid #000000;
    padding: 8px 22px;
    font-size: 13px;
    cursor: pointer;
    border-radius: 0;
    min-width: 80px;
    text-align: center;
}

#cookie-buttons button:hover {
    background: #000000;
    color: #ffffff;
}

#cookie-body h2 {
    margin: 0 0 5px 0;
    font-size: 14px;
    font-weight: bold;
    text-transform: none;
}

#cookie-body p {
    margin: 0;
    flex: 1;
}

#cookie-body a {
    color: #000000;
    text-decoration: underline;
}

#cookie-buttons {
    display: flex;
    gap: 10px;
}

#cookie-buttons button {
    background: #ffffff;
    color: #000000;
    border: 1px solid #000000;
    padding: 8px 22px;
    font-size: 13px;
    cursor: pointer;
    border-radius: 0;
    min-width: 80px;
}

#cookie-buttons button:hover {
    background: #000000;
    color: #ffffff;
}

/* Overlay modale */
#cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.45);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

#cookie-modal {
    background: #ffffff;
    width: 100%;
    max-width: 580px;
    border-radius: 0;
}

#cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 24px;
    border-bottom: 1px solid #cccccc;
}

#cookie-modal-title {
    font-size: 15px;
    font-weight: bold;
}

#cookie-modal-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

#cookie-modal-actions button {
    font-size: 12px;
    padding: 6px 14px;
    border: 1px solid #000000;
    background: #ffffff;
    color: #000000;
    cursor: pointer;
    border-radius: 0;
}

#cookie-modal-save {
    background: #000000 !important;
    color: #ffffff !important;
}

#cookie-modal-actions button:hover {
    background: #000000 !important;
    color: #ffffff !important;
}

#cookie-modal-close {
    font-size: 20px;
    cursor: pointer;
    color: #666666;
    margin-left: 4px;
    line-height: 1;
}

#cookie-modal-intro {
    padding: 16px 24px;
    border-bottom: 1px solid #cccccc;
}

#cookie-modal-subtitle {
    font-size: 13px;
    font-weight: bold;
    margin: 0 0 4px 0;
}

#cookie-modal-desc {
    font-size: 12px;
    color: #666666;
    margin: 0;
}

.cookie-modal-category {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 24px;
    border-bottom: 1px solid #cccccc;
}

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

.cookie-modal-category input[type="checkbox"] {
    margin-top: 3px;
    accent-color: #000000;
    cursor: pointer;
}

.cookie-modal-category label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.cookie-cat-title {
    font-size: 13px;
    font-weight: bold;
    color: #000000;
}

.cookie-cat-desc {
    font-size: 12px;
    color: #666666;
}