.consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    font-family: 'Poppins', sans-serif;
}

.consent-banner.active {
    display: block;
}

.consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.consent-text {
    flex: 1;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
}

.consent-text p {
    color: #333333;
}

.consent-text a {
    color: #0056b3;
    text-decoration: underline;
}

.consent-text a:hover {
    color: #004494;
}

.consent-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.consent-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.consent-btn.accept-all {
    background-color: #0056b3;
    color: #ffffff;
}

.consent-btn.accept-all:hover {
    background-color: #004494;
    color: #ffffff;
}

.consent-btn.manage-preferences {
    background-color: #f8f9fa;
    color: #0056b3;
    border: 2px solid #0056b3;
}

.consent-btn.manage-preferences:hover {
    background-color: #e9ecef;
    color: #004494;
}

.consent-btn.save-preferences {
    background-color: #0056b3;
    color: #ffffff;
    margin-top: 20px;
}

.consent-btn.save-preferences:hover {
    background-color: #004494;
    color: #ffffff;
}

.consent-preferences {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.consent-preferences.active {
    display: block;
}

.preference-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
}

.preference-item label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

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

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #007bff;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

@media (max-width: 768px) {
    .consent-content {
        flex-direction: column;
        text-align: center;
    }
    
    .consent-buttons {
        justify-content: center;
    }
    
    .preference-item {
        flex-direction: column;
        gap: 10px;
        text-align: left;
    }
} 