/* Cookie Consent Banner */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    z-index: 9999;
}

.consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.consent-content p {
    margin: 0;
    flex: 1;
    min-width: 300px;
}

.consent-buttons {
    display: flex;
    gap: 1rem;
}

/* Preferences Center */
#preferences-center {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10000;
}

.preferences-content h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: #333;
}

.preference-group {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f8f8;
    border-radius: 4px;
}

.preference-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.preference-group p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Buttons */
button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

#accept-all {
    background: #4CAF50;
    color: white;
}

#accept-all:hover {
    background: #45a049;
}

#reject-all {
    background: #f44336;
    color: white;
}

#reject-all:hover {
    background: #da190b;
}

#save-preferences {
    background: #2196F3;
    color: white;
}

#save-preferences:hover {
    background: #0b7dda;
}

#close-preferences {
    background: #e0e0e0;
    color: #333;
}

#close-preferences:hover {
    background: #d1d1d1;
}

/* Links */
a {
    color: #2196F3;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Checkboxes */
input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .consent-content {
        flex-direction: column;
        text-align: center;
    }

    .consent-buttons {
        width: 100%;
        justify-content: center;
    }

    #preferences-center {
        width: 95%;
        padding: 1rem;
    }
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
} 