/* COOKIE CONSENT BANNER */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #ddd;
    padding: 20px;
    z-index: 99999;
    font-family: system-ui, sans-serif;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
}

.cookie-consent-inner {
    max-width: 900px;
    margin: 0 auto;
}

.cookie-consent-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.cookie-consent-text {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 10px 18px;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    font-size: 15px;
}

.cookie-btn-accept {
    background: #0078ff;
    color: white;
}

.cookie-btn-reject {
    background: #e5e5e5;
    color: #333;
}

.cookie-btn-settings {
    background: #f4f4f4;
    color: #333;
}

/* PREFERENCES MODAL */
#cookie-preferences-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.55);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999;
}

.cookie-modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 600px;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.cookie-modal-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.cookie-category-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.cookie-category-label {
    font-size: 16px;
    font-weight: 500;
}

.cookie-category-description {
    font-size: 14px;
    color: #666;
    margin-top: 4px;
}

/* TOGGLE SWITCH */
.cookie-toggle {
    position: relative;
    width: 46px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .3s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-slider {
    background-color: #0078ff;
}

.cookie-toggle input:checked + .cookie-slider:before {
    transform: translateX(22px);
}

/* MODAL BUTTONS */
.cookie-modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.cookie-btn-save {
    background: #0078ff;
    color: white;
}

.cookie-btn-cancel {
    background: #e5e5e5;
    color: #333;
}