/* Bibliography Section Styles */
.bibliography-section {
    padding: 8px 0;
}

.citation-card {
    background: #F8F9FA;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    position: relative;
    overflow: hidden;
}

.citation-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(180deg, #0B2FE6 0%, #018339 100%);
    transform: scaleY(0);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}

.citation-card:hover {
    background: white;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    transform: translateX(4px);
}

.citation-card:hover::before {
    transform: scaleY(1);
}

.citation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.citation-format {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0;
    display: flex;
    align-items: center;
}

.citation-format i {
    color: #0B2FE6;
}

.btn-copy {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #666666;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.32, 0.72, 0, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-copy:hover {
    background: #0B2FE6;
    color: white;
    border-color: #0B2FE6;
    transform: scale(1.05);
}

.btn-copy i {
    font-size: 1rem;
}

.citation-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #1A1A1A;
    font-family: 'Georgia', 'Times New Roman', serif;
    padding: 8px 0;
    user-select: all;
}

.citation-content em {
    font-style: italic;
}

/* Responsive para bibliografía */
@media (max-width: 768px) {
    .citation-card {
        padding: 16px;
    }

    .citation-format {
        font-size: 1rem;
    }

    .citation-content {
        font-size: 0.95rem;
    }
}