/* Cookie overlay */
.cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.cookie-banner h3 {
    margin-bottom: 10px;
    color: #333;
}

.cookie-banner p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Settings panel */
.cookie-settings-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 8px;
    padding: 20px;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.cookie-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 5px;
}

.cookie-close-btn:hover {
    color: #333;
}

/* Cookie categories */
.cookie-category {
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f9f9f9;
}

.cookie-category-left {
    display: flex;
    align-items: center;
}

.cookie-category-left input[type="checkbox"] {
    margin-right: 10px;
    width: 16px;
    height: 16px;
}

.cookie-category-left label {
    font-weight: 500;
    font-size: 16px;
}

.toggle-details {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #007bff;
    padding: 5px 10px;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.toggle-details:hover {
    background-color: #f0f0f0;
}

.cookie-category-content {
    padding: 15px;
    border-top: 1px solid #eee;
    background: white;
}

.cookie-category-content p {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.5;
}

/* Cookie details */
.cookie-details {
    margin-top: 20px;
}

.cookie-detail {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.cookie-detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.cookie-detail-row:last-child {
    margin-bottom: 0;
}

.cookie-detail-label {
    font-weight: 500;
    color: #666;
    width: 30%;
}

.cookie-detail-value {
    color: #333;
    width: 65%;
    text-align: right;
}

/* Settings buttons */
.cookie-settings-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: flex-end;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-settings-panel {
        width: 95%;
        padding: 15px;
    }
    
    .cookie-settings-buttons {
        flex-direction: column;
    }
    
    .cookie-detail-row {
        flex-direction: column;
    }
    
    .cookie-detail-label,
    .cookie-detail-value {
        width: 100%;
        text-align: left;
    }
}
