/**
 * Cookie 同意提示样式
 */

.cookie-consent-banner {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background-color: #2c2c2c;
    color: #ffffff;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 99999 !important;
    display: none;
    animation: slideUp 0.3s ease-out;
    margin: 0 !important;
    transform: none !important;
}

.cookie-consent-banner.show {
    display: block;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-consent-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-consent-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
}

.cookie-consent-text a {
    color: #4a9eff;
    text-decoration: underline;
}

.cookie-consent-text a:hover {
    color: #6bb3ff;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-consent-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-consent-btn-decline {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.cookie-consent-btn-decline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cookie-consent-btn-accept {
    background-color: #e60012;
    color: #ffffff;
}

.cookie-consent-btn-accept:hover {
    background-color: #cc0010;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .cookie-consent-container {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent-text {
        text-align: center;
        font-size: 13px;
    }

    .cookie-consent-buttons {
        justify-content: center;
    }

    .cookie-consent-btn {
        flex: 1;
        padding: 12px 20px;
    }
}
