/* Cookie同意提示框基础样式 */
.cookie-consent-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    left: 20px;
    max-width: 1800px;
    padding: 20px;
    background-color: #edf4f0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    font-family: 'Open Sans', sans-serif;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.cookie-consent-container.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-consent-container.left {
    right: auto;
}

.cookie-consent-container.right {
    left: auto;
}

.cookie-consent-container.center {
    left: 50%;
    transform: translateX(-50%) translateY(20px);
}

.cookie-consent-container.center.show {
    transform: translateX(-50%) translateY(0);
}

.cookie-consent-title {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

.cookie-consent-message {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
    color: #546e7a;
}

.cookie-consent-link {
    color: #3498db;
    text-decoration: none;
}

.cookie-consent-link:hover {
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-consent-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.cookie-consent-accept {
    background-color: #3498db;
    color: white;
}

.cookie-consent-accept:hover {
    background-color: #2980b9;
}

.cookie-consent-reject {
    background-color: #f5f5f5;
    color: #555;
}

.cookie-consent-reject:hover {
    background-color: #e0e0e0;
}

.cookie-consent-customize {
    background-color: transparent;
    color: #3498db;
    border: 1px solid #3498db;
}

.cookie-consent-customize:hover {
    background-color: rgba(52, 152, 219, 0.1);
}

.cookie-consent-preference {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.cookie-consent-preference h4 {
    margin-bottom: 10px;
    font-size: 14px;
    color: #2c3e50;
}

.cookie-consent-checkbox {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.cookie-consent-checkbox input {
    margin-right: 8px;
}

.cookie-consent-checkbox label {
    font-size: 13px;
    color: #546e7a;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .cookie-consent-container {
        bottom: 0;
        right: 0;
        left: 0;
        max-width: none;
        border-radius: 0;
    }
    
    .cookie-consent-buttons {
        flex-direction: column;
    }
    
    .cookie-consent-btn {
        flex: 1;
        text-align: center;
    }
}