#cookieBanner {
    position: fixed;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: white;
    color: #333;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 9999;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

#cookieBanner.visible {
    top: 20px;
    opacity: 1;
}

#cookieBanner.hiding {
    top: -100%;
    opacity: 0;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cookie-header h3 {
    margin: 0;
    color: #333;
}

.cookie-settings {
    display: none;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 4px;
    margin: 1rem 0;
}

.cookie-settings.visible {
    display: block;
}

.cookie-option {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.cookie-option:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
}

.cookie-option p {
    margin: 0.5rem 0 0 1.7rem;
    font-size: 0.9em;
    color: #666;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.cookie-buttons button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
}

.primary-button {
    background: #007bff;
    color: white;
}

.secondary-button {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #dee2e6;
}

.settings-toggle {
    background: none;
    border: none;
    color: #007bff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
}

.settings-toggle:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    #cookieBanner {
        width: 95%;
        margin: 10px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
}
