/* Citation card style */
.citation {
    background: #f7faff;
    padding: 20px;
    font-family: 'Courier New', Courier, monospace;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    position: relative; /* Ensure button can be positioned relative to this container */
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .video-container {
        flex-direction: column;
    }
}
/* 复制按钮 */
/* Citation card style */
.citation {
    background: #f7faff;
    padding: 20px;
    font-family: 'Courier New', Courier, monospace;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    position: relative; /* Ensure button can be positioned relative to this container */
}

/* Citation content with copy button */
.citation-content {
    position: relative; /* To position the copy button in the top right corner */
}

/* Copy button styling */
.copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 6px 10px;
    background-color: #58a6ff; /* Lighter blue */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.3s ease;
}

.copy-btn:hover {
    background-color: #4b96d8; /* Slightly darker blue */
}

.copy-btn:active {
    background-color: #3f7cb7; /* Even darker on click */
}

.copy-btn:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 115, 230, 0.3);
}
