.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 25, 66, 0.95); /* 使用网站主题色 #0a1942 */
    color: #fff;
    padding: 15px;
    z-index: 9999;
    display: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    padding: 5px 0;
    font-size: 14px;
    line-height: 1.6;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    transition: background-color 0.3s;
}

.accept-btn {
    background-color: #5a1b6c; /* 使用网站按钮主题色 */
    color: white;
}

.accept-btn:hover {
    background-color: #4a1559;
}

.decline-btn {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.decline-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        margin-top: 10px;
        justify-content: center;
    }
} 

/* Compact cookie card redesign */
.cookie-banner {
    position: static !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    padding: 18px !important;
    border: 0 !important;
    border-top: 1px solid rgba(255,255,255,0.14) !important;
    border-radius: 0 !important;
    background-color: rgba(16, 43, 71, 0.96) !important;
    box-shadow: none !important;
}

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

.cookie-content p {
    padding: 0 !important;
    color: #d8eaf1 !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
}

.cookie-buttons {
    justify-content: flex-end !important;
}

.cookie-btn {
    padding: 8px 16px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
}

.accept-btn {
    background-color: #1769aa !important;
}

.accept-btn:hover {
    background-color: #0f548c !important;
}

@media (max-width: 768px) {
    .cookie-banner {
        width: 100% !important;
    }

    .cookie-content {
        display: grid !important;
        text-align: left !important;
    }

    .cookie-buttons {
        justify-content: flex-start !important;
        margin-top: 0 !important;
    }
}
