/* Cookie同意弹窗样式 */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    font-family: 'Arial', sans-serif;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-consent.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-content {
    text-align: center;
}

.cookie-content h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.4rem;
}

.cookie-content p {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
}

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

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cookie-btn.accept {
    background-color: #4CAF50;
    color: white;
}

.cookie-btn.accept:hover {
    background-color: #45a049;
}

.cookie-btn.reject {
    background-color: #f44336;
    color: white;
}

.cookie-btn.reject:hover {
    background-color: #da190b;
}

/* 在小屏幕上调整按钮布局 */
@media (max-width: 600px) {
    .cookie-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .cookie-btn {
        width: 100%;
    }
}