.privacy-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px;
    z-index: 99999;
    display: none;
    transition: all 0.3s ease;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.privacy-bar.visible {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.privacy-bar-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.privacy-text {
    flex: 1;
    min-width: 250px;
    margin: 0 15px 10px 0;
}

.privacy-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.privacy-link {
    color: #4CAF50;
    text-decoration: underline;
}

.privacy-accept-btn {
    border: none;
    padding: 10px 20px;
    margin-left: 10px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 100px;
    font-weight: 500;
    font-size: 14px;
}

.primary-btn {
    background-color: #2E7D32;
    color: white;
    box-shadow: 0 2px 4px rgba(46, 125, 50, 0.3);
}

.primary-btn:hover {
    background-color: #1B5E20;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(46, 125, 50, 0.4);
}

.secondary-btn {
    background-color: #757575;
    color: white;
}

.secondary-btn:hover {
    background-color: #616161;
    transform: translateY(-1px);
}

.outline-btn {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.outline-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.privacy-close-btn {
    background-color: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    font-weight: normal;
    transition: all 0.3s ease;
    margin-left: 10px;
    min-width: 60px;
}

.privacy-close-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
}

.privacy-accept-btn:hover {
    transform: translateY(-1px);
}

.modal {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 10px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.cookies-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cookies-close {
    color: #aaa;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.cookies-close:hover {
    color: black;
}

.cookies-content {
    margin-bottom: 20px;
}

.cookies-option {
    margin-bottom: 15px;
}

.cookies-option input {
    margin-right: 10px;
}

.cookies-footer {
    display: flex;
    justify-content: flex-end;
}

.save-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .privacy-bar-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .privacy-text {
        margin: 0 0 15px 0;
    }
    
    .privacy-buttons {
        display: flex;
        gap: 5px;
        width: 100%;
    }

    .privacy-accept-btn {
        margin: 0;
        flex: 1;
        min-width: 90px;
    }

    .modal-content {
        width: 95%;
        margin: 25% auto;
    }
}