/* Cookie同意弹窗样式 */
.cookie-consent-modal {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    padding: 20px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
}

.cookie-consent-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.cookie-consent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.cookie-consent-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.cookie-consent-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.cookie-consent-content {
    margin-bottom: 20px;
    line-height: 1.6;
}

.cookie-consent-options {
    margin-bottom: 20px;
}

.cookie-option {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.cookie-option input[type="checkbox"] {
    margin-right: 10px;
}

.cookie-option label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.cookie-option-necessary {
    opacity: 0.7;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.cookie-btn-primary {
    background-color: var(--primary-color, #4CAF50);
    color: white;
}

.cookie-btn-primary:hover {
    background-color: var(--secondary-color, #388E3C);
}

.cookie-btn-secondary {
    background-color: #f1f1f1;
    color: #333;
}

.cookie-btn-secondary:hover {
    background-color: #ddd;
}

.cookie-btn-tertiary {
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
}

.cookie-btn-tertiary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Cookie设置按钮 */
.cookie-settings-button {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 8px 15px;
    font-size: 0.8rem;
    cursor: pointer;
    display: none;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
}

.cookie-settings-button:hover {
    background-color: #555;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .cookie-consent-actions {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        margin-bottom: 10px;
    }
}