/* 通知样式 */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: var(--border-radius);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.notification.success {
    background-color: rgba(76, 175, 80, 0.9);
}

.notification.error {
    background-color: rgba(244, 67, 54, 0.9);
}

.notification.info {
    background-color: rgba(33, 150, 243, 0.9);
}

/* Cookie Consent Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background-color: var(--surface-color);
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    opacity: 0;
    transition: bottom 0.5s ease, opacity 0.5s ease;
}

.cookie-banner.show {
    bottom: 0;
    opacity: 1;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 60%;
}

.cookie-text h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.cookie-text p {
    margin: 0;
    color: var(--text-secondary);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Responsive styles */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-buttons {
        margin-top: 1rem;
        width: 100%;
    }
    
    .cookie-buttons .btn {
        flex: 1;
    }
}

/* Notification Styles (if they don't exist already) */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    background-color: var(--surface-color);
    color: var(--text-primary);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s;
}

.notification.success {
    border-left: 4px solid var(--secondary-color);
}

.notification.error {
    border-left: 4px solid var(--error-color);
}

.notification.info {
    border-left: 4px solid var(--primary-color);
} 